From b7072297ef6b0ab137be4f02131e8433c1ff4374 Mon Sep 17 00:00:00 2001
From: Paolo Brasolin <paolo.brasolin@eurac.edu>
Date: Tue, 1 Mar 2022 23:13:49 +0100
Subject: [PATCH] ci: simplify #be deploy image

---
 .gitlab-ci.yml | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ce2aab..da91a69 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,24 +38,19 @@ be-build-job:
 #==[ Backend deployment ]=======================================================
 
 .be-deploy-job:
-  image: $DOCKER_IMAGE
+  image: alpine:latest
+  # image: $DOCKER_IMAGE
   stage: deploy
   needs:
     - job: be-build-job
       artifacts: false # TODO: maybe we can get the build image as an artifact?
   tags:
     - commul
-  services:
-    - docker:dind
+  # services:
+  #   - docker:dind
   variables:
     KUBECTL_VERSION: v1.8.10
     IMAGE_NAME: $CI_REGISTRY_IMAGE/backend
-  cache:
-    - key:
-        files:
-          - frontend/package-lock.json
-      paths:
-        - frontend/node_modules
   before_script:
     - "#==[ install kubectl ]=================="
     - wget https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl
-- 
GitLab