engage_earn_api/ci/pipeline.yml
2023-01-11 21:19:27 -06:00

35 lines
662 B
YAML

resources:
- name: repo
type: git
source: {uri: "http://192.168.0.201:3000/mitchell/school_app_api.git"}
jobs:
- name: test
plan:
- get: repo
trigger: true
- task: test
file: repo/ci/test.yml
- try: check-fmt
file: repo/ci/check-fmt.yml
- task: lint
file: repo/ci/lint.yml
- task: audit
file: repo/ci/audit.yml
- name: build
plan:
- get: repo
trigger: true
passed: [test]
- task: build-linux
file: repo/ci/build-linux.yml
- task: build-docker
file: repo/ci/build-docker.yml
- name: deploy
plan:
- get: repo
trigger: true
passed: [test, build]
- task: deploy
file: repo/ci/deploy.yml