Commit f4f68772 authored by Richard Crosby's avatar Richard Crosby

feat: add linting of config files

parent 07629bbe
Pipeline #25146 passed with stages
in 35 seconds
......@@ -10,3 +10,50 @@ lint:
- chmod +x hadolint
- export PATH=$PWD:$PATH
- yarn lint
lint_config_review:
image: registry.brickblock.sh/devops/docker/build:latest
stage: test
variables:
GOOGLE_PROJECT: bbk-review
extends:
- .except-ci-release
- .use-gcloud
- .skip-artifacts
interruptible: true
script:
- yarn global add @brickblock/bbk-devtools
- bbk ctx review
- bbk secrets:decrypt
lint_config_staging:
image: registry.brickblock.sh/devops/docker/build:latest
stage: test
variables:
GOOGLE_PROJECT: bbk-staging
extends:
- .use-gcloud
- .skip-artifacts
interruptible: true
script:
- yarn global add @brickblock/bbk-devtools
- bbk ctx staging
- bbk secrets:decrypt
only:
- master
lint_config_production:
image: registry.brickblock.sh/devops/docker/build:latest
stage: test
variables:
GOOGLE_PROJECT: bbk-production
extends:
- .use-gcloud
- .skip-artifacts
interruptible: true
script:
- yarn global add @brickblock/bbk-devtools
- bbk ctx production
- bbk secrets:decrypt
only:
- tags
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment