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

Ability to migrate staging artifacts to prod #55

Open
thorrester opened this issue Oct 18, 2024 · 0 comments
Open

Ability to migrate staging artifacts to prod #55

thorrester opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@thorrester
Copy link
Member

Description

Because opsml runs on the premise that each server should be assigned to a specific environment (i.e. you need to run a staging server and a prod server), a user needs to run the workflow once in staging and in prod in order to populate the registry.

This is the desired behavior; however, there are some cases where a DS only wants to train a model in a jupyter notebook for instance (which may only exist in staging) and wishes to migrate the model from staging to prod.

Proposed change:

Allow a user in prod to migrate a card to prod.

Things to consider/implement:

  • A user must create a username and pass and have permissions to edit the prod repo
  • The staging URI will need to be set as an env var in prod
  • Migration should initially only be available via UI and command lint
  • Migration routes should only exist in prod server
  • Because version matching should be 1:1, we must check if that version already exists in prod (do we fail or force a new version?)
  • All artifacts associated with card will need to be copied to new destination.
  • Service accounts will need access to both staging and prod storage locations.
  • Registry records will need to be pulled from staging and inserted into prod.
@thorrester thorrester added the enhancement New feature or request label Oct 18, 2024
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
None yet
Development

No branches or pull requests

1 participant