-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
2
-
False
-
None
-
False
-
Testable
-
No
-
-
-
-
-
-
-
No
-
No
-
Pending
-
None
-
-
Description of problem:
ModelMesh needs buildId to work properly but openshift-ci can not set it dynamically. Without the buildId, modelmesh runtime always failed.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- build the image
- deploy servingruntime
- create a sample isvc
Actual results:
Modelmesh container failed to run
Expected results:
Modelmesh should run without issues.
Reproducibility (Always/Intermittent/Only Once):
Build Details:
Workaround:
build manually with the following:
GIT_COMMIT=$(git rev-parse HEAD)
BUILD_ID=$(date '+%Y%m%d')-$(git rev-parse HEAD | cut -c -5)
IMAGE_TAG_VERSION=0.11.0-alpha
IMAGE_TAG=${IMAGE_TAG_VERSION}-$(git branch --show-current)_${BUILD_ID}
docker build -t quay.io/opendatahub/modelmesh:${IMAGE_TAG_VERSION} \
--build-arg imageVersion=${IMAGE_TAG} \
--build-arg buildId=${BUILD_ID} \
--build-arg commitSha=${GIT_COMMIT} .