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 f05b632 commit 3433d01
Showing 1 changed file with 48 additions and 40 deletions.
88 changes: 48 additions & 40 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,47 +5,55 @@ orbs:
workflows:
package-and-push-chart-on-tag:
jobs:
- architect/go-build:
context: architect
name: go-build
binary: aws-vpc-operator
resource_class: xlarge
filters:
tags:
only: /^v.*/
- architect/go-build:
context: architect
name: go-build
binary: aws-vpc-operator
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: "aws-vpc-operator"
requires:
- push-to-registries
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: aws-vpc-operator
requires:
- push-to-registries
filters:
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_name: "aws-vpc-operator"
app_collection_repo: "capa-app-collection"
requires:
- push-to-app-catalog
- push-to-registries
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: aws-vpc-operator
app_collection_repo: capa-app-collection
requires:
- push-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 3433d01

Please sign in to comment.