Skip to content

Commit

Permalink
Ignore default branch (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Oct 30, 2024
1 parent 8000971 commit 1d5c448
Showing 1 changed file with 49 additions and 41 deletions.
90 changes: 49 additions & 41 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,53 @@ orbs:
workflows:
build:
jobs:
- architect/go-build:
name: go-build
binary: capa-iam-operator
pre_test_target: generate
test_target: test-unit
filters:
tags:
only: /^v.*/
- architect/go-build:
name: go-build
binary: capa-iam-operator
pre_test_target: generate
test_target: test-unit
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-capa-iam-operator-to-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "capa-iam-operator"
requires:
- push-to-registries
filters:
tags:
only: /^v.*/
- architect/push-to-app-collection:
name: capa-app-collection
context: "architect"
app_name: "capa-iam-operator"
app_namespace: "giantswarm"
app_collection_repo: "capa-app-collection"
requires:
- push-capa-iam-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- go-build
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-catalog:
context: architect
name: push-capa-iam-operator-to-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: capa-iam-operator
requires:
- push-to-registries
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-collection:
name: capa-app-collection
context: architect
app_name: capa-iam-operator
app_namespace: giantswarm
app_collection_repo: capa-app-collection
requires:
- push-capa-iam-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 1d5c448

Please sign in to comment.