From 7d0a29ca742a58d66a82507d33941a7fcce1a0e7 Mon Sep 17 00:00:00 2001 From: Mario Apra Date: Tue, 9 Jul 2024 12:47:49 +0100 Subject: [PATCH] fixme --- .github/workflows/ci-cd-pipeline.yml | 53 ++++++++++++++-------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci-cd-pipeline.yml b/.github/workflows/ci-cd-pipeline.yml index 44fdcb853c..87cb163a3c 100644 --- a/.github/workflows/ci-cd-pipeline.yml +++ b/.github/workflows/ci-cd-pipeline.yml @@ -33,7 +33,8 @@ jobs: - name: Define image tag id: set_tag run: | - export DOCKER_IMAGE_TAG=$(git describe --tags) + # export DOCKER_IMAGE_TAG=$(git describe --tags) + export DOCKER_IMAGE_TAG=v0.11.9-18-gf8d871ef # This one is to be able to use the image tag in the next steps in this job echo "DOCKER_IMAGE_TAG=$DOCKER_IMAGE_TAG" >> $GITHUB_ENV @@ -41,20 +42,20 @@ jobs: # This one is to be able to use the image tag in the next jobs echo "DOCKER_IMAGE_TAG=$DOCKER_IMAGE_TAG" >> $GITHUB_OUTPUT - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v3 + # - name: Setup Docker Buildx + # uses: docker/setup-buildx-action@v3 - - name: Login to registry - run: | - docker login ${{ env.DOCKER_REGISTRY }} -u ${{ vars.ARTIFACTORY_NUBIA_USER }} -p ${{ secrets.ARTIFACTORY_NUBIA_CONTRIBUTOR}} + # - name: Login to registry + # run: | + # docker login ${{ env.DOCKER_REGISTRY }} -u ${{ vars.ARTIFACTORY_NUBIA_USER }} -p ${{ secrets.ARTIFACTORY_NUBIA_CONTRIBUTOR}} - - name: Build and Push - uses: docker/build-push-action@v5 - with: - context: . - platforms: "linux/amd64" - push: true - tags: ${{ env.DOCKER_REGISTRY }}/${{ env.REPO_DEV }}/juno:${{ env.DOCKER_IMAGE_TAG }} + # - name: Build and Push + # uses: docker/build-push-action@v5 + # with: + # context: . + # platforms: "linux/amd64" + # push: true + # tags: ${{ env.DOCKER_REGISTRY }}/${{ env.REPO_DEV }}/juno:${{ env.DOCKER_IMAGE_TAG }} validate_dev: @@ -73,19 +74,19 @@ jobs: run: | bash .github/workflow-scripts/verify_deployment.sh ${{ secrets.DEV_SEPOLIA_URL }} ${{ needs.build_docker_image.outputs.DOCKER_IMAGE_TAG }} - dev-starknet-rs-tests: - needs: [validate_dev] - uses: ./.github/workflows/starknet-rs-tests.yml - secrets: - STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_6 - - dev-starknet-js-tests: - needs: [validate_dev] - uses: ./.github/workflows/starknet-js-tests.yml - secrets: - TEST_RPC_URL: ${{ secrets.DEV_SEPOLIA_URL }}/v0_7 - TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }} - TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }} + # dev-starknet-rs-tests: + # needs: [validate_dev] + # uses: ./.github/workflows/starknet-rs-tests.yml + # secrets: + # STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_6 + + # dev-starknet-js-tests: + # needs: [validate_dev] + # uses: ./.github/workflows/starknet-js-tests.yml + # secrets: + # TEST_RPC_URL: ${{ secrets.DEV_SEPOLIA_URL }}/v0_7 + # TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }} + # TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }} promote_to_staging: needs: [build_docker_image, validate_dev]