Skip to content

Commit

Permalink
Ignore default branch (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Nov 5, 2024
1 parent 00f24b1 commit 296a0a4
Showing 1 changed file with 115 additions and 107 deletions.
222 changes: 115 additions & 107 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,118 +6,126 @@ orbs:
workflows:
build:
jobs:
- architect/go-build:
name: go-build
binary: cluster-apps-operator
filters:
tags:
only: /^v.*/
- architect/go-build:
name: go-build
binary: cluster-apps-operator
filters:
tags:
only: /^v.*/

- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- go-build
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-apps-operator-to-control-plane-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "cluster-apps-operator"
requires:
- push-to-registries
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-catalog:
context: architect
name: push-cluster-apps-operator-to-control-plane-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: cluster-apps-operator
requires:
- push-to-registries
filters:
tags:
only: /^v.*/

- architect/integration-test:
name: "basic-integration-test"
install-app-platform: true
test-dir: "integration/test/basic"
filters:
branches:
ignore:
- main
- master
- architect/integration-test:
name: basic-integration-test
install-app-platform: true
test-dir: integration/test/basic
filters:
# Do not trigger the job on merge to master.
branches:
ignore:
- master
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
branches:
ignore:
- master
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-aws-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "aws-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capa-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "capa-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-gcp-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "gcp-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-aws-app-collection
app_name: cluster-apps-operator
app_collection_repo: aws-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capa-app-collection
app_name: cluster-apps-operator
app_collection_repo: capa-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-gcp-app-collection
app_name: cluster-apps-operator
app_collection_repo: gcp-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-vsphere-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "vsphere-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-vsphere-app-collection
app_name: cluster-apps-operator
app_collection_repo: vsphere-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-cloud-director-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "cloud-director-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-cloud-director-app-collection
app_name: cluster-apps-operator
app_collection_repo: cloud-director-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capz-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "capz-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capz-app-collection
app_name: cluster-apps-operator
app_collection_repo: capz-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 296a0a4

Please sign in to comment.