Commit fe816644 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

TestPipeline: In gitlab repo the image name has to be equal to the repository

name (csp-lmc). Use --set option to override the image name in k8s (for test)
parent 8fe2da5d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ build:csp-lmc-mid_image:
    - docker push "$IMG"
  variables:
    BUILD_PATH: csp-lmc-mid
    IMG: "$CI_REGISTRY/ska-telescope/mid-csp-lmc:$CI_COMMIT_SHORT_SHA"
    IMG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA"


#  
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ SET_IMAGE_TAG ?= --set mid-csp.midcsplmc.image.tag=$(IMAGE_TAG)
ifneq ($(CI_JOB_ID),)
CI_PROJECT_IMAGE :=
SET_IMAGE_TAG = --set mid-csp.midcsplmc.image.registry=$(CI_REGISTRY)/ska-telescope \
        --set mid-csp.midcsplmc.image=csp-lmc \
        --set mid-csp.midcsplmc.image.tag=$(CI_COMMIT_SHORT_SHA)
.DEFAULT_GOAL := help