Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use a script for check-preflight-clusterrole.sh #20786

Merged

Conversation

ldelossa
Copy link
Contributor

@ldelossa ldelossa commented Aug 4, 2022

it's not convenient to have inline scripts in github actions, as we
can't run the actions which fail a CI run, locally.

this commit moves the clusterrole preflight check into a script that can
be ran locally before pushing the branch up.

Signed-off-by: Louis DeLosSantos louis.delos@isovalent.com

Move the clusterrole precheck inline script to one that can be ran locally.

@ldelossa ldelossa requested review from a team as code owners August 4, 2022 15:38
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 4, 2022
@ldelossa ldelossa added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Aug 4, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 4, 2022
@ldelossa ldelossa force-pushed the ldelossa/dont-inline-clusterrole-precheck branch from aae8840 to f4b6b7c Compare August 4, 2022 16:24
Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor comment as per below, not a blocker though 💯

.github/workflows/tests-smoke.yaml Outdated Show resolved Hide resolved
it's not convenient to have inline scripts in github actions, as we
can't run the actions which fail a CI run locally.

this commit moves the clusterrole preflight check into a script that can
be ran locally before pushing the branch up.

Signed-off-by: Louis DeLosSantos <louis.delos@isovalent.com>
@ldelossa ldelossa force-pushed the ldelossa/dont-inline-clusterrole-precheck branch from f4b6b7c to 1569735 Compare August 5, 2022 14:01
@ldelossa ldelossa requested a review from a team as a code owner August 5, 2022 14:01
@ldelossa ldelossa requested a review from borkmann August 5, 2022 14:01
@ldelossa
Copy link
Contributor Author

ldelossa commented Aug 5, 2022

@sayboras I just force pushed the suggested Makefile version. LMK what you think.

Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@ldelossa
Copy link
Contributor Author

ldelossa commented Aug 5, 2022

I don't think we need to run full CI tests since this does not touch the code.

Marking ready to merge.

@ldelossa ldelossa added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Aug 5, 2022
@nbusseneau nbusseneau merged commit 9e6f2bb into cilium:master Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants