Set WATCH_REPOS_PIPELINE for the list of repositories for which to run
mender-qa Pipeline. See source code for defaults.
This is a Mender specific feature.
All repositories from the configured GitHub organization are synced with GitLab.
For all repositories in the organization, a pr_XXX branch will be created in GitLab for every pull/XXX PR from GitHub.
It's currently hosted on company-websites GKE Kubernetes cluster.
Commits to the master branch trigger a sync with the sre-tools repository, committing the new Docker image's SHA256 to the file kubernetes/mender-test-runner/test-runner-deployment.yaml. This, in turn, triggers a new application of the Kubernetes manifest files to the cluster.
- create service account with the following roles assigned:
Kubernetes Engine Developer,Kubernetes Engine Service AgentandViewer - create json key and make base64 encoded hash with removing new lines:
base64 /path/to/saved-key.json | tr -d \\n - in CI/CD project settings add
GCLOUD_SERVICE_KEYvariable where value is the hash
Apply secret from mystico:
$ pass mender/saas/k8s/gke/secret-test-runner-mender-io.yaml | kubectl apply -f -From the sre-tools repository:
$ kubectl apply -Rf kubernetes/mender-test-runner/