include: - local: 'ci_templates/.cic-template.yml' - local: 'apps/contract-migration/.gitlab-ci.yml' - local: 'apps/cic-eth/.gitlab-ci.yml' - local: 'apps/cic-ussd/.gitlab-ci.yml' - local: 'apps/cic-notify/.gitlab-ci.yml' - local: 'apps/cic-meta/.gitlab-ci.yml' - local: 'apps/cic-cache/.gitlab-ci.yml' - local: 'apps/data-seeding/.gitlab-ci.yml' stages: - build - test - deploy deploy-k8s-dev: stage: deploy image: dtzar/helm-kubectl variables: CI_DEBUG_TRACE: "true" script: - kubectl config set-cluster k8s --server="${K8S_DEV_SERVER}" - kubectl config set clusters.k8s.certificate-authority-data ${K8S_DEV_CERTIFICATE_AUTHORITY_DATA} - kubectl config set-credentials gitlab --token="${K8S_DEV_USER_TOKEN}" - kubectl config set-context default --cluster=k8s --user=gitlab - kubectl config use-context default #- sed -i "s//${CI_COMMIT_SHORT_SHA}/g" deployment.yaml #- kubectl apply -f deployment.yaml - kubectl get po