Currently the way we use promci is that we use a top-level action that clones the promci repo so that each action can be used.
This requires manual bumping, which is additional toil and annoyance.
Let's refactor things so that we can call actions directly. For example:
publish_main:
steps:
- uses: prometheus/promci/publish_main@<foo>
This will require splitting out some actions to separate repos to avoid the recursive calls.
prometheus/promci/actions/setup_environment -> prometheus/promci-setup/environment
prometheus/promci/actions/save_artifacts -> prometheus/promci-setup/save_artifacts
prometheus/promci/actions/restore_artifacts -> prometheus/promci-setup/restore_artifacts
prometheus/promci/actions/publish_images -> `prometheus/promci-images
prometheus/promci/actions/publish_release_images -> prometheus/promci-images
We can also inline two actions that are fairly simple:
* save_artifacts
* restore_artifacts
Currently the way we use promci is that we use a top-level action that clones the promci repo so that each action can be used.
This requires manual bumping, which is additional toil and annoyance.
Let's refactor things so that we can call actions directly. For example:
This will require splitting out some actions to separate repos to avoid the recursive calls.
prometheus/promci/actions/setup_environment->prometheus/promci-setup/environmentprometheus/promci/actions/save_artifacts->prometheus/promci-setup/save_artifactsprometheus/promci/actions/restore_artifacts->prometheus/promci-setup/restore_artifactsprometheus/promci/actions/publish_images-> `prometheus/promci-imagesprometheus/promci/actions/publish_release_images->prometheus/promci-imagesWe can also inline two actions that are fairly simple:*save_artifacts*restore_artifacts