2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 01:00:26 +01:00

specify branch filter per job

This commit is contained in:
Frederik Ring 2019-07-26 13:26:14 +02:00
parent 9a1edd7657
commit e974c5ebda

View File

@ -26,6 +26,11 @@ deploy_preconditions: &deploy_preconditions
branches: branches:
only: /^master$/ only: /^master$/
build_preconditions: &build_preconditions
filters:
branches:
ignore: gh-pages
jobs: jobs:
kms: kms:
docker: docker:
@ -415,18 +420,23 @@ jobs:
workflows: workflows:
version: 2 version: 2
test_build_deploy: test_build_deploy:
branches:
ignore:
- gh-pages
jobs: jobs:
- server - server:
- kms <<: *build_preconditions
- vault - kms:
- script <<: *build_preconditions
- auditorium - vault:
- packages <<: *build_preconditions
- shared - script:
- accounts <<: *build_preconditions
- auditorium:
<<: *build_preconditions
- packages:
<<: *build_preconditions
- shared:
<<: *build_preconditions
- accounts:
<<: *build_preconditions
- deploy_golang: - deploy_golang:
<<: *deploy_preconditions <<: *deploy_preconditions
- deploy_node: - deploy_node: