rok8s-scripts icon indicating copy to clipboard operation
rok8s-scripts copied to clipboard

Specify environment for orb container

Open rbren opened this issue 5 years ago • 3 comments

Would be great if we could copy environment variables over from CircleCI over to the orb's executor container

rbren avatar Jan 06 '20 17:01 rbren

This would be a really nice feature. Basically specify something like this:

       - rok8s-scripts/kubernetes_e2e_tests:
           pre_script: e2e/pre.sh
           script: e2e/test.sh
           command_runner_shared_env:
             - CI_SHA1
             - AWS_SECRET_ACCESS_KEY
           filters:
             branches:
               only: /.*/
             tags:
               ignore: /v.*/

In this example, CI_SHA1 and AWS_SECRET_ACCESS key would be added to the docker run command for the command runner container and set to the value of env in the circle executor.

sudermanjr avatar Jan 06 '20 17:01 sudermanjr

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 06 '20 18:03 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 06 '20 02:05 stale[bot]