Version 1.4 of the orb didn't support multi-line secrets, with each line being exported separately to BASH_ENV. This PR provides a fix.
What?
Needed to change the format of the doppler response to json and parse it with jq rather than a shell script to correctly parse multi-line secrets. The install script now also ensures jq is installed.
Added a new test that sets a multiline environment variable
PR Checklist
[X] Unit tests have been developed to cover current functionality.
[X] Logging has been implemented to cover both informational and error levels.
Fix for https://github.com/ft-circleci-orbs/doppler-circleci-orb/issues/14
Why?
Version 1.4 of the orb didn't support multi-line secrets, with each line being exported separately to BASH_ENV. This PR provides a fix.
What?
Needed to change the format of the doppler response to json and parse it with jq rather than a shell script to correctly parse multi-line secrets. The install script now also ensures jq is installed.
Added a new test that sets a multiline environment variable
PR Checklist