Skip to content

Commit

Permalink
Ignore default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
marians committed Oct 29, 2024
1 parent 9c8fc12 commit 8884d01
Showing 1 changed file with 124 additions and 116 deletions.
240 changes: 124 additions & 116 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,129 +6,137 @@ orbs:
workflows:
build:
jobs:
- architect/go-build:
name: go-build
binary: silence-operator
filters:
tags:
only: /^v.*/
- architect/go-build:
name: go-build
binary: silence-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-silence-operator-to-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "silence-operator"
requires:
- push-to-registries
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-catalog:
context: architect
name: push-silence-operator-to-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: silence-operator
requires:
- push-to-registries
filters:
tags:
only: /^v.*/

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

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

- architect/push-to-app-collection:
name: push-silence-operator-to-vsphere-app-collection
context: architect
app_name: "silence-operator"
app_namespace: "monitoring"
app_collection_repo: "vsphere-app-collection"
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
name: push-silence-operator-to-vsphere-app-collection
context: architect
app_name: silence-operator
app_namespace: monitoring
app_collection_repo: vsphere-app-collection
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
name: push-silence-operator-to-gcp-app-collection
context: architect
app_name: "silence-operator"
app_namespace: "monitoring"
app_collection_repo: "gcp-app-collection"
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
name: push-silence-operator-to-gcp-app-collection
context: architect
app_name: silence-operator
app_namespace: monitoring
app_collection_repo: gcp-app-collection
requires:
- push-silence-operator-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: "silence-operator"
app_namespace: "monitoring"
app_collection_repo: "cloud-director-app-collection"
requires:
- push-silence-operator-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: silence-operator
app_namespace: monitoring
app_collection_repo: cloud-director-app-collection
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_name: "silence-operator"
app_namespace: "monitoring"
app_collection_repo: "capa-app-collection"
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_name: silence-operator
app_namespace: monitoring
app_collection_repo: capa-app-collection
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-to-capz-app-collection
app_name: "silence-operator"
app_namespace: "monitoring"
app_collection_repo: "capz-app-collection"
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-to-capz-app-collection
app_name: silence-operator
app_namespace: monitoring
app_collection_repo: capz-app-collection
requires:
- push-silence-operator-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 8884d01

Please sign in to comment.