mirror of
https://github.com/Dannecron/netology-devops-gitlab.git
synced 2025-12-25 15:22:35 +03:00
fix ci
This commit is contained in:
@@ -51,7 +51,7 @@ test-api:
|
|||||||
alias: python-api
|
alias: python-api
|
||||||
needs:
|
needs:
|
||||||
- pre-build
|
- pre-build
|
||||||
- build
|
- docker-build
|
||||||
script:
|
script:
|
||||||
- ./test/validate_api.sh
|
- ./test/validate_api.sh
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ deploy:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
needs:
|
needs:
|
||||||
- pre-build
|
- pre-build
|
||||||
- build
|
- docker-build
|
||||||
script:
|
script:
|
||||||
- kubectl config set-cluster k8s --server="$KUBE_URL" --insecure-skip-tls-verify=true
|
- kubectl config set-cluster k8s --server="$KUBE_URL" --insecure-skip-tls-verify=true
|
||||||
- kubectl config set-credentials admin --token="$KUBE_TOKEN"
|
- kubectl config set-credentials admin --token="$KUBE_TOKEN"
|
||||||
|
|||||||
Reference in New Issue
Block a user