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 46274ac commit 7cdc662
Showing 1 changed file with 59 additions and 51 deletions.
110 changes: 59 additions & 51 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,59 +5,67 @@ orbs:
workflows:
package-and-push-chart-on-tag:
jobs:
- architect/go-build:
context: architect
name: go-build
binary: cluster-api-events
resource_class: xlarge
filters:
tags:
only: /^v.*/
- architect/go-build:
context: architect
name: go-build
binary: cluster-api-events
resource_class: xlarge
filters:
tags:
only: /^v.*/

- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- go-build
filters:
- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- go-build
filters:
# Trigger the job also on git tag.
tags:
only: /^v.*/
tags:
only: /^v.*/

- architect/push-to-app-catalog:
context: "architect"
name: push-to-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "cluster-api-events"
requires:
- go-build
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-catalog:
context: architect
name: push-to-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: cluster-api-events
requires:
- go-build
filters:
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_name: "cluster-api-events"
app_collection_repo: "capa-app-collection"
requires:
- push-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_name: cluster-api-events
app_collection_repo: capa-app-collection
requires:
- push-to-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

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

0 comments on commit 7cdc662

Please sign in to comment.