Rename VirtusLab/jenkins-operator to jenkinsci/kubernetes-operator
This commit is contained in:
parent
4d1730a22f
commit
45bbacfcd8
|
|
@ -42,7 +42,7 @@ Some of the problems we want to solve:
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
|
|
||||||
Feel free to file [issues](https://github.com/jenkinsci/kubernetes-operator/issues) or [pull requests](https://github.com/VirtusLab/jenkins-operator/pulls).
|
`Feel free to file [issues](https://github.com/jenkinsci/kubernetes-operator/issues) or [pull requests](https://github.com/jenkinsci/kubernetes-operator/pulls).
|
||||||
|
|
||||||
## About the authors
|
## About the authors
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ pipelineJob('build-jenkins-operator') {
|
||||||
scm {
|
scm {
|
||||||
git {
|
git {
|
||||||
remote {
|
remote {
|
||||||
url('https://github.com/VirtusLab/jenkins-operator.git')
|
url('https://github.com/jenkinsci/kubernetes-operator.git')
|
||||||
credentials('jenkins-operator')
|
credentials('jenkins-operator')
|
||||||
}
|
}
|
||||||
branches('*/master')
|
branches('*/master')
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
def label = "build-jenkins-operator-${UUID.randomUUID().toString()}"
|
def label = "build-jenkins-operator-${UUID.randomUUID().toString()}"
|
||||||
def home = "/home/jenkins"
|
def home = "/home/jenkins"
|
||||||
def workspace = "${home}/workspace/build-jenkins-operator"
|
def workspace = "${home}/workspace/build-jenkins-operator"
|
||||||
def workdir = "${workspace}/src/github.com/VirtusLab/jenkins-operator/"
|
def workdir = "${workspace}/src/github.com/jenkinsci/kubernetes-operator/"
|
||||||
|
|
||||||
podTemplate(label: label,
|
podTemplate(label: label,
|
||||||
containers: [
|
containers: [
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,4 @@ spec:
|
||||||
targets: "cicd/jobs/*.jenkins"
|
targets: "cicd/jobs/*.jenkins"
|
||||||
description: "Jenkins Operator repository"
|
description: "Jenkins Operator repository"
|
||||||
repositoryBranch: master
|
repositoryBranch: master
|
||||||
repositoryUrl: https://github.com/VirtusLab/jenkins-operator.git
|
repositoryUrl: https://github.com/jenkinsci/kubernetes-operator.git
|
||||||
|
|
|
||||||
|
|
@ -19,17 +19,12 @@ kubectl apply -f deploy/crds/virtuslab_v1alpha1_jenkins_crd.yaml
|
||||||
|
|
||||||
## Deploy jenkins-operator
|
## Deploy jenkins-operator
|
||||||
|
|
||||||
A`pply Service Account and RBAC roles:
|
Apply Service Account and RBAC roles:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f deploy/service_account.yaml
|
kubectl apply -f deploy/service_account.yaml
|
||||||
kubectl apply -f deploy/role.yaml
|
kubectl apply -f deploy/role.yaml
|
||||||
kubectl apply -f deploy/role_binding.yaml
|
kubectl apply -f deploy/role_binding.yaml
|
||||||
```
|
|
||||||
|
|
||||||
Update container image to **virtuslab/jenkins-operator:<version>** in `deploy/operator.yaml` and deploy **jenkins-operator**:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
kubectl apply -f deploy/operator.yaml
|
kubectl apply -f deploy/operator.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ func createJenkinsCRWithSeedJob(t *testing.T, namespace string) *virtuslabv1alph
|
||||||
Targets: "cicd/jobs/*.jenkins",
|
Targets: "cicd/jobs/*.jenkins",
|
||||||
Description: "Jenkins Operator repository",
|
Description: "Jenkins Operator repository",
|
||||||
RepositoryBranch: "master",
|
RepositoryBranch: "master",
|
||||||
RepositoryURL: "https://github.com/VirtusLab/jenkins-operator.git",
|
RepositoryURL: "https://github.com/jenkinsci/kubernetes-operator.git",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue