diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b53d5aeb..2218b077 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -50,7 +50,7 @@ jobs: - name: Check for changed files id: check - uses: stackabletech/actions/detect-changes@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/detect-changes@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: patterns: | - '.github/workflows/build.yaml' @@ -206,7 +206,7 @@ jobs: - name: Build Container Image id: build - uses: stackabletech/actions/build-container-image@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/build-container-image@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: image-name: ${{ env.OPERATOR_NAME }} image-index-manifest-tag: ${{ steps.version.outputs.OPERATOR_VERSION }} @@ -215,7 +215,7 @@ jobs: - name: Publish Container Image to oci.stackable.tech if: ${{ !github.event.pull_request.head.repo.fork }} - uses: stackabletech/actions/publish-image@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/publish-image@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: image-registry-uri: oci.stackable.tech image-registry-username: robot$sdp+github-action-build @@ -226,7 +226,7 @@ jobs: - name: Publish Container Image to quay.io if: ${{ !github.event.pull_request.head.repo.fork }} - uses: stackabletech/actions/publish-image@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/publish-image@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: image-registry-uri: quay.io image-registry-username: stackable+robot_sdp_github_action_build @@ -256,7 +256,7 @@ jobs: persist-credentials: false - name: Publish and Sign Image Index to oci.stackable.tech - uses: stackabletech/actions/publish-image-index-manifest@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/publish-image-index-manifest@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: image-registry-uri: oci.stackable.tech image-registry-username: robot$sdp+github-action-build @@ -265,7 +265,7 @@ jobs: canonical-image-index-manifest-tag: ${{ needs.build-container-image.outputs.operator-version }} - name: Publish and Sign Image Index to quay.io - uses: stackabletech/actions/publish-image-index-manifest@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/publish-image-index-manifest@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: image-registry-uri: quay.io image-registry-username: stackable+robot_sdp_github_action_build @@ -295,7 +295,7 @@ jobs: submodules: recursive - name: Package, Publish, and Sign Helm Chart to oci.stackable.tech - uses: stackabletech/actions/publish-helm-chart@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/publish-helm-chart@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: chart-registry-uri: oci.stackable.tech chart-registry-username: robot$sdp-charts+github-action-build @@ -307,7 +307,7 @@ jobs: publish-and-sign: ${{ !github.event.pull_request.head.repo.fork }} - name: Package, Publish, and Sign Helm Chart to quay.io - uses: stackabletech/actions/publish-helm-chart@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/publish-helm-chart@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: chart-registry-uri: quay.io chart-registry-username: stackable+robot_sdp_charts_github_action_build @@ -339,13 +339,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Run OpenShift Preflight Check for oci.stackable.tech - uses: stackabletech/actions/run-openshift-preflight@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/run-openshift-preflight@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: image-index-uri: oci.stackable.tech/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }} image-architecture: ${{ matrix.arch }} - name: Run OpenShift Preflight Check for quay.io - uses: stackabletech/actions/run-openshift-preflight@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/run-openshift-preflight@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: image-index-uri: quay.io/stackable/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }} image-architecture: ${{ matrix.arch }} @@ -432,7 +432,7 @@ jobs: echo "COMBINED_CHECKS_RESULT=$COMBINED_CHECKS_RESULT" | tee -a "$GITHUB_OUTPUT" - name: Send Notification - uses: stackabletech/actions/send-slack-notification@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/send-slack-notification@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: combined-checks-result: ${{ steps.combine.outputs.COMBINED_CHECKS_RESULT }} publish-helm-chart-result: ${{ needs.publish-helm-chart.result }} diff --git a/.github/workflows/integration-test-custom.yaml b/.github/workflows/integration-test-custom.yaml index d933b5e9..88b0a986 100644 --- a/.github/workflows/integration-test-custom.yaml +++ b/.github/workflows/integration-test-custom.yaml @@ -30,7 +30,7 @@ jobs: - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/run-integration-test@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} otlp-bearer-token: ${{ secrets.OTLP_BEARER_TOKEN }} @@ -41,7 +41,7 @@ jobs: - name: Send Notification if: ${{ failure() || github.run_attempt > 1 }} - uses: stackabletech/actions/send-slack-notification@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/send-slack-notification@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: slack-token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }} dashboard-url: ${{ steps.test.outputs.dashboard-url }} diff --git a/.github/workflows/integration-test-profile.yaml b/.github/workflows/integration-test-profile.yaml index 81b38740..34c290cf 100644 --- a/.github/workflows/integration-test-profile.yaml +++ b/.github/workflows/integration-test-profile.yaml @@ -42,7 +42,7 @@ jobs: - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/run-integration-test@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} otlp-bearer-token: ${{ secrets.OTLP_BEARER_TOKEN }} @@ -51,7 +51,7 @@ jobs: - name: Send Notification if: ${{ failure() || github.run_attempt > 1 }} - uses: stackabletech/actions/send-slack-notification@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + uses: stackabletech/actions/send-slack-notification@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: slack-token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }} dashboard-url: ${{ steps.test.outputs.dashboard-url }} diff --git a/.github/workflows/pr_prek.yaml b/.github/workflows/pr_prek.yaml index bb103633..34195963 100644 --- a/.github/workflows/pr_prek.yaml +++ b/.github/workflows/pr_prek.yaml @@ -32,7 +32,7 @@ jobs: persist-credentials: false submodules: recursive fetch-depth: 0 - - uses: stackabletech/actions/run-prek@e8aed001d347bcf693e41b61f4098b0cb94b4ab6 # v0.18.0 + - uses: stackabletech/actions/run-prek@34a64229959b15db6c5f307db8809805ba7edc55 # v0.18.3 with: rust: ${{ env.RUST_TOOLCHAIN_VERSION }} hadolint: ${{ env.HADOLINT_VERSION }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 24c60ce9..74002636 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -108,11 +108,33 @@ repos: - id: cargo-doc name: cargo-doc language: system + env: + RUSTDOCFLAGS: "-D warnings" entry: cargo doc --no-deps --document-private-items stages: [pre-commit, pre-merge-commit] pass_filenames: false files: \.rs$|Cargo\.(toml|lock) + - id: cargo-doc-all-features + name: cargo-doc-all-features + language: system + env: + RUSTDOCFLAGS: "-D warnings" + entry: cargo doc --no-deps --document-private-items --all-features + stages: [pre-commit, pre-merge-commit] + pass_filenames: false + files: \.rs$|Cargo\.(toml|lock) + + - id: cargo-doc-no-default-features + name: cargo-doc-no-default-features + language: system + env: + RUSTDOCFLAGS: "-D warnings" + entry: cargo doc --no-deps --document-private-items --no-default-features + stages: [pre-commit, pre-merge-commit] + pass_filenames: false + files: \.rs$|Cargo\.(toml|lock) + - id: cargo-test name: cargo-test language: system