feat: Created Playground Containerfile and Image Workflow #1256
+109
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a container file that can be used to build the playground UI.
Also adds a workflow for deploying the image to a docker registry.
Building of the code/image is validated on PRs and the image will be pushed to the docker repo on tags, and given the same image tag as the associated git tag.
Warning
Currently this is pointing to my personal quay repo but that is something I can change once a repo is created for the playground.
Also the secret values for
REGISTRY_USERNAME
andREGISTRY_PASSWORD
you will need to be updated in the project's settings.Test Plan
Validated the validation steps by creating a pr in my personal repo seen here:
https://github.com/jland-redhat/llama-stack/actions/runs/13529371163
Validated the image deploy steps by adding a tag in my personal repo seen here:
https://github.com/jland-redhat/llama-stack/actions/runs/13529380803
Resulting in this image:
https://quay.io/repository/jland/llama-stack-playground?tab=tags
Which I tested on my local Openshift Instance using this helm chart:
https://github.com/Jaland/llama-stack-helm/tree/main/llama-stack