Closed eikenb closed 2 years ago
Sorry, I should have explained in a followup. The tests that are failing are additional tests that need to be fixed due to differences with github-actions CI setup (which I am working to migrate hcat to).
The CircleCI test, previously the only test, is still passing and please ignore the github-actions tests for now as I work to fix them.
Better version of writeToFile was later added to consul-template that is more powerful and robust. Porting it over.
Doing this now as consul-template's tests for this functionality work with github-actions CI setup where hashicat's has a permissions issue. Instead of spending a bunch of time fixing it I just decided to go ahead and port this over as it would need to be done later anyways.
Remember to add the
hashicat-update-complete
tag to https://github.com/hashicorp/consul-template/pull/1549 when this is done.