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

feat(testworkflows): resolve env as map of environment variables / add entries function to process it #5544

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

rangoo94
Copy link
Member

@rangoo94 rangoo94 commented Jun 6, 2024

Pull request description

  • Resolve env as map of environment variables
  • Add entries function to process that map

Example

shellquote(map(entries(env), "\"-J\" + _.value.key + \"=\" + _.value.value")...)

Checklist (choose whats happened)

  • breaking change! (describe)
  • tested locally
  • tested on cluster
  • added new dependencies
  • updated the docs
  • added a test

Copy link

netlify bot commented Jun 6, 2024

Deploy Preview for testkube-docs-preview canceled.

Name Link
🔨 Latest commit 73785ea
🔍 Latest deploy log https://app.netlify.com/sites/testkube-docs-preview/deploys/666192ab8bac4a0008d0b673

@rangoo94 rangoo94 merged commit a00c90d into develop Jun 6, 2024
11 checks passed
@rangoo94 rangoo94 deleted the dawid/feat/resolve-env-variable branch June 6, 2024 11:04
rangoo94 added a commit that referenced this pull request Jun 6, 2024
…add `entries` function to process it (#5544)

* feat(testworkflows): expose env map for TestWorkflow expressions
* feat(testworkflows): expose `entries(map)` function for the TestWorkflow expressions
* feat(testworkflows): document `entries()` function
* feat(testworkflows): add entries() unit test
rangoo94 added a commit that referenced this pull request Jun 6, 2024
…add `entries` function to process it (#5544)

* feat(testworkflows): expose env map for TestWorkflow expressions
* feat(testworkflows): expose `entries(map)` function for the TestWorkflow expressions
* feat(testworkflows): document `entries()` function
* feat(testworkflows): add entries() unit test
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.

2 participants