Skip to content

Commit

Permalink
Ignore default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored and Gacko committed Oct 30, 2024
1 parent 46274ac commit bf0eaf8
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
version: 2.1

orbs:
architect: giantswarm/[email protected]

Expand All @@ -23,24 +24,32 @@ workflows:
# Trigger the job also on git tag.
tags:
only: /^v.*/
branches:
ignore:
- main
- master

- architect/push-to-app-catalog:
context: "architect"
context: architect
name: push-to-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "cluster-api-events"
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-collection:
context: architect
name: push-to-capa-app-collection
app_name: "cluster-api-events"
app_collection_repo: "capa-app-collection"
app_name: cluster-api-events
app_collection_repo: capa-app-collection
requires:
- push-to-app-catalog
filters:
Expand All @@ -52,8 +61,8 @@ workflows:
- architect/push-to-app-collection:
context: architect
name: push-to-capz-app-collection
app_name: "cluster-api-events"
app_collection_repo: "capz-app-collection"
app_name: cluster-api-events
app_collection_repo: capz-app-collection
requires:
- push-to-app-catalog
filters:
Expand Down

0 comments on commit bf0eaf8

Please sign in to comment.