From 09c5ec78eeb3de9292fd71e124d75976287cbaa9 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 2 Oct 2017 15:59:51 -0400 Subject: use same filters for each job --- .circleci/config.yml | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to '.circleci') 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 -- cgit v1.2.3-24-g4f1b