-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
272 changed files
with
7,276 additions
and
2,809 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
jobs: | ||
verify-fallback-deploy-file: | ||
env: | ||
FALLBACK_FILE: 'src/cloud-formation/deploy-indexer-fallback.yaml' | ||
PRODUCTION_FILE: 'src/cloud-formation/deploy-indexer-production.yaml' | ||
YQ_BASE_URL: 'https://github.com/mikefarah/yq/releases/download' | ||
YQ_VERSION: 'v4.44.5' | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
- name: 'Install yaml parsing tool' | ||
run: | | ||
YQ_BINARY="${YQ_BASE_URL}/${YQ_VERSION}/yq_linux_amd64" | ||
sudo wget -O /usr/local/bin/yq "$YQ_BINARY" | ||
sudo chmod +x /usr/local/bin/yq | ||
- name: 'Verify fallback and production files same except `Environment`' | ||
run: | | ||
diff \ | ||
<(yq 'del(.parameters.Environment)' "$PRODUCTION_FILE") \ | ||
<(yq 'del(.parameters.Environment)' "$FALLBACK_FILE") | ||
- name: 'Verify `Environment` in fallback and production files.' | ||
run: | | ||
PROD_ENV=$(yq '.parameters.Environment' "$PRODUCTION_FILE") | ||
FALLBACK_ENV=$(yq '.parameters.Environment' "$FALLBACK_FILE") | ||
[ "$PROD_ENV" = 'production' ] || exit 1 | ||
[ "$FALLBACK_ENV" = 'fallback' ] || exit 1 | ||
name: 'Verify fallback stack deployment file' | ||
'on': | ||
pull_request: null | ||
push: | ||
branches: | ||
- 'main' | ||
- 'fallback' | ||
- 'production' | ||
workflow_dispatch: null | ||
... |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ jobs: | |
path: './src/python/hooks/.venv' | ||
- uses: 'pre-commit/[email protected]' | ||
with: | ||
extra_args: '--all-files --config cfg/pre-commit-config.yaml --verbose' | ||
extra_args: '--all-files --config cfg/pre-commit-config.yaml' | ||
name: 'pre-commit' | ||
'on': | ||
pull_request: null | ||
|
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
**/.env | ||
**/.env* | ||
**/.turbo | ||
**/.vercel |
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
Oops, something went wrong.