Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
jx create cluster gke --skip-installation --skip-login -n jxboot
gcloud compute zones list
buildPack: nop | |
pipelineConfig: | |
agent: | |
label: gcr.io/jenkinsxio/builder-go | |
env: | |
- name: JENKINS_X | |
value: jx | |
- name: MY_VAR | |
value: foo | |
pipelines: |
buildPack: nop | |
pipelineConfig: | |
agent: | |
label: gcr.io/jenkinsxio/builder-go | |
env: | |
- name: JENKINS_X | |
value: jx | |
- name: MY_VAR | |
value: foo | |
pipelines: |
buildPack: nop | |
pipelineConfig: | |
agent: | |
label: gcr.io/jenkinsxio/builder-go | |
env: | |
- name: JENKINS_X | |
value: jx | |
- name: MY_VAR | |
value: foo | |
pipelines: |
Staging env dependencies are stored inside: environment-cluster-name-staging repository. You can make changes by accessing this repository on GitHub UI.
The file we want to edit is called requirements.yaml and is located inside env directory. The contents of this should be similar to this:
dependencies:
- alias: expose
name: exposecontroller
repository: http://chartmuseum.jenkins-x.io
After you have imported projects into Jenkins X, few dependencies get added to the cluster config inside environment--dev repository. Please follow the following steps to remove all such references:
cd environment-<cluster-name>-dev
git pull origin master
rm -rf dependency-matrix
rm repositories/templates/<$yourGHUserID>-<$imported-repo-name>-sr.yaml
After executing the last command, you should only see one file inside repositories/templates/ dir.
#!/bin/bash | |
###################### | |
# Create The Cluster # | |
###################### | |
# helm 3 is being used for deploying Helm based Jenkins package | |
gcloud auth login | |
CLUSTER_NAME=jenkins |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: jenkins | |
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: |