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

Introduce a Python runtime Runner image #1487

Closed
2 tasks done
Tracked by #614
RealAnna opened this issue May 30, 2023 · 0 comments · Fixed by #1496
Closed
2 tasks done
Tracked by #614

Introduce a Python runtime Runner image #1487

RealAnna opened this issue May 30, 2023 · 0 comments · Fixed by #1496
Assignees
Labels
enhancement New feature or request

Comments

@RealAnna
Copy link
Contributor

RealAnna commented May 30, 2023

Goal

Create a Python runtime runner image that can run any user-defined Python script, which will be passed to it via parameters.

Details

The Python script is passed to the image either via url from a public repository or as a path to a local script, always via env variables. It also supports passing Python command line arguments via env variables for more flexibility for the end user.

Acceptance Criteria

  • The following packages are already available in the Python runner image: requests, json, git, yaml

DoD

  • Dockerfile for building the image is in place
  • Bash script accepting the env variables and running the script

Resources

PoC of brief implementation of the Dockerfile can be found here as well as the bash script accepting the env variables here

@RealAnna RealAnna changed the title Introduce a Python runtime Runner [WIP]Introduce a Python runtime Runner May 30, 2023
@odubajDT odubajDT changed the title [WIP]Introduce a Python runtime Runner Introduce a Python runtime Runner image May 30, 2023
@odubajDT odubajDT added enhancement New feature or request status: ready-for-refinement Issue is relevant for the next backlog refinment operator and removed operator labels May 30, 2023
@RealAnna RealAnna self-assigned this May 30, 2023
@thisthat thisthat moved this to 🎟️ Refined in Keptn Lifecycle Toolkit May 30, 2023
@thisthat thisthat removed the status: ready-for-refinement Issue is relevant for the next backlog refinment label May 30, 2023
@github-project-automation github-project-automation bot moved this from 🎟️ Refined to ✅ Done in Keptn Lifecycle Toolkit May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants