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: "dependencies" support in Application spec #314

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aavarghese
Copy link
Member

@aavarghese aavarghese commented Sep 24, 2024

[WIP]

Adding support for python coded worker Applications..and its dependencies. Similar support for minio dependency.

apiVersion: lunchpail.io/v1alpha1
kind: Application
...
  dependsOn: 
    python: 3.9
    requirements: |
{{ .Files.Get "requirements.txt" | indent 8 }}
apiVersion: lunchpail.io/v1alpha1
kind: Application
...
  dependsOn: 
    minio: latest

lunchpail dependson minio latest lunchpail dependson python 3.9 -f requirements.txt

@starpit
Copy link
Member

starpit commented Sep 24, 2024

nice, what will the underlying lunchpail <> command name be?

@aavarghese
Copy link
Member Author

aavarghese commented Sep 24, 2024

nice, what will the underlying lunchpail <> command name be?

Right now, after some iterations, it is
lunchpail dependson minio <version>
lunchpail dependson python <version> -f requirements.txt

apiVersion: lunchpail.io/v1alpha1
kind: Application
...
  dependsOn: 
    minio: latest

Wdyt?

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.

2 participants