From f8696fbd0a3b8a529604b8a31dbfd6911a794353 Mon Sep 17 00:00:00 2001 From: Liam Monninger Date: Sat, 23 Sep 2023 19:30:51 -0700 Subject: [PATCH] [CICD] rolling back supported platforms; changing e2e release test dependency. --- .github/workflows/release.yml | 7 +++---- .github/workflows/test.yml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b1bf603..eac3525b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -295,11 +295,9 @@ jobs: build-and-docker: - if: true needs: - prepare-release - pre-release-x86_64-linux - - pre-release-aarch64-linux runs-on: labels: movement-runner steps: @@ -318,7 +316,7 @@ jobs: IMAGE_TAG: ${{ needs.prepare-release.outputs.release_tag }} # Or any other tag you'd like run: | docker buildx create --use - docker buildx build --build-arg VERSION=${{ needs.prepare-release.outputs.release_tag }} -f ./docker/cli.dockerfile --platform linux/amd64,linux/arm64 -t $DOCKER_HUB_REPOSITORY:$IMAGE_TAG -t latest . --push + docker buildx build --build-arg VERSION=${{ needs.prepare-release.outputs.release_tag }} -f ./docker/cli.dockerfile --platform linux/amd64 -t $DOCKER_HUB_REPOSITORY:$IMAGE_TAG -t latest . --push - name: Full developer container env: @@ -326,7 +324,7 @@ jobs: IMAGE_TAG: ${{ needs.prepare-release.outputs.release_tag }} # Or any other tag you'd like run: | docker buildx create --use - docker buildx build --build-arg VERSION=${{ needs.prepare-release.outputs.release_tag }} -f ./docker/dev.dockerfile --platform linux/amd64,linux/arm64 -t $DOCKER_HUB_REPOSITORY:$IMAGE_TAG -t latest . --push + docker buildx build --build-arg VERSION=${{ needs.prepare-release.outputs.release_tag }} -f ./docker/dev.dockerfile --platform linux/amd64 -t $DOCKER_HUB_REPOSITORY:$IMAGE_TAG -t latest . --push - name: General container # for now this is just the dev container env: @@ -339,6 +337,7 @@ jobs: run-tests: needs: - prepare-release + - build-and-docker runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 773c98d4..dbac4fa6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: - name: Build and Test Subnet run: | cd ./m1 - # cargo test --lib # this should only be the lib tests + cargo test - name: Update Badge run: |