diff --git a/.github/ISSUE_TEMPLATE/02-bug_report.yml b/.github/ISSUE_TEMPLATE/02-bug_report.yml index e6e17e72..8938610b 100644 --- a/.github/ISSUE_TEMPLATE/02-bug_report.yml +++ b/.github/ISSUE_TEMPLATE/02-bug_report.yml @@ -12,12 +12,13 @@ body: label: Affected Stackable version description: Which version of the Stackable Operator do you see this bug in? -# + # - type: input attributes: label: Affected Apache Superset version description: Which version of Apache Superset do you see this bug in? -# + # + - type: textarea attributes: label: Current and expected behavior @@ -39,7 +40,7 @@ body: attributes: label: Environment description: | - What type of kubernetes cluster you are running aginst (k3s/eks/aks/gke/other) and any other information about your environment? + What type of kubernetes cluster you are running against (k3s/eks/aks/gke/other) and any other information about your environment? placeholder: | Examples: Output of `kubectl version --short` diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 18209fba..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,54 +0,0 @@ ---- -name: "🐛 Bug Report" -description: "If something isn't working as expected 🤔." -labels: ["type/bug"] -body: - - type: markdown - attributes: - value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible. - - - type: input - attributes: - label: Affected Stackable version - description: Which version of the Stackable Operator do you see this bug in? - - - type: input - attributes: - label: Affected Apache Superset version - description: Which version of Apache Superset do you see this bug in? - - - type: textarea - attributes: - label: Current and expected behavior - description: A clear and concise description of what the operator is doing and what you would expect. - validations: - required: true - - - type: textarea - attributes: - label: Possible solution - description: "If you have suggestions on a fix for the bug." - - - type: textarea - attributes: - label: Additional context - description: "Add any other context about the problem here. Or a screenshot if applicable." - - - type: textarea - attributes: - label: Environment - description: | - What type of kubernetes cluster you are running aginst (k3s/eks/aks/gke/other) and any other information about your environment? - placeholder: | - Examples: - Output of `kubectl version --short` - - - type: dropdown - attributes: - label: Would you like to work on fixing this bug? - description: | - **NOTE**: Let us know if you would like to submit a PR for this. We are more than happy to help you through the process. - options: - - "yes" - - "no" - - "maybe" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b48719fa..eda6bb6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -155,7 +155,7 @@ jobs: with: key: clippy cache-all-crates: "true" - # TODO (@Techassi): Remove this step (unmaintained action, kinda useless step anyway) + # TODO (@Techassi): Remove this step (unmaintained action, kinda useless step anyway) - name: Run clippy action to produce annotations uses: giraffate/clippy-action@13b9d32482f25d29ead141b79e7e04e7900281e0 # v1.0.1 env: @@ -165,7 +165,7 @@ jobs: clippy_flags: --all-targets -- -D warnings reporter: 'github-pr-review' github_token: ${{ secrets.GITHUB_TOKEN }} - # TODO (@Techassi): Remove, done by pre-commit + # TODO (@Techassi): Remove, done by pre-commit - name: Run clippy manually without annotations env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -345,9 +345,9 @@ jobs: with: toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} components: rustfmt - # This step checks if the current run was triggered by a push to a pr (or a pr being created). - # If this is the case it changes the version of this project in all Cargo.toml files to include the suffix - # "-pr" so that the published artifacts can be linked to this PR. + # This step checks if the current run was triggered by a push to a pr (or a pr being created). + # If this is the case it changes the version of this project in all Cargo.toml files to include the suffix + # "-pr" so that the published artifacts can be linked to this PR. - uses: stackabletech/cargo-install-action@main with: crate: cargo-edit @@ -383,8 +383,8 @@ jobs: run: | # Installing helm and yq on ubicloud-standard-8-arm only if [ "$(arch)" = "aarch64" ]; then - curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list + curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://packages.buildkite.com/helm-linux/helm-debian/any/ any main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list sudo apt-get -y update sudo apt-get -y install helm sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index b58d2bac..c3aa54ff 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -3,8 +3,8 @@ name: Integration Test on: # schedule: - # At 00:00 on Sunday. See: https://crontab.guru/#0_0_*_*_0 - # - cron: "0 0 * * 0" + # # At 00:00 on Sunday. See: https://crontab.guru/#0_0_*_*_0 + # - cron: "0 0 * * 0" workflow_dispatch: inputs: test-mode: @@ -40,7 +40,7 @@ jobs: # TODO: Enable the scheduled runs which hard-code what profile to use - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@736565e3b8f657bcddff2897abcf5ccb82ae3e6c # v0.9.0 + uses: stackabletech/actions/run-integration-test@bdac99602eb834b85fdddf207d68e51d0e8b9380 # v0.9.3 with: replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} test-mode-input: ${{ inputs.test-mode-input }} @@ -50,7 +50,7 @@ jobs: - name: Send Notification if: ${{ failure() || github.run_attempt > 1 }} - uses: stackabletech/actions/send-slack-notification@736565e3b8f657bcddff2897abcf5ccb82ae3e6c # v0.9.0 + uses: stackabletech/actions/send-slack-notification@bdac99602eb834b85fdddf207d68e51d0e8b9380 # v0.9.3 with: slack-token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }} failed-tests: ${{ steps.test.outputs.failed-tests }} diff --git a/.github/workflows/pr_pre-commit.yaml b/.github/workflows/pr_pre-commit.yaml index 776d3ee5..2ebb1e9c 100644 --- a/.github/workflows/pr_pre-commit.yaml +++ b/.github/workflows/pr_pre-commit.yaml @@ -26,7 +26,7 @@ jobs: persist-credentials: false submodules: recursive fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@736565e3b8f657bcddff2897abcf5ccb82ae3e6c # v0.9.0 + - uses: stackabletech/actions/run-pre-commit@bdac99602eb834b85fdddf207d68e51d0e8b9380 # v0.9.3 with: python-version: ${{ env.PYTHON_VERSION }} rust: ${{ env.RUST_TOOLCHAIN_VERSION }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d8f954a5..57524410 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,7 @@ repos: rev: 79a6b2b1392eaf49cdd32ac4f14be1a809bbd8f7 # 1.37.1 hooks: - id: yamllint + args: ["--strict"] - repo: https://github.com/igorshubovych/markdownlint-cli rev: 192ad822316c3a22fb3d3cc8aa6eafa0b8488360 # 0.45.0