grumpper
What environment anad shell are task commands executed in?
found it!
if you put everything you want in a script and invoke the script as follows:
and then setup the task simply like this:
everything works as expected:
pipefail
and $?
work as intended without having to ignore any errors or break the execution.4 replies
dotnev variable value calculation
this is kinda weird though because i am seeing the opposite.
I am trying to use it in github CI/CD automation (as part of a custom github action).
My idea is for the user to provide a .env file with configuration (i.e.
DEPLOY=true
) but if the user don't do that I still get to set it up from my own .env file.
So I tested it and if what you are saying was true it should have been true
but was actually still false
...
This is the specific example:
Here is the code:
In the client's side's uci.env
the setting is TERRAFORM_CHECKS=false
In the action's side is still TERRAFORM_CHECKS=true
The step gets executed... 😦7 replies