From 87353cb77797b6a253e2938b7af09d888c3537a9 Mon Sep 17 00:00:00 2001 From: Dmitry Sinyavin Date: Tue, 13 Jun 2023 15:52:40 +0200 Subject: [PATCH] Patch CI for split out worker binaries --- scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile | 2 +- scripts/ci/gitlab/pipeline/build.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile b/scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile index 40dfe3949b32..128b802b7adc 100644 --- a/scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile +++ b/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/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index c631f1265002..28b08fa20d81 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/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