Skip to content

Commit

Permalink
Ignore default branch (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Nov 5, 2024
1 parent feeed8b commit aade051
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,31 @@ orbs:
workflows:
package-and-push-chart-on-tag:
jobs:
- architect/push-to-app-catalog:
context: architect
name: push-to-control-plane-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "cluster-api-provider-openstack"
filters:
- architect/push-to-app-catalog:
context: architect
name: push-to-control-plane-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: cluster-api-provider-openstack
filters:
# Trigger the job also on git tag.
tags:
only: /^v.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
name: openstack-app-collection
context: "architect"
app_name: "cluster-api-provider-openstack"
app_collection_repo: "openstack-app-collection"
requires:
- push-to-control-plane-app-catalog
branches:
ignore:
- main
- master
- architect/push-to-app-collection:
name: openstack-app-collection
context: architect
app_name: cluster-api-provider-openstack
app_collection_repo: openstack-app-collection
requires:
- push-to-control-plane-app-catalog
# Trigger job on git tag.
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit aade051

Please sign in to comment.