From 8daa3f4f392a7d5ca4d70f55be39e3320ea784b6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:38:44 +0100 Subject: [PATCH 1/2] chore(deps): update dependency architect to v5.11.0 (#639) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4cd9c652..6b2d3488 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - architect: giantswarm/architect@5.10.1 + architect: giantswarm/architect@5.11.0 jobs: build-and-deploy-dashboards: From 8ca046b1aa44f356943cb1b896a589bcb1919ccf Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Wed, 30 Oct 2024 11:21:43 +0100 Subject: [PATCH 2/2] Ignore default branch (#640) --- .circleci/config.yml | 238 ++++++++++++++++++++++--------------------- 1 file changed, 121 insertions(+), 117 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6b2d3488..bcc19d8a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,134 +6,138 @@ orbs: jobs: build-and-deploy-dashboards: docker: - - image: cimg/go:1.23.2 + - image: cimg/go:1.23.2 steps: - - run: go install github.com/google/go-jsonnet/cmd/jsonnet@latest - - run: git clone https://github.com/grafana/grafonnet-lib.git $GOPATH/src/github.com/grafana/grafonnet-lib - - checkout - - run: ./scripts/make-dashboards.sh - - run: - command: | - if [ "${CIRCLE_BRANCH}" == "main" ]; then - ./scripts/upload-dashboards.sh - fi + - run: go install github.com/google/go-jsonnet/cmd/jsonnet@latest + - run: git clone https://github.com/grafana/grafonnet-lib.git $GOPATH/src/github.com/grafana/grafonnet-lib + - checkout + - run: ./scripts/make-dashboards.sh + - run: + command: | + if [ "${CIRCLE_BRANCH}" == "main" ]; then + ./scripts/upload-dashboards.sh + fi workflows: package-and-push-chart-on-tag: jobs: - - build-and-deploy-dashboards: - filters: - tags: - only: /^v.*/ + - build-and-deploy-dashboards: + filters: + tags: + only: /^v.*/ - - architect/push-to-app-catalog: - context: "architect" - executor: app-build-suite - name: app-catalog - app_catalog: "control-plane-catalog" - app_catalog_test: "control-plane-test-catalog" - chart: "dashboards" + - architect/push-to-app-catalog: + context: architect + executor: app-build-suite + name: app-catalog + app_catalog: control-plane-catalog + app_catalog_test: control-plane-test-catalog + chart: dashboards # Trigger job on git tag. - filters: - tags: - only: /^v.*/ - requires: - - build-and-deploy-dashboards + filters: + tags: + only: /^v.*/ + branches: + ignore: + - main + - master + requires: + - build-and-deploy-dashboards - - architect/push-to-app-collection: - context: "architect" - name: aws-app-collection - app_name: "dashboards" - app_namespace: "monitoring" - app_collection_repo: "aws-app-collection" - requires: - - app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + - architect/push-to-app-collection: + context: architect + name: aws-app-collection + app_name: dashboards + app_namespace: monitoring + app_collection_repo: aws-app-collection + requires: + - app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/ - - architect/push-to-app-collection: - context: "architect" - name: azure-app-collection - app_name: "dashboards" - app_namespace: "monitoring" - app_collection_repo: "azure-app-collection" - requires: - - app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + - architect/push-to-app-collection: + context: architect + name: azure-app-collection + app_name: dashboards + app_namespace: monitoring + app_collection_repo: azure-app-collection + requires: + - app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/ - - architect/push-to-app-collection: - context: "architect" - name: vsphere-app-collection - app_name: "dashboards" - app_namespace: "monitoring" - app_collection_repo: "vsphere-app-collection" - requires: - - app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ - - architect/push-to-app-collection: + - architect/push-to-app-collection: + context: architect + name: vsphere-app-collection + app_name: dashboards + app_namespace: monitoring + app_collection_repo: vsphere-app-collection + requires: + - app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/ + - architect/push-to-app-collection: - context: architect - name: cloud-director-app-collection - app_name: "dashboards" - app_namespace: "monitoring" - app_collection_repo: "cloud-director-app-collection" - requires: - - app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + context: architect + name: cloud-director-app-collection + app_name: dashboards + app_namespace: monitoring + app_collection_repo: cloud-director-app-collection + requires: + - app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/ - - architect/push-to-app-collection: - context: architect - name: capa-app-collection - app_name: "dashboards" - app_namespace: "monitoring" - app_collection_repo: "capa-app-collection" - requires: - - app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + - architect/push-to-app-collection: + context: architect + name: capa-app-collection + app_name: dashboards + app_namespace: monitoring + app_collection_repo: capa-app-collection + requires: + - app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/ - - architect/push-to-app-collection: - context: architect - name: capz-app-collection - app_name: "dashboards" - app_namespace: "monitoring" - app_collection_repo: "capz-app-collection" - requires: - - app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + - architect/push-to-app-collection: + context: architect + name: capz-app-collection + app_name: dashboards + app_namespace: monitoring + app_collection_repo: capz-app-collection + requires: + - app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/ - - architect/push-to-app-collection: - context: architect - name: gcp-app-collection - app_name: "dashboards" - app_namespace: "monitoring" - app_collection_repo: "gcp-app-collection" - requires: - - app-catalog - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + - architect/push-to-app-collection: + context: architect + name: gcp-app-collection + app_name: dashboards + app_namespace: monitoring + app_collection_repo: gcp-app-collection + requires: + - app-catalog + filters: + branches: + ignore: /.*/ + tags: + only: /^v.*/