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 de12671 commit 89de48c
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 @@ -8,7 +9,7 @@ jobs:
steps:
- checkout
- run:
name: "Run unit tests"
name: Run unit tests
command: CGO_ENABLED=0 make test-unit

workflows:
Expand Down Expand Up @@ -36,27 +37,35 @@ workflows:
requires:
- unit-tests
filters:
# Trigger the job also on git tag.
# 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: "azure-private-endpoint-operator"
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: azure-private-endpoint-operator
requires:
- push-to-registries
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master

- architect/push-to-app-collection:
context: architect
name: push-to-capz-app-collection
app_name: "azure-private-endpoint-operator"
app_collection_repo: "capz-app-collection"
app_name: azure-private-endpoint-operator
app_collection_repo: capz-app-collection
requires:
- push-to-app-catalog
filters:
Expand Down

0 comments on commit 89de48c

Please sign in to comment.