Update diagnosis_mapping.json #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
workflow_dispatch: | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_BUILDKIT: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Execute cibuild | |
run: ./scripts/cibuild | |
- uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | |
aws-region: ${{ secrets.AWS_REGION }} | |
if: github.ref == 'refs/heads/develop' | |
- name: Execute cipublish | |
run: ./scripts/cipublish | |
if: github.ref == 'refs/heads/develop' | |
- name: Execute infra | |
run: | | |
docker-compose -f docker-compose.ci.yml run --rm terraform -c " | |
# Unset this to avoid a ProfileNotFound exception from the AWS CLI. | |
unset AWS_PROFILE | |
./scripts/infra plan && ./scripts/infra apply | |
" | |
if: github.ref == 'refs/heads/develop' | |
- name: Notify Rollbar | |
uses: rollbar/[email protected] | |
with: | |
environment: 'staging' | |
version: ${{ github.sha }} | |
env: | |
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }} | |
ROLLBAR_USERNAME: ${{ github.actor }} | |
if: github.ref == 'refs/heads/develop' |