Open aidenvaines-bjss opened 4 months ago
I've also recently setup a project and I'm seeing these errors - it is also affecting the pre-commit
config for Terraform, meaning that for now the Git hooks have to be bypassed on commits, and I'm reliant on the CI to catch any problems here.
So I believe https://github.com/nhs-england-tools/repository-template/blob/main/scripts/init.mk#L88 ought to be responsible for making that work. Can we understand why it isn't?
I can't see anything wrong with the proposed fix, but there might be something important we're missing here.
Is there an existing issue for this?
Current Behavior
The docker related make targets don't appear to work correctly you get
I believe the reason behind this is the docker targets have a flaw in that they use 'source' which is not POSIX compliant, its a bash built-in and not all shells support it. The POSIX compliant way is to use
.
(https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Bourne-Shell-Builtins)Expected Behavior
Steps To Reproduce
make runner-act workflow=cicd-1-pull-request job=commit-stage
Output
No response
Code of Conduct
Sensitive Information Declaration