From 23f63c654f56a5d861e69451b3e2b14cd0b74baa Mon Sep 17 00:00:00 2001 From: alvicsam Date: Fri, 4 Oct 2024 16:51:41 +0200 Subject: [PATCH] rm debug --- .github/workflows/integration-tests.yml | 31 +++++++++++++++++++ .../ci/docker/zombienet_injected.Dockerfile | 9 ------ 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 8605beb76..282a33cd4 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -74,3 +74,34 @@ jobs: tags: | ${{ env.IMAGE_NAME }}:${{ env.VERSION }} ${{ env.IMAGE_NAME }}:latest + + # example job + # zombienet-smoke: + # name: Zombienet Smoke Tests + # runs-on: zombienet-polkadot-integration-test + # timeout-minutes: 30 + # container: + # image: ${{ env.IMAGE_NAME }}:${{ env.VERSION }} + # needs: [build_push_image] + # env: + # LOCAL_DIR: "/builds/parity/mirrors/zombienet/tests" + # FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1 + # steps: + # - name: Check out the repo + # uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v.4.2.0 + + # - name: smoke test + # run: | + # echo "Zombienet Tests Config" + # echo "${ZOMBIENET_IMAGE}" + # echo "${GH_DIR}" + # echo "${LOCAL_DIR}" + # export DEBUG=zombie + # export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/paritypr/polkadot-debug:master" + # export COL_IMAGE="docker.io/paritypr/colander:master" + # TODO: add script to get latest from dockerhub + # export CUMULUS_TEST_IMAGE="docker.io/paritypr/test-parachain:c90f9713b5bc73a9620b2e72b226b4d11e018190" + # echo "relay_image ${ZOMBIENET_INTEGRATION_TEST_IMAGE}" + # echo "col_image ${COL_IMAGE}" + + # /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh --local-dir="${LOCAL_DIR}" --test="0001-smoke.zndsl" diff --git a/scripts/ci/docker/zombienet_injected.Dockerfile b/scripts/ci/docker/zombienet_injected.Dockerfile index 23edd3e42..2a318f918 100644 --- a/scripts/ci/docker/zombienet_injected.Dockerfile +++ b/scripts/ci/docker/zombienet_injected.Dockerfile @@ -46,15 +46,6 @@ COPY javascript/package-lock.json ./ RUN npm install --production RUN chown -R nonroot. /home/nonroot -#debug - -RUN ls -la /home/nonroot -RUN ls -la /home/nonroot/zombie-net -RUN ls -la /home/nonroot/zombie-net/packages -RUN ls -la /home/nonroot/zombie-net/packages/cli - -RUN find / -name dist - # RUN ls -la /home/nonroot/zombie-net/packages/cli/dist # Change `cli` permissions and link to easy call