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

fix: name all args for add_services instruction in quickstart #316

Merged
merged 3 commits into from
Mar 23, 2023

Conversation

leeederek
Copy link
Contributor

Description:

Since Starlark requires named args to come after positional args, or have all args be named, the change made here meant that the starlark package would fail to run.

This PR names all the args in the add_service and add_services instruction in our quickstart code snippets to ensure it runs smoothly. This change also ensures that the code snippet follows the same syntax structure as what our reference docs say here

Is this change user facing?

YES

References (if applicable):

#299

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 23, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4816b4c
Status: ✅  Deploy successful!
Preview URL: https://4667905c.kurtosis-docs.pages.dev
Branch Preview URL: https://derek-quickstart-name-all-ar.kurtosis-docs.pages.dev

View logs

@leeederek leeederek merged commit d413826 into main Mar 23, 2023
@leeederek leeederek deleted the derek/quickstart-name-all-args-in-add-service branch March 23, 2023 15:55
leoporoli pushed a commit that referenced this pull request Mar 23, 2023
## Description:
Since Starlark requires named args to come after positional args, or
have all args be named, the change made
[here](https://github.com/kurtosis-tech/kurtosis/pull/299/files#diff-db23839e9fa71374d53983730e318028367dff34e8c817cd1e8acfec09624fe8L200)
meant that the starlark package would fail to run.

This PR names _all_ the args in the `add_service` and `add_services`
instruction in our quickstart code snippets to ensure it runs smoothly.
This change also ensures that the code snippet follows the same syntax
structure as what our reference docs say
[here](https://docs.kurtosis.com/reference/starlark-instructions#add_service)

## Is this change user facing?
YES
<!-- If yes, please add the "user facing" label to the PR -->
<!-- If yes, don't forget to include docs changes where relevant -->

## References (if applicable):
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->
#299

---------

Co-authored-by: Derek Lee <derek@Dereks-MacBook-Pro.local>
gbouv pushed a commit that referenced this pull request Mar 27, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.70.1](0.70.0...0.70.1)
(2023-03-27)


### Features

* Add context `rm` command
([#275](#275))
([c20ca12](c20ca12))
* Add context `switch` CLI command
([#317](#317))
([ebab7eb](ebab7eb))
* add kurtosis engine logs command that dumps logs for all engines in
target dir
([#313](#313))
([cbb588c](cbb588c))
* result of add service contains a `name` property
([#314](#314))
([af8ca5f](af8ca5f))
* Tunnel remote APIC port to local machine using Kurtosis Portal
([#295](#295))
([4c3ba69](4c3ba69))


### Bug Fixes

* add example historical version
([#150](#150))
([1548489](1548489))
* be clear about the engine that is being started
([#282](#282))
([5bc1b79](5bc1b79))
* Fix starlark value reference bug
([#322](#322))
([63f6626](63f6626))
* name all args for add_services instruction in quickstart
([#316](#316))
([d413826](d413826))
* reformat build prereqs in readme
([#290](#290))
([c286151](c286151))

---
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>
leoporoli pushed a commit that referenced this pull request Mar 27, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.70.1](0.70.0...0.70.1)
(2023-03-27)


### Features

* Add context `rm` command
([#275](#275))
([c20ca12](c20ca12))
* Add context `switch` CLI command
([#317](#317))
([ebab7eb](ebab7eb))
* add kurtosis engine logs command that dumps logs for all engines in
target dir
([#313](#313))
([cbb588c](cbb588c))
* result of add service contains a `name` property
([#314](#314))
([af8ca5f](af8ca5f))
* Tunnel remote APIC port to local machine using Kurtosis Portal
([#295](#295))
([4c3ba69](4c3ba69))


### Bug Fixes

* add example historical version
([#150](#150))
([1548489](1548489))
* be clear about the engine that is being started
([#282](#282))
([5bc1b79](5bc1b79))
* Fix starlark value reference bug
([#322](#322))
([63f6626](63f6626))
* name all args for add_services instruction in quickstart
([#316](#316))
([d413826](d413826))
* reformat build prereqs in readme
([#290](#290))
([c286151](c286151))

---
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>
leeederek added a commit that referenced this pull request Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants