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

Automatic pre-release catalog prep #113

Open
karlcz opened this issue Nov 23, 2020 · 4 comments
Open

Automatic pre-release catalog prep #113

karlcz opened this issue Nov 23, 2020 · 4 comments
Assignees

Comments

@karlcz
Copy link
Contributor

karlcz commented Nov 23, 2020

Define and add mechanisms for automatic processing in response to registry changes:

  • In response to approval decisions, define new releases as latest approved content from each DCC
  • In response to new release definitions, build pre-release catalog

Consider blocking/coallescing behaviors we want here. E.g.

  • how often do we want releases to be defined and/or built as pre-release content if there are frequent approval decisions being entered?
  • will an existing pre-release block subsequest release prep indefinitely, or will we drop and rebuild a pre-release as new content is approved?
@karlcz karlcz changed the title Automatic release catalog prep Automatic pre-release catalog prep Nov 23, 2020
@ACharbonneau
Copy link
Contributor

Did this get resolved? Or should it get moved to the epic 2 technical debt?

@karlcz
Copy link
Contributor Author

karlcz commented Nov 5, 2021

This is partially addressed with an admin CLI:

  1. "release draft" command to idempotently create/revise a current draft release definition
  2. "release build <release>" will seal the definition and construct catalog data
  3. "release publsh <release>" will swap it into place as public catalog "1"
  4. "release purge <release>" can destroy an abandoned pre-release
  5. "release purge-auto" will clean up older content heuristically
  6. "release rebuild-submissions <release>" can rebuild all constituent submissions, i.e. for platform upgrades

For now, an admin can run the commands as needed.

We could start to design some scheduled or event-driven logic to run certain behaviors automatically as part of the infrastructure:

  1. Run "release draft" after submission approval state changes?
  2. Run "release purge-auto" periodically (and similarlly, "submission purge-auto")?

For now, keep pre-release builds as a manual task performed ahead of scheduled release dates.

@ACharbonneau
Copy link
Contributor

Do we think this is done now?

@karlcz
Copy link
Contributor Author

karlcz commented Feb 11, 2022

Not to original statement, but maybe we don't plan to do more than current manual CLI steps? The original was about it happening automatically w/o admin involvement...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants