From 93794ffe16c92174c51e6489a17118329eef1a9e Mon Sep 17 00:00:00 2001 From: Leonardo Cristella Date: Tue, 26 Nov 2024 12:08:43 +0100 Subject: [PATCH] Ypdate .gitlab --- .gitlab-ci.yml | 2 +- Dockerfile | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 692889b..b8cfb53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -171,7 +171,7 @@ update-pipeline-image: allow_failure: true variables: BUILD_PATH: $CI_PROJECT_DIR - KANIKO_EXTRA_ARGS: "--build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN --build-arg BBP_CA_CERT='$BBP_CA_CERT'" + KANIKO_EXTRA_ARGS: "--build-arg REF_NAME=$REGISTRY_IMAGE_TAG" KUBERNETES_MEMORY_LIMIT: 4Gi KUBERNETES_MEMORY_REQUEST: 4Gi before_script: diff --git a/Dockerfile b/Dockerfile index c04ed56..be58af5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,10 +14,6 @@ RUN apt-get update && \ RUN apt-get -y install pip git vim -#RUN pwd -#RUN ls -a -#RUN git clone https://github.com/BlueBrain/bbp-atlas-pipeline.git@ /pipeline - WORKDIR /pipeline COPY .. . @@ -29,7 +25,6 @@ COPY .. . # cmake .. && make -j && cd .. && \ # export PATH=$PATH:$PWD/build/bin - # Install the pipeline repository (along with the bbp-atlas CLI) RUN pip install git+https://github.com/BlueBrain/bbp-atlas-pipeline.git@${REF_NAME}