weixin_39765697 2020-11-29 13:32
浏览 0

Feature/bootstrap gke

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
    *
    mkdir /tmp/artifacts
    * Now you can run the test with: *
    $ ./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

  • 写回答

6条回答 默认 最新

  • weixin_39765697 2020-11-29 13:32
    关注
    评论

报告相同问题?