filter out non go branches from the 'go-tests' workflow (#7606)

This commit is contained in:
Alvin Huang 2020-04-07 15:39:23 -04:00 committed by GitHub
parent 5851ea4f64
commit c5f5cfddf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 26 deletions

View File

@ -639,38 +639,26 @@ workflows:
version: 2
go-tests:
jobs:
- check-vendor:
- check-vendor: &filter-ignore-non-go-branches
filters:
branches:
ignore:
- stable-website
- /^docs\/.*/
- /^ui\/.*/
- lint-consul-retry:
filters:
branches:
ignore:
- stable-website
- /^docs\/.*/
- /^ui\/.*/
- lint
- dev-build
- lint-consul-retry: *filter-ignore-non-go-branches
- lint: *filter-ignore-non-go-branches
- test-connect-ca-providers: *filter-ignore-non-go-branches
- dev-build: *filter-ignore-non-go-branches
- go-test:
requires: [dev-build]
- go-test-api:
requires: [dev-build]
- go-test-sdk
- test-connect-ca-providers
- go-test-sdk: *filter-ignore-non-go-branches
build-distros:
jobs:
- check-vendor:
filters:
branches:
ignore:
- stable-website
- /^docs\/.*/
- /^ui\/.*/
- check-vendor: *filter-ignore-non-go-branches
- build-386: &require-check-vendor
requires:
- check-vendor
@ -701,13 +689,7 @@ workflows:
context: consul-ci
test-integrations:
jobs:
- dev-build:
filters:
branches:
ignore:
- stable-website
- /^docs\/.*/
- /^ui\/.*/
- dev-build: *filter-ignore-non-go-branches
- dev-upload-s3: &dev-upload
requires:
- dev-build