Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow injecting environment variables to jobs #237

Merged
merged 19 commits into from
Dec 5, 2022

Conversation

kienstra
Copy link
Member

@kienstra kienstra commented Dec 5, 2022

Changes

  • Allow injecting environment variables to jobs

Testing Steps

  1. Add this to VS Code's settings.json:
    "local-ci.command.job.enable-post-command": true
  1. Run a job
  2. You'll be prompted to enter something: Screen Shot 2022-12-05 at 4 17 27 PM
  3. Enter -e FOO=BAR
    …or any other environment variable. The -e flag tells the CLI to expect environment variables.
  4. Expected: That env var will appear in the job, redacted: Screen Shot 2022-12-05 at 4 09 04 PM

@kienstra kienstra changed the title Allow adding to the job command Allow injecting environment variables to a job Dec 5, 2022
@kienstra kienstra changed the title Allow injecting environment variables to a job Allow injecting environment variables to jobs Dec 5, 2022
@kienstra kienstra marked this pull request as ready for review December 5, 2022 22:24
@kienstra kienstra merged commit 97b104b into develop Dec 5, 2022
@kienstra kienstra deleted the updated/add-before-command branch December 5, 2022 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant