Skip to content

Commit

Permalink
Deploy e2e to dev from this branch temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Sep 27, 2023
1 parent e3075e1 commit 1140b71
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/deploy-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Deploy E2E
on:
workflow_run:
workflows: ["Deploy Nodes"]
branches: [main]
types: [completed]
push:
branches:
- upgrade-gowaku-v0.8.0
jobs:
deploy:
concurrency: main
Expand All @@ -30,7 +29,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}
Expand All @@ -45,12 +44,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:"

0 comments on commit 1140b71

Please sign in to comment.