From f7b44eba5fd2c963582705aa84c3a1a4d89b690e Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Tue, 29 Oct 2024 18:53:11 +0100 Subject: [PATCH] Ignore default branch --- .circleci/config.yml | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f0a1dda..422452d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,7 @@ workflows: filters: tags: only: /^v.*/ + - architect/push-to-registries: context: architect name: push-to-registries @@ -20,23 +21,32 @@ workflows: filters: tags: only: /^v.*/ + branches: + ignore: + - main + - master - architect/push-to-app-catalog: - context: "architect" + context: architect name: push-cluster-cleaner-to-app-catalog - app_catalog: "control-plane-catalog" - app_catalog_test: "control-plane-test-catalog" - chart: "cluster-cleaner" + app_catalog: control-plane-catalog + app_catalog_test: control-plane-test-catalog + chart: cluster-cleaner requires: - push-to-registries filters: tags: only: /^v.*/ + branches: + ignore: + - main + - master + - architect/push-to-app-collection: context: architect name: push-to-capa-app-collection - app_name: "cluster-cleaner" - app_collection_repo: "capa-app-collection" + app_name: cluster-cleaner + app_collection_repo: capa-app-collection requires: - push-cluster-cleaner-to-app-catalog filters: @@ -44,11 +54,12 @@ workflows: ignore: /.*/ tags: only: /^v.*/ + - architect/push-to-app-collection: context: architect name: push-to-cloud-director-app-collection - app_name: "cluster-cleaner" - app_collection_repo: "cloud-director-app-collection" + app_name: cluster-cleaner + app_collection_repo: cloud-director-app-collection requires: - push-cluster-cleaner-to-app-catalog filters: @@ -56,11 +67,12 @@ workflows: ignore: /.*/ tags: only: /^v.*/ + - architect/push-to-app-collection: context: architect name: push-to-vsphere-app-collection - app_name: "cluster-cleaner" - app_collection_repo: "vsphere-app-collection" + app_name: cluster-cleaner + app_collection_repo: vsphere-app-collection requires: - push-cluster-cleaner-to-app-catalog filters: @@ -68,11 +80,12 @@ workflows: ignore: /.*/ tags: only: /^v.*/ + - architect/push-to-app-collection: context: architect name: push-to-capz-app-collection - app_name: "cluster-cleaner" - app_collection_repo: "capz-app-collection" + app_name: cluster-cleaner + app_collection_repo: capz-app-collection requires: - push-cluster-cleaner-to-app-catalog filters: