Skip to content

Commit

Permalink
Ignore default branch with 'push-to-registries' and 'push-to-app-cata…
Browse files Browse the repository at this point in the history
…log' (#180)

* Ignore default branch

* formatting

---------

Co-authored-by: Zach Stone <[email protected]>
  • Loading branch information
marians and stone-z authored Nov 4, 2024
1 parent 3448eda commit e80123b
Showing 1 changed file with 101 additions and 92 deletions.
193 changes: 101 additions & 92 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,101 +6,110 @@ orbs:
workflows:
build:
jobs:
- architect/go-build:
name: go-build
binary: teleport-operator
resource_class: large
filters:
tags:
only: /^v.*/
- architect/go-build:
name: go-build
binary: teleport-operator
resource_class: large
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"
executor: "app-build-suite" # uncomment this if you want automatic metadata generation and helm chart linting
name: push-teleport-operator-to-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "teleport-operator"
requires:
- push-to-registries
filters:
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
executor: app-build-suite
name: push-teleport-operator-to-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: teleport-operator
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: "teleport-operator"
app_collection_repo: "capa-app-collection"
requires:
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_name: teleport-operator
app_collection_repo: capa-app-collection
requires:
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

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

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

- architect/push-to-app-collection:
context: architect
name: push-to-gcp-app-collection
app_name: "teleport-operator"
app_collection_repo: "gcp-app-collection"
requires:
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-to-gcp-app-collection
app_name: teleport-operator
app_collection_repo: gcp-app-collection
requires:
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

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

0 comments on commit e80123b

Please sign in to comment.