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

frontend: Fix shebang in build_shared.sh #1743

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

DeltaMichael
Copy link
Contributor

@DeltaMichael DeltaMichael commented Mar 14, 2023

Change shebang in build_shared.sh to !/bin/bash -e

This points to the correct execution shell for build scripts and passes the -e flag, which makes the script fail on the first error exit code

Copy link
Contributor

@ivakoleva ivakoleva left a comment

Choose a reason for hiding this comment

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

LGTM; Are you also considering adding some additional messaging to enable us troubleshooting https://gitlab.com/vmware-analytics/versatile-data-kit/-/jobs/3927259840? Is that one-time only, or reoccurring event?

(nit: may look in k8s cicd namespace to find any traces of runner pods execution)

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fix-shebang branch 2 times, most recently from fdfc3d8 to c46b066 Compare March 14, 2023 16:09
Change shebang in build_shared.sh to !/bin/bash -e
This points to the correct execution shell for build
scripts and passes the -e flag, which makes the script
fail on the forst error exit code

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael
Copy link
Contributor Author

DeltaMichael commented Mar 15, 2023

Also added the verbose flag to .npmrc to enable verbose logging for better troubleshooting of errors.

@DeltaMichael DeltaMichael enabled auto-merge (squash) March 15, 2023 07:30
@DeltaMichael DeltaMichael merged commit ab23c04 into main Mar 15, 2023
@DeltaMichael DeltaMichael deleted the person/mdilyan/fix-shebang branch March 15, 2023 07:48
ivakoleva pushed a commit that referenced this pull request Mar 16, 2023
Change shebang in build_shared.sh to !/bin/bash -e

This points to the correct execution shell for build scripts and passes
the -e flag, which makes the script fail on the first error exit code

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants