From ee388093ce8a7206e267b91f5a0d89c436976341 Mon Sep 17 00:00:00 2001 From: bmartins Date: Mon, 27 Mar 2023 12:54:27 +0200 Subject: [PATCH] test(CI): deploy connection to k8 --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c37ed067..4378038b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ include: stages: - build + - deploy # - pages # - test # - e2e @@ -48,6 +49,15 @@ build-image: PUSH_IMAGE: "true" REGISTRY_IMAGE_PATH: "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}" +deploy: + image: + name: bitnami/kubectl:latest + entrypoint: [''] + script: + - kubectl config get-contexts + - kubectl config use-context framasoft/framadate/funky-framadate-front:framadate-local-frontend + - kubectl get pods + # build: # image: node:16 # stage: build