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

Added option to pass workspace to train script #25

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stiebels
Copy link
Contributor

@stiebels stiebels commented Feb 28, 2024

Added option to pass a MLDE workspace name to the train script. Especially makes sense if role that's used to train has restricted permissions/is bound to a workspace.

Tested with providing the arg+value and without providing the arg (defaults to None).

Can provide the image that I built with the change and ran the test with - let me know.

Reason for the breaking build is:
https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow

With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository.

I can either shift the branch to this repo or we "are ok" with it showing a broken build here.

@stiebels stiebels changed the title [WIP/To-be-tested] Added option to pass workspace to train script Added option to pass workspace to train script Feb 29, 2024
@stiebels stiebels marked this pull request as ready for review February 29, 2024 12:55
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.

1 participant