From 450844d2a44d52058d7b7b795a94058a333b6ed7 Mon Sep 17 00:00:00 2001
From: M9713 <m9713@student.jamk.fi>
Date: Mon, 1 Nov 2021 20:42:44 +0200
Subject: [PATCH] Delete .gitlab-ci.yml

---
 conduit-backend/.gitlab-ci.yml | 36 ----------------------------------
 1 file changed, 36 deletions(-)
 delete mode 100644 conduit-backend/.gitlab-ci.yml

diff --git a/conduit-backend/.gitlab-ci.yml b/conduit-backend/.gitlab-ci.yml
deleted file mode 100644
index 5e4697b..0000000
--- a/conduit-backend/.gitlab-ci.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-stages:
-  - build
-  - deploy
-
-build:
-  stage: build
-  
-  when: manual 
-
-  image:
-    name: gcr.io/kaniko-project/executor:debug
-    entrypoint: [""]
- 
-  script:
-
-  # Build Backend
-   
-    - echo "Building Backend"
-    - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-    - /kaniko/executor --context $CI_PROJECT_DIR/conduit-backend --dockerfile $CI_PROJECT_DIR/conduit-backend/Dockerfile --destination $CI_REGISTRY_IMAGE:backend
-  
-deploy:
-
-#    tags:
-#      - examplee
-
-    stage: deploy
-
-    when: manual
-
-    script: echo "Deploying"
-    image: bitnami/kubectl:latest
-    script:
-         - kubectl apply -f service.yaml
-         - kubectl apply -f deployment.yaml
-         - kubectl -n default rollout restart deployment default
-- 
GitLab