Skip to content

Commit

Permalink
ci: Ignore hash in clnvm
Browse files Browse the repository at this point in the history
We currently iterate quite fast on gl flavoured versions. With this
commit we ignore the shasum of the downloaded cln binary. It would be
better if we check on a signature in the future.

Signed-off-by: Peter Neuroth <[email protected]>
  • Loading branch information
nepet committed Jul 9, 2024
1 parent a79eddd commit f9a4e49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ docker-image: ${REPO_ROOT}/docker/gl-testing/Dockerfile
--build-arg DOCKER_USER=$(shell whoami) \
--build-arg UID=$(shell id -u) \
--build-arg GID=$(shell id -g) \
--build-arg GL_TESTING_IGNORE_HASH=1 \
-t gltesting \
-f docker/gl-testing/Dockerfile \
.
Expand Down
4 changes: 3 additions & 1 deletion docker/gl-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,15 @@ RUN chmod a+rwx -R $CARGO_HOME
# Download all versions so they can be copied to our dev-container
FROM python-builder as cln-downloader

ARG GL_TESTING_IGNORE_HASH=0

RUN mkdir -p /opt/cln/
ENV CLNVM_CACHE_DIR=/opt/cln

ADD libs/cln-version-manager /repo/libs/cln-version-manager
RUN cd /repo/libs/cln-version-manager; python -m pip install -e .

RUN python -m clnvm get-all
RUN GL_TESTING_IGNORE_HASH=${GL_TESTING_IGNORE_HASH} python -m clnvm get-all

# -------------------------------------
# STAGE: bitcoin-downloader
Expand Down

0 comments on commit f9a4e49

Please sign in to comment.