From 4c213cc021d67be40445f9d9721bf197cc066c99 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 | 154 +++++++++++++++++++++++-------------------- 1 file changed, 81 insertions(+), 73 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f0a1dda..0eda3df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,77 +6,85 @@ orbs: workflows: test: jobs: - - architect/go-build: - name: go-build - binary: cluster-cleaner - filters: - tags: - only: /^v.*/ - - architect/push-to-registries: - context: architect - name: push-to-registries - requires: - - go-build - filters: - tags: - only: /^v.*/ + - architect/go-build: + name: go-build + binary: cluster-cleaner + filters: + tags: + only: /^v.*/ + - architect/push-to-registries: + context: architect + name: push-to-registries + requires: + - go-build + filters: + tags: + only: /^v.*/ - - architect/push-to-app-catalog: - context: "architect" - name: push-cluster-cleaner-to-app-catalog - app_catalog: "control-plane-catalog" - app_catalog_test: "control-plane-test-catalog" - chart: "cluster-cleaner" - requires: - - push-to-registries - filters: - tags: - only: /^v.*/ - - architect/push-to-app-collection: - context: architect - name: push-to-capa-app-collection - app_name: "cluster-cleaner" - app_collection_repo: "capa-app-collection" - requires: - - push-cluster-cleaner-to-app-catalog - filters: - branches: - 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" - requires: - - push-cluster-cleaner-to-app-catalog - filters: - branches: - 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" - requires: - - push-cluster-cleaner-to-app-catalog - filters: - branches: - 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" - requires: - - push-cluster-cleaner-to-app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + branches: + ignore: + - main + - master + - architect/push-to-app-catalog: + context: architect + name: push-cluster-cleaner-to-app-catalog + 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 + requires: + - push-cluster-cleaner-to-app-catalog + filters: + branches: + 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 + requires: + - push-cluster-cleaner-to-app-catalog + filters: + branches: + 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 + requires: + - push-cluster-cleaner-to-app-catalog + filters: + branches: + 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 + requires: + - push-cluster-cleaner-to-app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/