test kubectl
This commit is contained in:
@@ -6,6 +6,7 @@ variables:
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
push:
|
push:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -31,3 +32,14 @@ project:
|
|||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- django-admin startproject config .
|
- django-admin startproject config .
|
||||||
|
|
||||||
|
pods:
|
||||||
|
stage: deploy
|
||||||
|
image:
|
||||||
|
name: ubuntu:18.04
|
||||||
|
entrypoint: [""]
|
||||||
|
script:
|
||||||
|
- curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
|
||||||
|
- chmod +x ./kubectl
|
||||||
|
- ./kubectl version --client
|
||||||
|
- ./kubectl get po
|
||||||
Reference in New Issue
Block a user