Skip to content

Commit

Permalink
update image names/tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed Oct 20, 2023
1 parent b69f9f4 commit b887690
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
CAIKIT_IMAGE=quay.io/opendatahub/caikit-tgis-serving

.PHONY: default refresh-poetry-lock-files

default:
podman build \
-t opendatahub/caikit:latest \
-t opendatahub/caikit:$$(git rev-parse --short HEAD) \
-t $(CAIKIT_IMAGE):dev \
-t $(CAIKIT_IMAGE):$$(git rev-parse --short HEAD) \
.


refresh-poetry-lock-files: default
podman run --user root -it --rm \
--volume $$(pwd):/app:z \
--workdir /app \
opendatahub/caikit:latest \
$(CAIKIT_IMAGE):dev \
/bin/bash -c " \
pip install poetry && \
poetry update \
Expand All @@ -20,5 +22,5 @@ refresh-poetry-lock-files: default
shell: default
podman run -it --rm \
--name caikit-tgis-serving-test-$$(git rev-parse --short HEAD) \
opendatahub/caikit:$$(git rev-parse --short HEAD) \
$(CAIKIT_IMAGE):dev \
/bin/bash
4 changes: 2 additions & 2 deletions docs/caikit-servingruntime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
name: caikit
containers:
- name: kserve-container
image: quay.io/opendatahub/text-generation-inference:stable-bafd218
image: quay.io/opendatahub/text-generation-inference:stable
command: ["text-generation-launcher"]
args: ["--model-name=/mnt/models/artifacts/"]
env:
Expand All @@ -54,7 +54,7 @@ spec:
# cpu: 8
# memory: 16Gi
- name: transformer-container
image: quay.io/opendatahub/caikit:latest
image: quay.io/opendatahub/caikit-tgis-serving:stable
volumeMounts:
- name: config-volume
mountPath: /caikit/config/
Expand Down

0 comments on commit b887690

Please sign in to comment.