Skip to content

Use set -euxo pipefail in 03, 05, and 06 scripts#1888

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift-metal3:masterfrom
elfosardo:euxo-pipefail-them-all
May 21, 2026
Merged

Use set -euxo pipefail in 03, 05, and 06 scripts#1888
openshift-merge-bot[bot] merged 1 commit into
openshift-metal3:masterfrom
elfosardo:euxo-pipefail-them-all

Conversation

@elfosardo
Copy link
Copy Markdown
Member

Replace separate set -x / set -e with set -euxo pipefail in 03_build_installer.sh, 05_create_install_config.sh, and 06_create_cluster.sh for consistency with the other main scripts.

Guard environment variables not set by common.sh with :- defaults in 06_create_cluster.sh to avoid nounset errors.

@openshift-ci openshift-ci Bot requested review from dtantsur and mkowalski April 28, 2026 07:25
Replace separate set -x / set -e with set -euxo pipefail in
03_build_installer.sh, 05_create_install_config.sh, and
06_create_cluster.sh for consistency with the other main scripts.

Guard optional environment variables with :- defaults in
06_create_cluster.sh, utils.sh, and ocp_install_env.sh to avoid
nounset errors for variables not set by common.sh.
@elfosardo elfosardo force-pushed the euxo-pipefail-them-all branch from 7b2a531 to 5a64d89 Compare April 28, 2026 09:24
@dtantsur
Copy link
Copy Markdown
Member

dtantsur commented May 6, 2026

/approve

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 6, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 6, 2026
@MahnoorAsghar
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 21, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit 6e43fa8 into openshift-metal3:master May 21, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants