Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

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

Merged
beni0888 merged 2 commits into
vmware-tanzu:mainfrom
beni0888:gha-minor-improvements
Nov 21, 2022
Merged

Add some minor improvements in the GHA's kubeapps-general pipeline#5685
beni0888 merged 2 commits into
vmware-tanzu:mainfrom
beni0888:gha-minor-improvements

Conversation

@beni0888
Copy link
Copy Markdown
Collaborator

Signed-off-by: Jesús Benito Calzada bjesus@vmware.com

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

Signed-off-by: Jesús Benito Calzada <bjesus@vmware.com>
@netlify
Copy link
Copy Markdown

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 <bjesus@vmware.com>
Copy link
Copy Markdown
Contributor

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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