Commit 4c634440 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: rename output dotenv to prevent collision with input dotenv file

parent 7ec57eaf
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -382,7 +382,7 @@ stages:
    log_info "--- \$hostname: \\e[33;1m${hostname}\\e[0m"

    # unset any upstream deployment env & artifacts
    rm -f openshift.env
    rm -f openshift.out.env
    rm -f environment_url.txt

    # maybe execute deploy script
@@ -419,7 +419,7 @@ stages:
    else
      echo "$environment_url" > environment_url.txt
    fi
    echo -e "environment_type=$environment_type\\nenvironment_name=$environment_name\\nenvironment_url=$environment_url" > openshift.env
    echo -e "environment_type=$environment_type\\nenvironment_name=$environment_name\\nenvironment_url=$environment_url" > openshift.out.env

    check_readiness
  }
@@ -635,7 +635,7 @@ stages:
    paths:
      - environment_url.txt
    reports:
      dotenv: openshift.env
      dotenv: openshift.out.env
  environment:
    url: "$environment_url" # can be either static or dynamic