ft-circleci-orbs / doppler-circleci-orb

A CircleCI orb to load secrets managed in Doppler into CircleCI projects as environment variables.
MIT License
0 stars 0 forks source link

Multiline secrets fix #15

Closed robgodfrey closed 7 months ago

robgodfrey commented 7 months ago

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