forked from chaoss/grimoirelab
-
Notifications
You must be signed in to change notification settings - Fork 3
How to run survey bot & retrieve bot?
shanchenqi edited this page Nov 10, 2021
·
3 revisions
-
Create a new K8S server.
-
Init docker
gcloud config set compute/zone asia-east1-c
gcloud container clusters get-credentials cluster-1
gcloud container clusters get-credentials cluster-1 --zone asia-east1-c --project global-terrain-330601
#kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user $(gcloud config get-value account)
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/cloud/deploy.yaml
-
git clone your robot project
When changes are made, update the version
-
build and push docker
$docker build -t {docker-account}/{survey/retrieve}-bot:{version} .
$docker push {docker-account}/{survey/retrieve}-bot:{version}
kubectl apply -f google-k8s