From 6344e88f20da175e9247be07d201fa8391beef98 Mon Sep 17 00:00:00 2001
From: George Sedov <george.sedov@desy.de>
Date: Fri, 21 Jan 2022 16:33:25 +0100
Subject: [PATCH] move containers to another stage

---
 deploy/build_env/services-linux/Dockerfile                   | 1 +
 deploy/build_env/services-linux/gitlab-ci-build-docker.yml   | 1 +
 deploy/build_env/services-windows/gitlab-ci-build-docker.yml | 1 +
 3 files changed, 3 insertions(+)

diff --git a/deploy/build_env/services-linux/Dockerfile b/deploy/build_env/services-linux/Dockerfile
index 0a351fce9..a1743a74f 100644
--- a/deploy/build_env/services-linux/Dockerfile
+++ b/deploy/build_env/services-linux/Dockerfile
@@ -11,6 +11,7 @@ RUN set -eux; \
 		libcurl4-openssl-dev \
 		nomad \
 		grpc-proto \
+		python3-dev \
 	; \
 	rm -rf /var/lib/apt/lists/*
 
diff --git a/deploy/build_env/services-linux/gitlab-ci-build-docker.yml b/deploy/build_env/services-linux/gitlab-ci-build-docker.yml
index a8857acd5..9c627931c 100644
--- a/deploy/build_env/services-linux/gitlab-ci-build-docker.yml
+++ b/deploy/build_env/services-linux/gitlab-ci-build-docker.yml
@@ -2,6 +2,7 @@ docker-create-asapo-services-linux-build-env:
   image:
     name: gcr.io/kaniko-project/executor:debug
     entrypoint: [""]
+  stage: build-containers
   script:
     - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
     - /kaniko/executor --cache=false --context $CI_PROJECT_DIR/deploy/build_env/services-linux --dockerfile $CI_PROJECT_DIR/deploy/build_env/services-linux/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:${CI_COMMIT_REF_SLUG} --destination $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:latest
diff --git a/deploy/build_env/services-windows/gitlab-ci-build-docker.yml b/deploy/build_env/services-windows/gitlab-ci-build-docker.yml
index 16176c0fd..3ec060acd 100644
--- a/deploy/build_env/services-windows/gitlab-ci-build-docker.yml
+++ b/deploy/build_env/services-windows/gitlab-ci-build-docker.yml
@@ -2,6 +2,7 @@ docker-create-asapo-services-windows-build-env:
   image:
     name: gcr.io/kaniko-project/executor:debug
     entrypoint: [""]
+  stage: build-containers
   script:
     - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
     - /kaniko/executor --cache=false --context $CI_PROJECT_DIR/deploy/build_env/services --dockerfile $CI_PROJECT_DIR/deploy/build_env/services/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-services-build-env:${CI_COMMIT_REF_SLUG} --destination $CI_REGISTRY_IMAGE/asapo-services-build-env:latest
-- 
GitLab