Skip to content

Commit

Permalink
Ignore default branch (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Nov 4, 2024
1 parent a331b29 commit 0485720
Showing 1 changed file with 107 additions and 103 deletions.
210 changes: 107 additions & 103 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,122 +6,126 @@ orbs:
jobs:
template-chart:
docker:
- image: giantswarm/helm-chart-testing:v3.11.0
- image: giantswarm/helm-chart-testing:v3.11.0
steps:
- checkout
- run: |-
cd helm/sloth
helm dep up
helm template .
- checkout
- run: |-
cd helm/sloth
helm dep up
helm template .
workflows:
build:
jobs:
- template-chart:
name: "template-chart-test"
filters:
branches:
ignore:
- main
- template-chart:
name: template-chart-test
filters:
branches:
ignore:
- main

# Ensure that for every commit to master and for every
# release tag, there is an app version in the catalog.
- architect/push-to-app-catalog:
context: architect
executor: app-build-suite
name: package-and-push-chart
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "sloth"
persist_chart_archive: true
filters:
tags:
only: /^v.*/
- architect/push-to-app-catalog:
context: architect
executor: app-build-suite
name: package-and-push-chart
app_catalog: control-plane-catalog
app_catalog_test: control-plane-test-catalog
chart: sloth
persist_chart_archive: true
filters:
tags:
only: /^v.*/

- architect/run-tests-with-ats:
name: run-tests-with-ats
branches:
ignore:
- main
- master
- architect/run-tests-with-ats:
name: run-tests-with-ats
## TODO Remove once new architect orb is released
app-test-suite_version: "v0.8.0"
app-test-suite_container_tag: "0.8.0"
requires:
- "package-and-push-chart"
filters:
branches:
ignore:
- main
app-test-suite_version: v0.8.0
app-test-suite_container_tag: 0.8.0
requires:
- package-and-push-chart
filters:
branches:
ignore:
- main

- architect/push-to-app-collection:
name: aws-app-collection
context: "architect"
app_catalog: control-plane-catalog
app_name: "sloth"
app_namespace: monitoring
app_collection_repo: "aws-app-collection"
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
name: aws-app-collection
context: architect
app_catalog: control-plane-catalog
app_name: sloth
app_namespace: monitoring
app_collection_repo: aws-app-collection
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
name: vsphere-app-collection
context: "architect"
app_catalog: control-plane-catalog
app_name: "sloth"
app_namespace: monitoring
app_collection_repo: "vsphere-app-collection"
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
name: vsphere-app-collection
context: architect
app_catalog: control-plane-catalog
app_name: sloth
app_namespace: monitoring
app_collection_repo: vsphere-app-collection
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-to-cloud-director-app-collection
app_catalog: control-plane-catalog
app_name: "sloth"
app_namespace: monitoring
app_collection_repo: "cloud-director-app-collection"
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-to-cloud-director-app-collection
app_catalog: control-plane-catalog
app_name: sloth
app_namespace: monitoring
app_collection_repo: cloud-director-app-collection
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_catalog: control-plane-catalog
app_name: "sloth"
app_namespace: monitoring
app_collection_repo: "capa-app-collection"
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-to-capa-app-collection
app_catalog: control-plane-catalog
app_name: sloth
app_namespace: monitoring
app_collection_repo: capa-app-collection
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

- architect/push-to-app-collection:
context: architect
name: push-to-capz-app-collection
app_catalog: control-plane-catalog
app_name: "sloth"
app_namespace: monitoring
app_collection_repo: "capz-app-collection"
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- architect/push-to-app-collection:
context: architect
name: push-to-capz-app-collection
app_catalog: control-plane-catalog
app_name: sloth
app_namespace: monitoring
app_collection_repo: capz-app-collection
requires:
- run-tests-with-ats
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

0 comments on commit 0485720

Please sign in to comment.