Updating the runbook to be a mix of aws and pg commands #32
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
# WARNING: This file is managed by: https://github.com/massdriver-cloud/bundle-github-repo-manager | |
# DO NOT EDIT HERE. It will be over written. | |
name: Validate | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build: | |
name: Validate | |
runs-on: ubuntu-latest | |
env: | |
MASSDRIVER_API_KEY: ${{ secrets.MASSDRIVER_BETA_RELEASE_CHANNEL_API_KEY }} | |
MASSDRIVER_ORG_ID: ${{ secrets.MASSDRIVER_BETA_RELEASE_CHANNEL_ORGANIZATION_ID }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Massdriver CLI | |
uses: massdriver-cloud/actions@v5 | |
- name: Build Bundle | |
uses: massdriver-cloud/actions/bundle_build@v5 | |
- name: Validate params schema | |
run: mass schema validate -s https://json-schema.org/draft-07/schema -d ./schema-params.json | |
- name: Validate connections schema | |
run: mass schema validate -s https://json-schema.org/draft-07/schema -d ./schema-connections.json | |
- name: Validate artifacts schema | |
run: mass schema validate -s https://json-schema.org/draft-07/schema -d ./schema-artifacts.json | |
- name: Terraform validate | |
uses: dflook/terraform-validate@v1 | |
id: validate | |
with: | |
path: src |