From 656afcd99191a13c17cb9c97e94623071b2597c7 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Wed, 30 Oct 2024 13:28:42 +0100 Subject: [PATCH] Ignore default branch (#30) --- .circleci/config.yml | 74 ++++++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8278793..ee044ac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,40 +5,48 @@ orbs: workflows: package-and-push-chart-on-tag: jobs: - - architect/push-to-app-catalog: - context: architect - executor: app-build-suite - name: push-reports-server-app-to-control-plane-catalog - app_catalog: control-plane-catalog - app_catalog_test: control-plane-test-catalog - chart: reports-server + - architect/push-to-app-catalog: + context: architect + executor: app-build-suite + name: push-reports-server-app-to-control-plane-catalog + app_catalog: control-plane-catalog + app_catalog_test: control-plane-test-catalog + chart: reports-server # Trigger job on git tag. - filters: - tags: - only: /^v.*/ + filters: + tags: + only: /^v.*/ - - architect/push-to-app-catalog: - context: architect - executor: app-build-suite - name: push-reports-server-app-to-ops-catalog - app_catalog: giantswarm-operations-platform-catalog - app_catalog_test: giantswarm-operations-platform-test-catalog - chart: reports-server + branches: + ignore: + - main + - master + - architect/push-to-app-catalog: + context: architect + executor: app-build-suite + name: push-reports-server-app-to-ops-catalog + app_catalog: giantswarm-operations-platform-catalog + app_catalog_test: giantswarm-operations-platform-test-catalog + chart: reports-server # Trigger job on git tag. - filters: - tags: - only: /^v.*/ + filters: + tags: + only: /^v.*/ - - architect/push-to-app-collection: - name: aws-app-collection - context: "architect" - app_name: "reports-server" - app_namespace: "kyverno" - app_collection_repo: "aws-app-collection" - requires: - - push-reports-server-app-to-control-plane-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + branches: + ignore: + - main + - master + - architect/push-to-app-collection: + name: aws-app-collection + context: architect + app_name: reports-server + app_namespace: kyverno + app_collection_repo: aws-app-collection + requires: + - push-reports-server-app-to-control-plane-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/