Description of change
Implement bootstrapping to GKE for CI tests;
QA steps
To run a test locally with lxd and locally complied juju:
$ mkdir /tmp/test-run$ export JUJU_HOME=/tmp/test-run-
$ vim $JUJU_HOME/environments.yaml # copy gke & microk8s environment from cloud-city
*yaml environments: gke: type: kubernetes test-mode: true ... microk8s: type: kubernetes test-mode: true ... <p></p>
*export JUJU_REPOSITORY=$GOPATH/src/github.com/juju/juju/acceptancetests/repository
* Now you can run the test with: *mkdir /tmp/artifacts
*$ ./acceptancetests/assess_caas_deploy_charms.py gke $GOPATH/bin/juju /tmp/artifacts nw-caas-deploy-charms-gke --caas-image-repo=jujuqabot --caas-provider=GKE --k8s-controller --debug$ ./acceptancetests/assess_caas_deploy_charms.py microk8s $GOPATH/bin/juju /tmp/artifacts nw-caas-deploy-charms-microk8s --caas-image-repo=jujuqabot --caas-provider=MICROK8S --k8s-controller --debug
Documentation changes
None
Bug reference
None
该提问来源于开源项目:juju/juju