Drone

Would it be an idea to have public secrets?

  • by which I mean bits of information configured and used like drone secrets are but visible rather than kept secret

An alternative would be to either create global environment variables [1] or use an environment extension [2]. The environment variables are injected into the pipeline and would behave similar to secrets. This is a good candidate for an extension, since their purpose is to accommodate bespoke feature requests.

[1] https://docs.drone.io/runner/docker/configuration/reference/drone-runner-env-file/
[2] https://docs.drone.io/extensions/environment/

1 Like