From c5f5cfddf60f8f307f3df9f72f29e5c497588063 Mon Sep 17 00:00:00 2001 From: Alvin Huang <17609145+alvin-huang@users.noreply.github.com> Date: Tue, 7 Apr 2020 15:39:23 -0400 Subject: [PATCH] filter out non go branches from the 'go-tests' workflow (#7606) --- .circleci/config.yml | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3662df1d6..00cc86703 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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