Skip to content

Set max_allocated_storage var and switch to updated Terraform db module #157

Set max_allocated_storage var and switch to updated Terraform db module

Set max_allocated_storage var and switch to updated Terraform db module #157

Workflow file for this run

name: Github CI
on:
push:
branches:
- develop
- test/**
pull_request:
workflow_dispatch:
jobs:
build:
name: build
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- uses: actions/checkout@v3
- name: CI Build
run: ./scripts/cibuild
env:
NODE_ENV: test
REACT_APP_ROLLBAR_CLIENT_ACCESS_TOKEN: ${{ secrets.REACT_APP_ROLLBAR_CLIENT_ACCESS_TOKEN }}
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: "us-east-1"
- name: CI Publish
run: |
unset AWS_PROFILE
./scripts/cipublish
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/test/')
- name: Infra Plan and Apply
run: |
docker-compose -f docker-compose.yml -f docker-compose.ci.yml run --rm terraform -c "
unset AWS_PROFILE
./scripts/infra plan
./scripts/infra apply"
env:
DB_ROLLBAR_ACCESS_TOKEN: ${{ secrets.DB_ROLLBAR_ACCESS_TOKEN }}
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/test/')