Skip to content
Snippets Groups Projects
Commit 97c0f336 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Pass the variable via tf-apply because we are inheriting it's artifacts but not prep-deploy

parent c4bbac8d
No related branches found
No related tags found
No related merge requests found
...@@ -115,6 +115,7 @@ tf-apply: ...@@ -115,6 +115,7 @@ tf-apply:
- export instance_id=$(terraform output -raw xdmod_instance_id) - export instance_id=$(terraform output -raw xdmod_instance_id)
- echo "instance_floating_ip=${instance_floating_ip}" | tee -a $CI_PROJECT_DIR/vars.env - echo "instance_floating_ip=${instance_floating_ip}" | tee -a $CI_PROJECT_DIR/vars.env
- echo "instance_id=${instance_id}" | tee -a $CI_PROJECT_DIR/vars.env - echo "instance_id=${instance_id}" | tee -a $CI_PROJECT_DIR/vars.env
- echo "prod_instance_id=${prod_instance_id}" | tee -a $CI_PROJECT_DIR/vars.env
artifacts: artifacts:
reports: reports:
dotenv: vars.env dotenv: vars.env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment