Skip to content

Commit

Permalink
Ignore default branch (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Oct 30, 2024
1 parent 03574f3 commit 656afcd
Showing 1 changed file with 41 additions and 33 deletions.
74 changes: 41 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,48 @@ orbs:
workflows:
package-and-push-chart-on-tag:
jobs:
- architect/push-to-app-catalog:
context: architect
executor: app-build-suite
name: push-reports-server-app-to-control-plane-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: reports-server
- architect/push-to-app-catalog:
context: architect
executor: app-build-suite
name: push-reports-server-app-to-control-plane-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: reports-server
# Trigger job on git tag.
filters:
tags:
only: /^v.*/
filters:
tags:
only: /^v.*/

- architect/push-to-app-catalog:
context: architect
executor: app-build-suite
name: push-reports-server-app-to-ops-catalog
app_catalog: giantswarm-operations-platform-catalog
app_catalog_test: giantswarm-operations-platform-test-catalog
chart: reports-server
branches:
ignore:
- main
- master
- architect/push-to-app-catalog:
context: architect
executor: app-build-suite
name: push-reports-server-app-to-ops-catalog
app_catalog: giantswarm-operations-platform-catalog
app_catalog_test: giantswarm-operations-platform-test-catalog
chart: reports-server
# Trigger job on git tag.
filters:
tags:
only: /^v.*/
filters:
tags:
only: /^v.*/

- architect/push-to-app-collection:
name: aws-app-collection
context: "architect"
app_name: "reports-server"
app_namespace: "kyverno"
app_collection_repo: "aws-app-collection"
requires:
- push-reports-server-app-to-control-plane-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-collection:
name: aws-app-collection
context: architect
app_name: reports-server
app_namespace: kyverno
app_collection_repo: aws-app-collection
requires:
- push-reports-server-app-to-control-plane-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 656afcd

Please sign in to comment.