Skip to content

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

Open
elfosardo wants to merge 1 commit intoopenshift-metal3:masterfrom
elfosardo:euxo-pipefail-them-all
Open

Use set -euxo pipefail in 03, 05, and 06 scripts#1888
elfosardo wants to merge 1 commit intoopenshift-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
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants