From 347af32b49284ae0da7747c12979be3301975111 Mon Sep 17 00:00:00 2001 From: Mitchell Tracy Date: Fri, 12 Jan 2024 11:08:25 -0500 Subject: [PATCH 1/3] do not run CCI on release-please branches unless we are tagged --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index abb8d17b353..5c96c5ea04c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -245,7 +245,7 @@ jobs: # NOTE: we usually use alpine build image when making spot images, but # we are not able to upload to S3 with it image: ubuntu-2204:2023.07.2 - resource_class: medium + resource_class: medium steps: - *checkout - *setup_env @@ -1058,7 +1058,13 @@ jobs: defaults: &defaults filters: tags: + # do nothing if tagged other than: only: /^aztec-packages-v.*/ + branches: + ignore: + # do nothing on release please branches + # unless they are tagged + - /^release-please--.*/ context: - build - slack From 42a1a6874e05372cf160421690c27672be5821a0 Mon Sep 17 00:00:00 2001 From: Mitchell Tracy Date: Fri, 12 Jan 2024 11:27:55 -0500 Subject: [PATCH 2/3] still needs to run on non-release-please branches --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c96c5ea04c..615a2d3dbda 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1061,10 +1061,12 @@ defaults: &defaults # do nothing if tagged other than: only: /^aztec-packages-v.*/ branches: + # do nothing on release please branches + # unless they are tagged ignore: - # do nothing on release please branches - # unless they are tagged - /^release-please--.*/ + only: + - /.*/ context: - build - slack From 7352438afac56711d82f5003a8bd16c9322f5e26 Mon Sep 17 00:00:00 2001 From: Mitchell Tracy Date: Fri, 12 Jan 2024 11:33:22 -0500 Subject: [PATCH 3/3] remove comment --- .circleci/config.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 615a2d3dbda..f1108eeb7c5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1058,11 +1058,8 @@ jobs: defaults: &defaults filters: tags: - # do nothing if tagged other than: only: /^aztec-packages-v.*/ branches: - # do nothing on release please branches - # unless they are tagged ignore: - /^release-please--.*/ only: