From ce76f6d3737800b870f4dc7f75b4b853c0c0422b Mon Sep 17 00:00:00 2001 From: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com> Date: Wed, 14 Jun 2023 11:55:41 +0200 Subject: [PATCH] Patch CI for split out worker binaries (#7360) --- .../scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile | 2 +- polkadot/scripts/ci/gitlab/pipeline/build.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/polkadot/scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile b/polkadot/scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile index 40dfe3949b3..128b802b7ad 100644 --- a/polkadot/scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile +++ b/polkadot/scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile @@ -33,7 +33,7 @@ RUN apt-get update && \ ln -s /data /polkadot/.local/share/polkadot # add polkadot binary to docker image -COPY ./polkadot /usr/local/bin +COPY ./polkadot ./polkadot-*-worker /usr/local/bin USER polkadot diff --git a/polkadot/scripts/ci/gitlab/pipeline/build.yml b/polkadot/scripts/ci/gitlab/pipeline/build.yml index c631f126500..28b08fa20d8 100644 --- a/polkadot/scripts/ci/gitlab/pipeline/build.yml +++ b/polkadot/scripts/ci/gitlab/pipeline/build.yml @@ -26,6 +26,8 @@ build-linux-stable: - mkdir -p ./artifacts - VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name - mv ./target/testnet/polkadot ./artifacts/. + - mv ./target/testnet/polkadot-prepare-worker ./artifacts/. 2 > /dev/null || true + - mv ./target/testnet/polkadot-execute-worker ./artifacts/. 2 > /dev/null || true - pushd artifacts - sha256sum polkadot | tee polkadot.sha256 - shasum -c polkadot.sha256 -- GitLab