Skip to content

Commit 1676a6d

Browse files
authored
Merge pull request #20 from jenkins-x-plugins/variousupgrades
chore: various upgrades
2 parents 598f960 + b598109 commit 1676a6d

9 files changed

Lines changed: 345 additions & 1601 deletions

File tree

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
apiVersion: tekton.dev/v1beta1
22
kind: PipelineRun
33
metadata:
4-
creationTimestamp: null
54
name: pullrequest
65
spec:
76
pipelineSpec:
87
tasks:
98
- name: from-build-pack
109
resources: {}
10+
timeout: 2h
1111
taskSpec:
1212
metadata: {}
1313
stepTemplate:
1414
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-plugin/pullrequest.yaml@versionStream
1515
name: ""
16-
resources:
17-
requests:
18-
cpu: 400m
19-
memory: 600Mi
16+
resources: {}
2017
workingDir: /workspace/source
2118
steps:
2219
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
2320
name: ""
2421
resources: {}
2522
- name: jx-variables
26-
resources: {}
23+
resources:
24+
requests:
25+
cpu: 400m
26+
memory: 600Mi
2727
- name: build-make-linux
2828
resources: {}
2929
- name: build-make-test
@@ -32,5 +32,5 @@ spec:
3232
resources: {}
3333
podTemplate: {}
3434
serviceAccountName: tekton-bot
35-
timeout: 240h0m0s
35+
timeout: 2h
3636
status: {}

.lighthouse/jenkins-x/release.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apiVersion: tekton.dev/v1beta1
22
kind: PipelineRun
33
metadata:
4-
creationTimestamp: null
54
name: release
65
spec:
76
pipelineSpec:
87
tasks:
98
- name: chart
109
resources: {}
10+
timeout: 2h
1111
taskSpec:
1212
metadata: {}
1313
stepTemplate:
@@ -20,7 +20,10 @@ spec:
2020
name: ""
2121
resources: {}
2222
- name: next-version
23-
resources: {}
23+
resources:
24+
requests:
25+
cpu: 400m
26+
memory: 600Mi
2427
- name: jx-variables
2528
resources: {}
2629
- name: release-binary
@@ -38,5 +41,5 @@ spec:
3841
- name: promote-release
3942
resources: {}
4043
serviceAccountName: tekton-bot
41-
timeout: 240h0m0s
44+
timeout: 2h
4245
status: {}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ORG_REPO := $(ORG)/$(NAME)
1414
RELEASE_ORG_REPO := $(ORG_REPO)
1515
ROOT_PACKAGE := github.com/$(ORG_REPO)
1616
#GO_VERSION := $(shell $(GO) version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/')
17-
GO_VERSION := 1.13
17+
GO_VERSION := 1.19
1818

1919
GO_DEPENDENCIES := $(call rwildcard,pkg/,*.go) $(call rwildcard,cmd/j,*.go)
2020

OWNERS

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
approvers:
2-
- rawlingsj
3-
- jstrachan
4-
- vbehar
5-
- florianorpeliere
2+
- maintainers
63
reviewers:
7-
- rawlingsj
8-
- jstrachan
9-
- vbehar
10-
- florianorpeliere
4+
- maintainers

OWNERS_ALIASES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
foreignAliases:
2+
- name: jx-community
3+
org: jenkins-x

