From 7aec4e322d2308e6995607f804b474fb68068f81 Mon Sep 17 00:00:00 2001 From: Steven Normore Date: Wed, 27 Sep 2023 11:17:03 -0400 Subject: [PATCH] Deploy e2e to dev from this branch temporarily --- .github/workflows/deploy-e2e.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy-e2e.yml b/.github/workflows/deploy-e2e.yml index 925f97c1..27067ce8 100644 --- a/.github/workflows/deploy-e2e.yml +++ b/.github/workflows/deploy-e2e.yml @@ -1,14 +1,12 @@ name: Deploy E2E on: - workflow_run: - workflows: ["Deploy Nodes"] - branches: [main] - types: [completed] + push: + branches: + - upgrade-gowaku-v0.8.0 jobs: deploy: concurrency: main runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Set up Docker Buildx id: buildx @@ -30,7 +28,7 @@ jobs: - name: Push id: push run: | - export DOCKER_IMAGE_TAG=latest + export DOCKER_IMAGE_TAG=dev IMAGE_TO_DEPLOY="$(dev/e2e/build)" echo Successfully pushed $IMAGE_TO_DEPLOY echo "docker_image=${IMAGE_TO_DEPLOY}" >> ${GITHUB_OUTPUT} @@ -45,12 +43,12 @@ jobs: variable-value: ${{ steps.push.outputs.docker_image }} variable-value-required-prefix: "xmtp/node-go-e2e@sha256:" - - name: Deploy (production) - uses: xmtp-labs/terraform-deployer@v1 - with: - terraform-token: ${{ secrets.TERRAFORM_TOKEN }} - terraform-org: xmtp - terraform-workspace: production - variable-name: xmtpd_e2e_image - variable-value: ${{ steps.push.outputs.docker_image }} - variable-value-required-prefix: "xmtp/node-go-e2e@sha256:" + # - name: Deploy (production) + # uses: xmtp-labs/terraform-deployer@v1 + # with: + # terraform-token: ${{ secrets.TERRAFORM_TOKEN }} + # terraform-org: xmtp + # terraform-workspace: production + # variable-name: xmtpd_e2e_image + # variable-value: ${{ steps.push.outputs.docker_image }} + # variable-value-required-prefix: "xmtp/node-go-e2e@sha256:"