• Jaroslava Fiedlerova's avatar
    OC PhySim deployment: log bash script commands · bd1dadaa
    Jaroslava Fiedlerova authored
    Also, don't use "set -x" debugging for oc login command:
    ci-scripts/cls_cmd.py:242 sets BASH_XTRACEFD=1, which makes that all
    "set -x" output is in stdout, leading to a redirect to the file into
    which we redirect. This would lead to the following error with
    unsuccessfull oc login:
    
      error: You are not a member of project "****-core-for-ci-ran".
      Error from server (Forbidden): imagestreams.image.openshift.io "oai-physim"
      is forbidden: User "system:anonymous" cannot get resource "imagestreams" in
      API group "image.openshift.io" in the namespace "****-ran"
    bd1dadaa
oc-deploy-physims.sh 1.54 KB