summaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-10-02 21:59:51 +0200
committerDylan William Hardison <dylan@hardison.net>2017-10-02 21:59:51 +0200
commit09c5ec78eeb3de9292fd71e124d75976287cbaa9 (patch)
treea59e04361e2a7037fcad9aaa17081ee1bd1003a2 /.circleci
parent1e6d212d917fc6ae3fb3d8dc5a8d30c9eba36d67 (diff)
downloadbugzilla-09c5ec78eeb3de9292fd71e124d75976287cbaa9.tar.gz
bugzilla-09c5ec78eeb3de9292fd71e124d75976287cbaa9.tar.xz
use same filters for each job
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml30
1 files changed, 18 insertions, 12 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index a56f41c7e..f25439d1e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -5,6 +5,17 @@
version: 2
+standard_filters: &standard_filters
+ branches:
+ only:
+ - master
+ - development
+ - production
+ tags:
+ only:
+ - /release-[0-9]{6}\.[0-9]+/
+ - /test-[a-zA-Z0-9_-]+/
+
defaults:
bmo_slim_image: &bmo_slim_image
image: mozillabteam/bmo-slim:20170927.1
@@ -159,28 +170,23 @@ workflows:
version: 2
main:
jobs:
- - test_sanity
+ - test_sanity:
+ filters: *standard_filters
- test_bmo:
+ filters: *standard_filters
requires:
- test_sanity
- test_webservices:
+ filters: *standard_filters
requires:
- test_sanity
- test_selenium:
+ filters: *standard_filters
requires:
- test_sanity
- build:
+ filters: *standard_filters
requires:
- test_sanity
- test_bmo
- - test_webservices
- filters:
- branches:
- only:
- - master
- - development
- - production
- tags:
- only:
- - /release-[0-9]{6}\.[0-9]+/
- - /test-[a-zA-Z0-9_-]+/ \ No newline at end of file
+ - test_webservices \ No newline at end of file