Skip to content

Commit

Permalink
Bump version to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszsek committed Jan 18, 2021
1 parent 8a1c5ee commit fe81e5a
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 50 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Jenkins Operator

[![Version](https://img.shields.io/badge/version-v0.4.0-brightgreen.svg)](https://github.com/jenkinsci/kubernetes-operator/releases/tag/v0.4.0)
[![Version](https://img.shields.io/badge/version-v0.5.0-brightgreen.svg)](https://github.com/jenkinsci/kubernetes-operator/releases/tag/v0.5.0)
[![Build Status](https://travis-ci.org/jenkinsci/kubernetes-operator.svg?branch=master)](https://travis-ci.org/jenkinsci/kubernetes-operator)
[![Go Report Card](https://goreportcard.com/badge/github.com/jenkinsci/kubernetes-operator "Go Report Card")](https://goreportcard.com/report/github.com/jenkinsci/kubernetes-operator)
[![Docker Pulls](https://img.shields.io/docker/pulls/virtuslab/jenkins-operator.svg)](https://hub.docker.com/r/virtuslab/jenkins-operator/tags)
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.4.0
v0.5.0
10 changes: 5 additions & 5 deletions chart/jenkins-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jenkins:
# image is the name (and tag) of the Jenkins instance
# Default: jenkins/jenkins:lts
# It's recommended to use LTS (tag: "lts") version
image: jenkins/jenkins:2.249.3-lts-alpine
image: jenkins/jenkins:2.263.2-lts-alpine

# env contains jenkins container environment variables
env: []
Expand Down Expand Up @@ -63,13 +63,13 @@ jenkins:
#
# basePlugins:
# - name: kubernetes
# version: 1.27.6
# version: 1.28.6
# - name: workflow-job
# version: "2.40"
# - name: workflow-aggregator
# version: "2.6"
# - name: git
# version: 4.4.5
# version: 4.5.0
# - name: job-dsl
# version: "1.77"
# - name: configuration-as-code
Expand All @@ -78,13 +78,13 @@ jenkins:
# version: 0.15
basePlugins:
- name: kubernetes
version: "1.27.6"
version: "1.28.6"
- name: workflow-job
version: "2.40"
- name: workflow-aggregator
version: "2.6"
- name: git
version: "4.4.5"
version: "4.5.0"
- name: job-dsl
version: "1.77"
- name: configuration-as-code
Expand Down
12 changes: 11 additions & 1 deletion deploy/all-in-one-v1alpha2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ rules:
- get
- list
- watch
- apiGroups:
- "route.openshift.io"
resources:
- routes
verbs:
- get
- list
- watch
- create
- update
- apiGroups:
- "image.openshift.io"
resources:
Expand Down Expand Up @@ -140,7 +150,7 @@ spec:
serviceAccountName: jenkins-operator
containers:
- name: jenkins-operator
image: virtuslab/jenkins-operator:v0.4.0
image: virtuslab/jenkins-operator:v0.5.0
command:
- jenkins-operator
args: []
Expand Down
30 changes: 1 addition & 29 deletions deploy/crds/jenkins_v1alpha2_jenkins_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,7 @@ spec:
master:
containers:
- name: jenkins-master
image: jenkins/jenkins:2.249.3-lts-alpine
imagePullPolicy: Always
livenessProbe:
failureThreshold: 12
httpGet:
path: /login
port: http
scheme: HTTP
initialDelaySeconds: 80
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
httpGet:
path: /login
port: http
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 1500m
memory: 3Gi
requests:
cpu: "1"
memory: 500Mi
image: jenkins/jenkins:2.263.2-lts-alpine
seedJobs:
- id: jenkins-operator
targets: "cicd/jobs/*.jenkins"
Expand Down
6 changes: 3 additions & 3 deletions deploy/crds/jenkins_v1alpha2_jenkinsimage_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ metadata:
spec:
image:
name: jenkins/jenkins
tag: 2.249.3-lts-alpine
tag: 2.263.1-lts-alpine
plugins:
- name: kubernetes
version: "1.27.6"
version: "1.28.6"
- name: workflow-job
version: "2.40"
- name: workflow-aggregator
version: "2.6"
- name: git
version: "4.4.5"
version: "4.5.0"
- name: job-dsl
version: "1.77"
- name: configuration-as-code
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
serviceAccountName: jenkins-operator
containers:
- name: jenkins-operator
image: virtuslab/jenkins-operator:v0.4.0
image: virtuslab/jenkins-operator:v0.5.0
command:
- jenkins-operator
args: []
Expand Down
10 changes: 5 additions & 5 deletions pkg/apis/jenkins/v1alpha2/jenkins_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,19 +351,19 @@ type JenkinsMaster struct {
// +optional
// Defaults to :
// - name: kubernetes
// version: 1.25.2
// version: "1.28.6"
// - name: workflow-job
// version: "2.39"
// version: "2.40"
// - name: workflow-aggregator
// version: "2.6"
// - name: git
// version: 4.2.2
// version: "4.5.0"
// - name: job-dsl
// version: "1.77"
// - name: configuration-as-code
// version: "1.38"
// version: "1.46"
// - name: kubernetes-credentials-provider
// version: 0.13
// version: "0.15"
BasePlugins []Plugin `json:"basePlugins,omitempty"`

// Plugins contains plugins required by user
Expand Down
1 change: 1 addition & 0 deletions pkg/configuration/backuprestore/backuprestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func (bar *BackupAndRestore) Validate() []string {

return messages
}

// helper value indicating no saved backup
const noBackup = "-1"

Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const (
// SeedJobSuffix is a suffix added for all seed jobs
SeedJobSuffix = "job-dsl-seed"
// DefaultJenkinsMasterImage is the default Jenkins master docker image
DefaultJenkinsMasterImage = "jenkins/jenkins:lts"
DefaultJenkinsMasterImage = "jenkins/jenkins:2.263.2-lts-alpine"
// DefaultHTTPPortInt32 is the default Jenkins HTTP port
DefaultHTTPPortInt32 = int32(8080)
// DefaultSlavePortInt32 is the default Jenkins port for slaves
Expand Down
4 changes: 2 additions & 2 deletions pkg/plugins/base_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package plugins

const (
configurationAsCodePlugin = "configuration-as-code:1.46"
gitPlugin = "git:4.4.5"
gitPlugin = "git:4.5.0"
jobDslPlugin = "job-dsl:1.77"
kubernetesCredentialsProviderPlugin = "kubernetes-credentials-provider:0.15"
kubernetesPlugin = "kubernetes:1.27.6"
kubernetesPlugin = "kubernetes:1.28.6"
workflowAggregatorPlugin = "workflow-aggregator:2.6"
workflowJobPlugin = "workflow-job:2.40"
)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func TestPlugins(t *testing.T) {
i, err := job.InvokeSimple(map[string]string{})
require.NoError(t, err, i)
// FIXME: waitForJobToFinish use
time.Sleep(80 * time.Second) // wait for the build to complete
time.Sleep(100 * time.Second) // wait for the build to complete

job, err = jenkinsClient.GetJob(jobID)
require.NoError(t, err, job)
Expand Down

0 comments on commit fe81e5a

Please sign in to comment.