From 889756ef07ff3c18ce6d5886fb9420a05b2acdae Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Mon, 4 Nov 2024 16:11:49 +0100 Subject: [PATCH] Ignore default branch (#304) --- .circleci/config.yml | 66 +++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 29 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 63afd46..c713d02 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,34 +6,42 @@ orbs: workflows: build: jobs: - - architect/push-to-app-catalog: - name: push-to-giantswarm-catalog - context: architect - executor: app-build-suite - chart: coredns-app - app_catalog: giantswarm-catalog - app_catalog_test: giantswarm-test-catalog - persist_chart_archive: true - filters: - tags: - only: /^v.*/ + - architect/push-to-app-catalog: + name: push-to-giantswarm-catalog + context: architect + executor: app-build-suite + chart: coredns-app + app_catalog: giantswarm-catalog + app_catalog_test: giantswarm-test-catalog + persist_chart_archive: true + filters: + tags: + only: /^v.*/ - - architect/push-to-app-catalog: - name: push-to-default-catalog - context: architect - executor: app-build-suite - chart: coredns-app - app_catalog: default-catalog - app_catalog_test: default-test-catalog - filters: - tags: - only: /^v.*/ + branches: + ignore: + - main + - master + - architect/push-to-app-catalog: + name: push-to-default-catalog + context: architect + executor: app-build-suite + chart: coredns-app + app_catalog: default-catalog + app_catalog_test: default-test-catalog + filters: + tags: + only: /^v.*/ - - architect/run-tests-with-ats: - name: run-tests-with-ats - filters: - branches: - ignore: - - main - requires: - - push-to-giantswarm-catalog + branches: + ignore: + - main + - master + - architect/run-tests-with-ats: + name: run-tests-with-ats + filters: + branches: + ignore: + - main + requires: + - push-to-giantswarm-catalog