event_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func convertWebhookToEvent(webhook scm.Webhook) *Event {
105105
Sender: event.Sender.Login,
106106
URL: event.Comment.Link,
107107
}
108-
if event.Issue.PullRequest {
108+
if event.Issue.PullRequest != nil {
109109
e.Branch = fmt.Sprintf("PR-%d", event.Issue.Number)
110110
}
111111
return &e

go.mod

Lines changed: 121 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,137 @@ require (
44
github.com/Jeffail/gabs/v2 v2.6.1
55
github.com/Masterminds/goutils v1.1.1
66
github.com/Masterminds/sprig/v3 v3.2.2
7-
github.com/RoaringBitmap/roaring v0.5.5 // indirect
87
github.com/blevesearch/bleve v1.0.14
9-
github.com/glycerine/go-unsnap-stream v0.0.0-20210130063903-47dfef350d96 // indirect
10-
github.com/golang/snappy v0.0.3 // indirect
118
github.com/gorilla/mux v1.8.0
12-
github.com/jenkins-x-plugins/jx-pipeline v0.0.139 // indirect
13-
github.com/jenkins-x/go-scm v1.9.0
14-
github.com/jenkins-x/jx-api/v4 v4.0.33 // indirect
15-
github.com/jenkins-x/jx-helpers/v3 v3.0.114 // indirect
16-
github.com/jenkins-x/lighthouse v1.0.44
9+
github.com/jenkins-x/go-scm v1.14.13
10+
github.com/jenkins-x/lighthouse v1.13.8
1711
github.com/mitchellh/go-homedir v1.1.0
1812
github.com/rickb777/date v1.13.0
19-
github.com/rs/xid v1.2.1 // indirect
20-
github.com/sirupsen/logrus v1.7.1
21-
github.com/subchord/go-sse v1.0.1 // indirect
22-
github.com/tektoncd/pipeline v0.20.0 // indirect
23-
github.com/tinylib/msgp v1.1.5 // indirect
13+
github.com/sirupsen/logrus v1.9.3
2414
github.com/unrolled/render v1.0.3
2515
github.com/urfave/negroni/v2 v2.0.2
26-
github.com/willf/bitset v1.1.11 // indirect
2716
gopkg.in/yaml.v2 v2.4.0
28-
k8s.io/api v0.20.7 // indirect
29-
k8s.io/apimachinery v0.20.7
30-
k8s.io/cli-runtime v0.20.4
17+
k8s.io/apimachinery v0.27.3
18+
k8s.io/cli-runtime v0.27.3
3119
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible
3220
)
3321

22+
require (
23+
code.gitea.io/sdk/gitea v0.15.1 // indirect
24+
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect
25+
contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect
26+
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
27+
github.com/Masterminds/semver/v3 v3.1.1 // indirect
28+
github.com/RoaringBitmap/roaring v1.5.0 // indirect
29+
github.com/benbjohnson/clock v1.3.0 // indirect
30+
github.com/beorn7/perks v1.0.1 // indirect
31+
github.com/bits-and-blooms/bitset v1.9.0 // indirect
32+
github.com/blendle/zapdriver v1.3.1 // indirect
33+
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
34+
github.com/blevesearch/mmap-go v1.0.4 // indirect
35+
github.com/blevesearch/segment v0.9.1 // indirect
36+
github.com/blevesearch/snowballstem v0.9.0 // indirect
37+
github.com/blevesearch/zap/v11 v11.0.14 // indirect
38+
github.com/blevesearch/zap/v12 v12.0.14 // indirect
39+
github.com/blevesearch/zap/v13 v13.0.6 // indirect
40+
github.com/blevesearch/zap/v14 v14.0.5 // indirect
41+
github.com/blevesearch/zap/v15 v15.0.3 // indirect
42+
github.com/bluekeyes/go-gitdiff v0.7.1 // indirect
43+
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
44+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
45+
github.com/couchbase/vellum v1.0.2 // indirect
46+
github.com/davecgh/go-spew v1.1.1 // indirect
47+
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
48+
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
49+
github.com/go-kit/log v0.2.1 // indirect
50+
github.com/go-logfmt/logfmt v0.5.1 // indirect
51+
github.com/go-logr/logr v1.2.3 // indirect
52+
github.com/go-openapi/jsonpointer v0.19.6 // indirect
53+
github.com/go-openapi/jsonreference v0.20.1 // indirect
54+
github.com/go-openapi/swag v0.22.3 // indirect
55+
github.com/gogo/protobuf v1.3.2 // indirect
56+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
57+
github.com/golang/protobuf v1.5.3 // indirect
58+
github.com/golang/snappy v0.0.1 // indirect
59+
github.com/google/gnostic v0.5.7-v3refs // indirect
60+
github.com/google/go-cmp v0.5.9 // indirect
61+
github.com/google/go-containerregistry v0.12.0 // indirect
62+
github.com/google/gofuzz v1.2.0 // indirect
63+
github.com/google/pprof v0.0.0-20230111200839-76d1ae5aea2b // indirect
64+
github.com/google/uuid v1.3.0 // indirect
65+
github.com/gorilla/securecookie v1.1.1 // indirect
66+
github.com/gorilla/sessions v1.2.1 // indirect
67+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect
68+
github.com/hashicorp/errwrap v1.1.0 // indirect
69+
github.com/hashicorp/go-multierror v1.1.1 // indirect
70+
github.com/hashicorp/go-version v1.6.0 // indirect
71+
github.com/hashicorp/golang-lru v0.6.0 // indirect
72+
github.com/huandu/xstrings v1.3.2 // indirect
73+
github.com/imdario/mergo v0.3.15 // indirect
74+
github.com/josharian/intern v1.0.0 // indirect
75+
github.com/json-iterator/go v1.1.12 // indirect
76+
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
77+
github.com/mailru/easyjson v0.7.7 // indirect
78+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
79+
github.com/mitchellh/copystructure v1.2.0 // indirect
80+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
81+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
82+
github.com/modern-go/reflect2 v1.0.2 // indirect
83+
github.com/mschoch/smat v0.2.0 // indirect
84+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
85+
github.com/opencontainers/go-digest v1.0.0 // indirect
86+
github.com/pkg/errors v0.9.1 // indirect
87+
github.com/pmezard/go-difflib v1.0.0 // indirect
88+
github.com/prometheus/client_golang v1.14.0 // indirect
89+
github.com/prometheus/client_model v0.3.0 // indirect
90+
github.com/prometheus/common v0.39.0 // indirect
91+
github.com/prometheus/procfs v0.8.0 // indirect
92+
github.com/prometheus/statsd_exporter v0.21.0 // indirect
93+
github.com/rickb777/plural v1.2.1 // indirect
94+
github.com/shopspring/decimal v1.2.0 // indirect
95+
github.com/shurcooL/githubv4 v0.0.0-20191102174205-af46314aec7b // indirect
96+
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f // indirect
97+
github.com/spf13/cast v1.5.0 // indirect
98+
github.com/spf13/pflag v1.0.5 // indirect
99+
github.com/steveyen/gtreap v0.1.0 // indirect
100+
github.com/stretchr/testify v1.8.4 // indirect
101+
github.com/tektoncd/pipeline v0.41.0 // indirect
102+
github.com/willf/bitset v1.1.10 // indirect
103+
go.etcd.io/bbolt v1.3.7 // indirect
104+
go.opencensus.io v0.24.0 // indirect
105+
go.uber.org/atomic v1.10.0 // indirect
106+
go.uber.org/multierr v1.9.0 // indirect
107+
go.uber.org/zap v1.24.0 // indirect
108+
golang.org/x/crypto v0.11.0 // indirect
109+
golang.org/x/net v0.12.0 // indirect
110+
golang.org/x/oauth2 v0.9.0 // indirect
111+
golang.org/x/sync v0.1.0 // indirect
112+
golang.org/x/sys v0.12.0 // indirect
113+
golang.org/x/term v0.10.0 // indirect
114+
golang.org/x/text v0.11.0 // indirect
115+
golang.org/x/time v0.3.0 // indirect
116+
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
117+
google.golang.org/api v0.110.0 // indirect
118+
google.golang.org/appengine v1.6.7 // indirect
119+
google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc // indirect
120+
google.golang.org/grpc v1.53.0 // indirect
121+
google.golang.org/protobuf v1.31.0 // indirect
122+
gopkg.in/inf.v0 v0.9.1 // indirect
123+
gopkg.in/robfig/cron.v2 v2.0.0-20150107220207-be2e0b0deed5 // indirect
124+
gopkg.in/yaml.v3 v3.0.1 // indirect
125+
k8s.io/api v0.27.3 // indirect
126+
k8s.io/klog/v2 v2.90.1 // indirect
127+
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
128+
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
129+
knative.dev/pkg v0.0.0-20230502134655-db8a35330281 // indirect
130+
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
131+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
132+
sigs.k8s.io/yaml v1.3.0 // indirect
133+
)
134+
34135
replace (
35-
// helm dependencies (from jx-pipeline)
36-
github.com/docker/distribution => github.com/docker/distribution v0.0.0-20191216044856-a8371794149d
37-
github.com/docker/docker => github.com/moby/moby v17.12.0-ce-rc1.0.20200618181300-9dc6525e6118+incompatible
38-
// override the go-scm from tekton
39-
github.com/jenkins-x/go-scm => github.com/jenkins-x/go-scm v1.9.0
40-
github.com/tektoncd/pipeline => github.com/jenkins-x/pipeline v0.3.2-0.20210118090417-1e821d85abf6
41-
k8s.io/cli-runtime => k8s.io/cli-runtime v0.20.1
42-
k8s.io/client-go => k8s.io/client-go v0.20.1
136+
k8s.io/cli-runtime => k8s.io/cli-runtime v0.27.3
137+
k8s.io/client-go => k8s.io/client-go v0.27.3
43138
)
44139

45-
go 1.15
140+
go 1.19

0 commit comments

Comments
 (0)