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

tools: fix incompatibilities between normal and alpine sh #649

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Apr 23, 2024

sh (as executed by Alpine) understands set -o pipefail, but other installations of sh do not.

This commit partially reverts the change from #640 so that the scripts expect bash, and that our usage of alpine installs bash before executing the tools/image-tag-docker script.

`sh` (as executed by Alpine) understands `set -o pipefail`, but other
installations of sh do not.

This commit partially reverts the change from #640 so that the scripts
expect bash, and that our usage of alpine installs bash before executing
the tools/image-tag-docker script.
@rfratto rfratto requested a review from mattdurham April 23, 2024 15:31
@rfratto rfratto marked this pull request as ready for review April 23, 2024 15:31
Copy link
Collaborator

@mattdurham mattdurham left a comment

Choose a reason for hiding this comment

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

Let’s go

@rfratto rfratto merged commit d757696 into main Apr 23, 2024
13 checks passed
@rfratto rfratto deleted the revert-ci-scripts-sh branch April 23, 2024 16:30
@rfratto rfratto added the backport-to-agent:no PR should NOT be backported to the agent repo. label Apr 23, 2024
hainenber pushed a commit to hainenber/alloy that referenced this pull request May 1, 2024
`sh` (as executed by Alpine) understands `set -o pipefail`, but other
installations of sh do not.

This commit partially reverts the change from grafana#640 so that the scripts
expect bash, and that our usage of alpine installs bash before executing
the tools/image-tag-docker script.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to-agent:no PR should NOT be backported to the agent repo. frozen-due-to-age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants