From d6b942e1b71889cee475cccaa13086296035bf11 Mon Sep 17 00:00:00 2001 From: Milos Milutinovic Date: Thu, 5 Dec 2019 15:29:11 +0100 Subject: [PATCH] add test gitlab-ci --- .gitlab-ci.yml | 12 ++++++++++++ base/gcp-k8s-auth.yml | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9331adc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +stages: + - deploy + +include: + - '/mixins/deploy/gcp-k8s-deploy.yml' + +test: + stage: deploy + extends: .gcp_k8s_deploy + script: + - echo $DOCKER_DRIVER + - echo "override" diff --git a/base/gcp-k8s-auth.yml b/base/gcp-k8s-auth.yml index f6c4dac..43386e9 100644 --- a/base/gcp-k8s-auth.yml +++ b/base/gcp-k8s-auth.yml @@ -1,3 +1,9 @@ +# [[ AUTH ]] - authenticates against a GCP cluster +# - ZONE - GCP cluster zone (e.g. us-east1-b) +# - PROJECT - GCP project ID +# - CLUSTER - name of the cluster to authenticate to +# - SERVICE_ACCOUNT_CREDENTIALS - JSON credentials for the service account + .gcp_k8s_auth: image: shomika17/gcloud-kubectl-kustomize:latest before_script: -- GitLab