Skip to content

Commit

Permalink
ci-operator/templates/openshift: Drop --log-level=debug
Browse files Browse the repository at this point in the history
This makes it easier for folks who are less familiar with the debug
logs to find the actual error message.  For folks who *do* need access
to the debug logs, we still have those in the recovered artifacts
since openshift/installer@06c5fd36 (openshift-install: log debug
output to file, 2018-11-15, openshift/installer#689).

Generated with:

  $ sed -i 's/--log-level.debug //' $(git grep -l -- '--log-level.debug')
  • Loading branch information
wking committed Dec 19, 2018
1 parent f407268 commit c86cee4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ objects:
exit 1
fi
/bin/openshift-install --dir=/tmp/artifacts/installer --log-level=debug create cluster &
/bin/openshift-install --dir=/tmp/artifacts/installer create cluster &
wait "$!"
# Performs cleanup of all created resources
Expand Down Expand Up @@ -452,7 +452,7 @@ objects:
echo "Deprovisioning cluster ..."
export AWS_SHARED_CREDENTIALS_FILE=/etc/openshift-installer/.awscred
openshift-install --dir /tmp/artifacts/installer --log-level debug destroy cluster
openshift-install --dir /tmp/artifacts/installer destroy cluster
}
trap 'teardown' EXIT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ objects:
exit 1
fi
/bin/openshift-install --dir=/tmp/artifacts/installer --log-level=debug create cluster &
/bin/openshift-install --dir=/tmp/artifacts/installer create cluster &
wait "$!"
# Performs cleanup of all created resources
Expand Down Expand Up @@ -424,7 +424,7 @@ objects:
echo "Deprovisioning cluster ..."
export AWS_SHARED_CREDENTIALS_FILE=/etc/openshift-installer/.awscred
openshift-install --dir /tmp/artifacts/installer --log-level debug destroy cluster
openshift-install --dir /tmp/artifacts/installer destroy cluster
}
trap 'teardown' EXIT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ objects:
fi
# Need to copy install-config.yml as it gets consumed.
cp /tmp/artifacts/installer/install-config.yml /tmp/artifacts/installer/install-config-ansible.yml
/bin/openshift-install --dir=/tmp/artifacts/installer --log-level=debug create ignition-configs &
/bin/openshift-install --dir=/tmp/artifacts/installer create ignition-configs &
wait "$!"
# Runs an install
Expand Down

0 comments on commit c86cee4

Please sign in to comment.