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: Starlark package arguments will be parsed as a deep Struct when "_kurtosis_parser": "struct" is passed in the arguments JSON #884

Merged
merged 1 commit into from Jul 13, 2023

Conversation

gbouv
Copy link
Contributor

@gbouv gbouv commented Jul 13, 2023

Description:

Running kurtosis run github.com/path/to/package '{"_kurtosis_parser": "struct", "arg1": "val1", "arg2": "val2", ...}' will parse the arguments as a Starlark struct, rather than a simple dictionary.

Is this change user facing?

YES

References (if applicable):

@gbouv gbouv requested a review from h4ck3rk3y July 13, 2023 14:52
@gbouv gbouv changed the title Starlark package arguments will be parsed as a deep Struct when "_kurtosis_parser": "struct" is passed in the arguments JSON feat: Starlark package arguments will be parsed as a deep Struct when "_kurtosis_parser": "struct" is passed in the arguments JSON Jul 13, 2023
@gbouv gbouv force-pushed the gbouv/starlark-args-struct-parser branch from 419e88e to e6d5dd5 Compare July 13, 2023 14:54
@gbouv gbouv force-pushed the gbouv/starlark-args-struct-parser branch from e6d5dd5 to ac99e70 Compare July 13, 2023 15:06
…rtosis_parser": "struct"` is passed in the arguments JSON
@gbouv gbouv force-pushed the gbouv/starlark-args-struct-parser branch from ac99e70 to be9527f Compare July 13, 2023 15:07
@gbouv gbouv merged commit 39ec8c2 into main Jul 13, 2023
29 checks passed
@gbouv gbouv deleted the gbouv/starlark-args-struct-parser branch July 13, 2023 15:50
victorcolombo pushed a commit that referenced this pull request Jul 17, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.80.9](0.80.8...0.80.9)
(2023-07-17)


### Features

* added a command that opens the Kurtosis Web UI
([#870](#870))
([5098969](5098969))
* allow for relative imports from packages
([#891](#891))
([42bedab](42bedab))
* Autocomplete file artifact name on download
([#910](#910))
([2cedd08](2cedd08))
* Make output directory optional for files download
([#909](#909))
([2543d9a](2543d9a))
* Starlark package arguments will be parsed as a deep Struct when
`"_kurtosis_parser": "struct"` is passed in the arguments JSON
([#884](#884))
([39ec8c2](39ec8c2))


### Bug Fixes

* fixed the log and file artifact issue
([#890](#890))
([7f7fe7b](7f7fe7b))
* pinned go version to 1.19.10 for now
([#907](#907))
([847a37c](847a37c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
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.

None yet

2 participants