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 3deaef8 commit 7aec4e3
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/deploy-e2e.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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}
Expand All @@ -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:"

0 comments on commit 7aec4e3

Please sign in to comment.