Implement the OCI registry update functionality #1511
Labels
area/registry
Devfile registry for stacks and infrastructure
demo
Issue or PR candidate for a demo at the end of the Sprint
kind/task
/kind task
Which area/kind this issue is related to?
/area registry
Issue Description
The OCI registry should be up-to-date with the
main
branch of the provided env var registry repo URL. As a result, a task should be able to update the OCI registry artifacts whenever a trigger is sent to the webhook of theindex/server
.The task should receive information about the:
commit_hash
of the latest commit that we are updating the OCI registry.The task should update the content of the artifacts for the affected stacks and regenerate the index.json (with the new
commit_hash
inside).Finally, a new endpoint should be created inside the
index/server
. This endpoint should only interact with github repo and trigger every new update of the oci-registry artifacts. Note that this endpoint should have an authentication method in order to be sure that the only requester will be the github repo.Acceptance Criteria
oci-registry
,The text was updated successfully, but these errors were encountered: