diff --git a/.circleci/config.yml b/.circleci/config.yml index 4758596c..c6ae385b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - architect: giantswarm/architect@4.33.0 + architect: giantswarm/architect@4.35.5 workflows: package-and-push-chart-on-tag: diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2bd608a6..af8b2728 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # version: 2 updates: diff --git a/.github/workflows/zz_generated.check_values_schema.yaml b/.github/workflows/zz_generated.check_values_schema.yaml index 3126cdf5..059ed8c9 100644 --- a/.github/workflows/zz_generated.check_values_schema.yaml +++ b/.github/workflows/zz_generated.check_values_schema.yaml @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # name: 'Values and schema' on: diff --git a/.github/workflows/zz_generated.create_release.yaml b/.github/workflows/zz_generated.create_release.yaml index 2df0ad9d..4e5d7d9f 100644 --- a/.github/workflows/zz_generated.create_release.yaml +++ b/.github/workflows/zz_generated.create_release.yaml @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # name: Create Release on: @@ -93,7 +93,7 @@ jobs: uses: giantswarm/install-binary-action@v1.1.0 with: binary: "architect" - version: "6.11.0" + version: "6.13.0" - name: Install semver uses: giantswarm/install-binary-action@v1.1.0 with: @@ -184,13 +184,12 @@ jobs: git push "${REMOTE_REPO}" --tags - name: Create release id: create_gh_release - uses: actions/create-release@v1 + uses: ncipollo/release-action@v1 env: GITHUB_TOKEN: "${{ secrets.TAYLORBOT_GITHUB_ACTION }}" with: body: ${{ steps.changelog_reader.outputs.changes }} - tag_name: "v${{ needs.gather_facts.outputs.version }}" - release_name: "v${{ needs.gather_facts.outputs.version }}" + tag: "v${{ needs.gather_facts.outputs.version }}" create-release-branch: name: Create release branch diff --git a/.github/workflows/zz_generated.create_release_pr.yaml b/.github/workflows/zz_generated.create_release_pr.yaml index 40d9bb1b..4c3edcd1 100644 --- a/.github/workflows/zz_generated.create_release_pr.yaml +++ b/.github/workflows/zz_generated.create_release_pr.yaml @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # name: Create Release PR on: diff --git a/.github/workflows/zz_generated.diff_helm_render_templates.yaml b/.github/workflows/zz_generated.diff_helm_render_templates.yaml index c0b3788f..7c57568a 100644 --- a/.github/workflows/zz_generated.diff_helm_render_templates.yaml +++ b/.github/workflows/zz_generated.diff_helm_render_templates.yaml @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # name: Compare Helm Rendering diff --git a/.github/workflows/zz_generated.documentation_validation.yaml b/.github/workflows/zz_generated.documentation_validation.yaml new file mode 100644 index 00000000..c6e32930 --- /dev/null +++ b/.github/workflows/zz_generated.documentation_validation.yaml @@ -0,0 +1,43 @@ +# DO NOT EDIT. Generated with: +# +# devctl@6.17.1 +# + +# This workflow validates the documentation generated from the JSON schema of the cluster-app +# which is located in `helm/*/values.schema.json`. Specifically, it checks whether the changes +# from `make generate-docs` were committed. + +name: Documentation validation +on: + pull_request: + branches: + - master + - main + paths: + - 'helm/**/values.yaml' + - 'helm/**/values.schema.json' + - '**/*.md' # if someone manually edited a file that should contain the generated documentation + + push: {} + +jobs: + validate: + name: Validate documentation + runs-on: ubuntu-latest + env: + GO_VERSION: 1.21.3 + steps: + - name: Set up Go ${{ env.GO_VERSION }} + uses: actions/setup-go@v3.3.0 + with: + go-version: ${{ env.GO_VERSION }} + - name: Checkout code + uses: actions/checkout@v4 + - name: "Run 'make generate-docs' and check for differences" + run: | + make generate-docs + + if ! git diff --exit-code; then + echo "ERROR: You need to commit the changes made by \"make generate-docs\"." + exit 1 + fi diff --git a/.github/workflows/zz_generated.gitleaks.yaml b/.github/workflows/zz_generated.gitleaks.yaml index 6efd6284..b02c5ff6 100644 --- a/.github/workflows/zz_generated.gitleaks.yaml +++ b/.github/workflows/zz_generated.gitleaks.yaml @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # name: gitleaks diff --git a/.github/workflows/zz_generated.json_schema_validation.yaml b/.github/workflows/zz_generated.json_schema_validation.yaml index d6589f4a..2201887a 100644 --- a/.github/workflows/zz_generated.json_schema_validation.yaml +++ b/.github/workflows/zz_generated.json_schema_validation.yaml @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # # This workflow validates the JSON schema of the cluster-app, which is located in diff --git a/Makefile b/Makefile index 0f7f27b8..06ed5298 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # include Makefile.*.mk diff --git a/Makefile.gen.app.mk b/Makefile.gen.app.mk index 3787b357..9fc6224d 100644 --- a/Makefile.gen.app.mk +++ b/Makefile.gen.app.mk @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # ##@ App diff --git a/Makefile.gen.cluster_app.mk b/Makefile.gen.cluster_app.mk index b98e4c98..fd87870f 100644 --- a/Makefile.gen.cluster_app.mk +++ b/Makefile.gen.cluster_app.mk @@ -1,6 +1,6 @@ # DO NOT EDIT. Generated with: # -# devctl@6.14.0 +# devctl@6.17.1 # ##@ Schema