Skip to content

feat: persist tissue_type in APIs and DB + add schema 4 feature flag #129

feat: persist tissue_type in APIs and DB + add schema 4 feature flag

feat: persist tissue_type in APIs and DB + add schema 4 feature flag #129

name: Delete rdev for PR
on:
pull_request:
branches-ignore:
- prod
types:
- closed
env:
# Force using BuildKit instead of normal Docker, required so that metadata
# is written/read to allow us to use layers of previous builds as cache.
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_REPO: ${{ secrets.ECR_REPO }}/
STACK_NAME: pr-${{ github.event.number }}
permissions:
id-token: write
contents: read
# prevent the rdev from being updated in concurrent GHA
concurrency:
group: pr-${{ github.event.number }}
cancel-in-progress: false
jobs:
delete-rdev:
runs-on: ubuntu-22.04
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-duration-seconds: 900
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Delete deployment
uses: chanzuckerberg/github-actions/.github/actions/deploy-happy-stack@deploy-happy-stack-v1.7.2
with:
tfe-token: ${{ secrets.TFE_TOKEN }}
stack-name: ${{ env.STACK_NAME }}
operation: delete
happy_version: "0.92.0"