Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Ignore default branch (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Oct 30, 2024
1 parent 18d0c80 commit afebdb8
Showing 1 changed file with 57 additions and 49 deletions.
106 changes: 57 additions & 49 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,56 +6,64 @@ orbs:
workflows:
build:
jobs:
- architect/go-build:
name: go-build
binary: cert-operator
filters:
tags:
only: /^v.*/
- architect/go-build:
name: go-build
binary: cert-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-cert-operator-to-control-plane-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "cert-operator"
requires:
- push-to-registries
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-catalog:
context: architect
name: push-cert-operator-to-control-plane-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: cert-operator
requires:
- push-to-registries
filters:
tags:
only: /^v.*/

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

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

0 comments on commit afebdb8

Please sign in to comment.