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

pull/7611/head
Alvin Huang 5 years ago committed by GitHub
parent 32daa2b27c
commit 1bb4e1ccd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save