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!: removed workdir from run_sh and fixed some typos on the doc #739

Merged
merged 18 commits into from Jun 20, 2023

Conversation

Peeeekay
Copy link
Contributor

@Peeeekay Peeeekay commented Jun 15, 2023

I have removed the workdir from run_sh task to keep it simple. The shell command will either run from root directory or workdir set in the image now. This also means that file artifacts will be accessed using absolute paths, not relative paths.

Previously, result = plan.run_sh(...) would return result.file_aritifacts but now I fixed the typo for consistency and it returns result.files_artifacts and this can be used to access the files artifacts from the task.

@Peeeekay Peeeekay requested a review from h4ck3rk3y June 15, 2023 21:05
@cloudflare-pages
Copy link

cloudflare-pages bot commented Jun 15, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 18f0082
Status: ✅  Deploy successful!
Preview URL: https://3ca1c303.kurtosis-docs.pages.dev
Branch Preview URL: https://pk-fix-workdir-bug.kurtosis-docs.pages.dev

View logs

@h4ck3rk3y
Copy link
Contributor

@Peeeekay lets give this a better title :)

@Peeeekay Peeeekay changed the title fix: fix the bug gyani found fix: removed workdir from run_sh and fixed some typos on the doc Jun 19, 2023
@Peeeekay Peeeekay changed the title fix: removed workdir from run_sh and fixed some typos on the doc fix!: removed workdir from run_sh and fixed some typos on the doc Jun 19, 2023
@Peeeekay Peeeekay merged commit 6406f10 into main Jun 20, 2023
28 checks passed
@Peeeekay Peeeekay deleted the pk/fix_workdir_bug branch June 20, 2023 17:37
h4ck3rk3y pushed a commit that referenced this pull request Jun 21, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.79.0](0.78.5...0.79.0)
(2023-06-21)


### ⚠ BREAKING CHANGES

* removed workdir from run_sh and fixed some typos on the doc
([#739](#739))

### Features

* allow to pop a shell on Kubernetes
([#748](#748))
([3c706e5](3c706e5))


### Bug Fixes

* removed workdir from run_sh and fixed some typos on the doc
([#739](#739))
([6406f10](6406f10))
* Support for reconnects in the Gateway port forwarder
([#736](#736))
([4944ccd](4944ccd)),
closes [#726](#726)
* typos ([#742](#742))
([800e523](800e523))

---
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants