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

Add some minor improvements in the GHA's kubeapps-general pipeline #5685

Merged
merged 2 commits into from
Nov 21, 2022

Conversation

beni0888
Copy link
Collaborator

Signed-off-by: Jesús Benito Calzada [email protected]

Description of the change

This commit adds just some minor improvements to the GHA's kubeapps-general workflow. The changes consist mainly of applying more restrictive bash options (set -eu) so the scripts fail out loud when a required env var is not defined and finish their execution when an intermediate command returns a non-zero code.

Benefits

We follow shell script's best practices to try to avoid subtle bugs.

Possible drawbacks

More restrictive bash options could result in breaking some currently running scripts, or even lead us to discover some unnoticed misbehaviors.

Applicable issues

Additional information

None

@netlify
Copy link

netlify bot commented Nov 21, 2022

Deploy Preview for kubeapps-dev canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 5b59bdf
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/637b665b654e5100073d6eeb

@beni0888 beni0888 added component/ci Issue related to kubeapps ci system github_actions Pull requests that update GitHub Actions code labels Nov 21, 2022
@beni0888 beni0888 added this to the Migrate CI to GitHub Actions milestone Nov 21, 2022
@beni0888 beni0888 marked this pull request as ready for review November 21, 2022 11:49
Signed-off-by: Jesús Benito Calzada <[email protected]>
Copy link
Collaborator

@ppbaena ppbaena left a comment

Choose a reason for hiding this comment

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

LGTM

@beni0888 beni0888 merged commit 6b5f2d4 into vmware-tanzu:main Nov 21, 2022
@beni0888 beni0888 deleted the gha-minor-improvements branch November 21, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required component/ci Issue related to kubeapps ci system github_actions Pull requests that update GitHub Actions code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants