From 4e15d37b8bf64c5c71177c659375e8a1c7274924 Mon Sep 17 00:00:00 2001 From: Ash Kulkarni <51029169+akdigitalself@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:23:43 -0800 Subject: [PATCH] Added debug logs to gitlab ci --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab140b87faa..568f650147e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,8 +20,10 @@ stages: .version: &version | # Extract the open source KServe version as the basis for our forked library version. KSERVE_VERSION=$(cat python/VERSION) + echo 'Kserve version is $KSERVE_VERSION' PY_LIBRARY_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${CI_PIPELINE_IID}" + echo 'Base PY_LIBRARY_VERSION is $PY_LIBRARY_VERSION' if [ "${CI_COMMIT_BRANCH}" != "${RELEASE_BRANCH}" ]; then # TODO Use . instead of . anyways ? PY_LIBRARY_VERSION="${PY_LIBRARY_VERSION}-dev.${CI_PIPELINE_IID}" @@ -30,9 +32,11 @@ stages: else IMAGE_TAG="${PY_LIBRARY_VERSION}" fi + echo 'IMAGE_TAG is $IMAGE_TAG' # Only apply the KServe version to the python library as Docker versions do not have the concept of # build metadata and the "+" character causes errors. PY_LIBRARY_VERSION="${PY_LIBRARY_VERSION}+${KSERVE_VERSION}" + echo 'Final PY_LIBRARY_VERSION is $PY_LIBRARY_VERSION' build:publish: extends: .aip_python_debian_image @@ -59,4 +63,3 @@ build:publish: - if: '$PUBLISH == "true"' # only trigger on zillow/ branches - if: '$CI_COMMIT_BRANCH =~ /^zillow.*/' -