Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore default branch with 'push-to-registries' and 'push-to-app-catalog' #547

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 115 additions & 107 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,118 +6,126 @@ orbs:
workflows:
build:
jobs:
- architect/go-build:
name: go-build
binary: cluster-apps-operator
filters:
tags:
only: /^v.*/
- architect/go-build:
name: go-build
binary: cluster-apps-operator
filters:
tags:
only: /^v.*/

- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- go-build
filters:
tags:
only: /^v.*/
- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- go-build
filters:
tags:
only: /^v.*/

- architect/push-to-app-catalog:
context: "architect"
name: push-cluster-apps-operator-to-control-plane-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "cluster-apps-operator"
requires:
- push-to-registries
filters:
tags:
only: /^v.*/
branches:
ignore:
- main
- master
- architect/push-to-app-catalog:
context: architect
name: push-cluster-apps-operator-to-control-plane-app-catalog
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: cluster-apps-operator
requires:
- push-to-registries
filters:
tags:
only: /^v.*/

- architect/integration-test:
name: "basic-integration-test"
install-app-platform: true
test-dir: "integration/test/basic"
filters:
branches:
ignore:
- main
- master
- architect/integration-test:
name: basic-integration-test
install-app-platform: true
test-dir: integration/test/basic
filters:
# Do not trigger the job on merge to master.
branches:
ignore:
- master
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
branches:
ignore:
- master
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-aws-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "aws-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capa-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "capa-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-gcp-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "gcp-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-aws-app-collection
app_name: cluster-apps-operator
app_collection_repo: aws-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capa-app-collection
app_name: cluster-apps-operator
app_collection_repo: capa-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-gcp-app-collection
app_name: cluster-apps-operator
app_collection_repo: gcp-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-vsphere-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "vsphere-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-vsphere-app-collection
app_name: cluster-apps-operator
app_collection_repo: vsphere-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-cloud-director-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "cloud-director-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-cloud-director-app-collection
app_name: cluster-apps-operator
app_collection_repo: cloud-director-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capz-app-collection
app_name: "cluster-apps-operator"
app_collection_repo: "capz-app-collection"
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-cluster-apps-operator-to-capz-app-collection
app_name: cluster-apps-operator
app_collection_repo: capz-app-collection
requires:
- push-cluster-apps-operator-to-control-plane-app-catalog
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
Loading