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: added run_sh instruction; users can run one time bash task #717

Merged
merged 9 commits into from Jun 13, 2023

Conversation

Peeeekay
Copy link
Contributor

This is the first PR for this project. In this PR, I have added run_sh task, which borrow logic from add_service and exec to execute one time task. A sample output looks like this:

Screen Shot 2023-06-13 at 11 54 22 AM

There are few todos on here, which will be tackling -- ( the first 4 are high priority)

  1. add ability to copy files from this task
  2. add wait to run_sh task
  3. remove/stop this task once it is completed ( I am leaning towards stop)
  4. file mounts can be absolute and relative ( in this PR only absolute is being supported)
  5. maybe show task as separate entity, it is treated as service atm.

Here is the design spec: https://www.notion.so/kurtosistech/run_sh-Design-Spec-b7f7660fe7004cfe92fb0f8884453cfe?pvs=4

@Peeeekay Peeeekay marked this pull request as ready for review June 13, 2023 15:59
@Peeeekay Peeeekay changed the title feat: added run_sh instruction; users can run one time shell task feat: added run_sh instruction; users can run one time bash task Jun 13, 2023
@Peeeekay Peeeekay merged commit 566144a into main Jun 13, 2023
29 checks passed
@Peeeekay Peeeekay deleted the pk/add_run_sh_v1 branch June 13, 2023 19:41
Peeeekay added a commit that referenced this pull request Jun 13, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.78.4](0.78.3...0.78.4)
(2023-06-13)


### Features

* added run_sh instruction; users can run one time bash task
([#717](#717))
([566144a](566144a))

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