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: cd in script's shell instead of "if"s subshell #658

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

jahkeup
Copy link
Member

@jahkeup jahkeup commented Jan 16, 2020

Issue #, if available:

#657

Description of changes:

The implicit subshell of the if prevented the cd from moving the scripts' working directory (causing issues where builds requires write-build-meta output in a specific location: #657).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The implicit subshell of the `if` prevented the `cd` from moving the
scripts' working directory (causing issues where builds requires
`write-build-meta` output in a specific location: #657).
@jahkeup jahkeup self-assigned this Jan 16, 2020
@jahkeup
Copy link
Member Author

jahkeup commented Jan 16, 2020

I'll need to kick off another build here with an overridden image containing the fix to verify its fixed here. I expect that the check will fail until then.

Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

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

🌞

Copy link
Contributor

@etungsten etungsten left a comment

Choose a reason for hiding this comment

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

Test seems to come back ok 👍

@jahkeup
Copy link
Member Author

jahkeup commented Jan 16, 2020

Build logs confirm the fix works, in addition to the passing checks..

Will build and push a new backing image with the fix built in before merging. Should see a green checkmark on that merge commit too afterwards.

@jahkeup jahkeup merged commit 5eb7578 into develop Jan 16, 2020
@jahkeup jahkeup deleted the 657-write-build-meta-cd branch January 16, 2020 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants