Skip to content

Commit

Permalink
Remove the GitHub comment feature as it doesn't work with PRs from fo…
Browse files Browse the repository at this point in the history
…rks (strimzi#10316)

Signed-off-by: Jakub Scholz <www@scholzj.com>
  • Loading branch information
scholzj authored Jul 9, 2024
1 parent 9ae77ae commit 0225fc1
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .azure/templates/jobs/build/build_strimzi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,33 +58,8 @@ jobs:
displayName: "Run Shellcheck"
- bash: "make release_files_check"
displayName: "Check released files"
- task: GitHubComment@0
displayName: "Comment on the PR for forbidden release file changes"
condition: failed()
inputs:
gitHubConnection: strimzi
comment: >
This PR contains forbidden changes to the `examples/`, `install/`, or `helm-chart/` directories.
These directories can be updated only as part of a Strimzi release.
Any other changes to examples, installation files, or to the Helm chart should be done in the `packaging/` directory.
- bash: ".azure/scripts/uncommitted-changes.sh"
displayName: "Check for uncommitted files"
- task: GitHubComment@0
displayName: "Comment on the PR for uncommitted files"
condition: failed()
inputs:
gitHubConnection: strimzi
comment: |
This PR contains uncommitted changes to the generated files in the `packaging/`, `documentation/`, `cluster-operator/src/main/resources/cluster-roles`, or `api/src/test/resources/io/strimzi/api/kafka/model` directories.
To fix this, please run the following command:
```
mvn clean verify -DskipTests -DskipITs \
&& make crd_install \
&& make dashboard_install \
&& make helm_install \
&& git add packaging/install/ packaging/helm-charts/ documentation/modules/appendix_crds.adoc cluster-operator/src/main/resources/cluster-roles \
&& git commit -s -m 'Update derived resources'
```

# We have to TAR the artifacts directory and store it
- bash: tar -cvpf binaries.tar ./docker-images/artifacts/binaries
Expand Down

0 comments on commit 0225fc1

Please sign in to comment.