Skip to content

Commit 842c14b

Browse files
authored
Merge pull request #3304 from openziti/update-deps-and-wf
Update deps and wf
2 parents f11f427 + 86c2a40 commit 842c14b

File tree

7 files changed

+90
-154
lines changed

7 files changed

+90
-154
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,69 @@
11
version: 2
22
updates:
33
- package-ecosystem: gomod
4-
directory: "/"
4+
directory: /
55
schedule:
66
interval: daily
77
open-pull-requests-limit: 10
88
groups:
99
openziti:
1010
applies-to: version-updates
1111
update-types:
12-
- "minor"
13-
- "patch"
12+
- minor
13+
- patch
1414
patterns:
1515
- "*openziti*"
1616

1717
third-party:
1818
applies-to: version-updates
1919
update-types:
20-
- "minor"
21-
- "patch"
20+
- minor
21+
- patch
2222
exclude-patterns:
2323
- "*openziti*"
2424
- "*rabbitmq*"
2525
- "*blackfriday*"
2626
- "*zitadel*"
2727

2828
- package-ecosystem: github-actions
29-
directory: "/"
29+
directory: /
3030
schedule:
3131
interval: weekly
3232
open-pull-requests-limit: 10
3333
groups:
3434
all:
3535
applies-to: version-updates
3636
update-types:
37-
- "major"
38-
- "minor"
39-
- "patch"
37+
- major
38+
- minor
39+
- patch
4040

4141
# bump the console SPA version that is built in to the controller image
4242
- package-ecosystem: docker
43-
directory: "/dist/docker-images/ziti-controller"
43+
directory: /dist/docker-images/ziti-controller
4444
schedule:
4545
interval: weekly
4646
open-pull-requests-limit: 10
4747
groups:
4848
all:
4949
applies-to: version-updates
5050
update-types:
51-
- "major"
52-
- "minor"
53-
- "patch"
51+
- major
52+
- minor
53+
- patch
5454

5555
# bump the kubectl version in the cli image
5656
- package-ecosystem: docker
57-
directory: "/dist/docker-images/ziti-cli"
57+
directory: /dist/docker-images/ziti-cli
5858
schedule:
5959
interval: weekly
6060
open-pull-requests-limit: 10
61+
allow:
62+
- dependency-name: portainer/kubectl-shell
6163
groups:
6264
all:
6365
applies-to: version-updates
6466
update-types:
65-
- "major"
66-
- "minor"
67-
- "patch"
67+
- major
68+
- minor
69+
- patch

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# Release 1.5.7
2+
3+
## What's New
4+
5+
* Additional library updates to resolve CVEs in dependencies
6+
* GitHub Actions release workflow fix
7+
8+
## Component Updates and Bug Fixes
9+
10+
* github.com/openziti/foundation/v2: [v2.0.59 -> v2.0.77](https://github.com/openziti/foundation/compare/v2.0.59...v2.0.77)
11+
* [Issue #455](https://github.com/openziti/foundation/issues/455) - Correctly close goroutine pool when external close is signaled
12+
* [Issue #452](https://github.com/openziti/foundation/issues/452) - Goroutine pool with a min worker count of 1 can drop to 0 workers due to race condition
13+
* [Issue #443](https://github.com/openziti/foundation/issues/443) - Allow injecting custom method into go-routine pools, to allow identifying them in stack dumps
14+
15+
* github.com/openziti/runzmd: [v1.0.67 -> v1.0.83](https://github.com/openziti/runzmd/compare/v1.0.67...v1.0.83)
16+
* github.com/openziti/go-term-markdown: v1.0.1 (new)
17+
* github.com/openziti/ziti: [v1.5.6 -> v1.5.7](https://github.com/openziti/ziti/compare/v1.5.6...v1.5.7)
18+
* [Issue #3291](https://github.com/openziti/ziti/issues/3291) - replace decommissioned bitnami/kubectl
19+
120
# Release 1.5.6
221

322
## What's New

dist/docker-images/ziti-cli/Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@
22

33
# get kubectl CLI from a source with Docker Content Trust (DCT)
44
# FIXME: require DCT at build time
5-
FROM bitnami/kubectl:1.32 AS bitnami-kubectl
6-
7-
# FIXME: This repo requires terms acceptance and is only available on registry.redhat.io.
8-
# FROM registry.access.redhat.com/openshift4/ose-cli AS openshift-cli
5+
FROM portainer/kubectl-shell:2.34.0 AS portainer-kubectl
96

107
FROM registry.access.redhat.com/ubi9/ubi-minimal
118
# This build stage grabs artifacts that are copied into the final image.
129
# It uses the same base as the final image to maximize docker cache hits.
1310

1411
ARG ARTIFACTS_DIR=./release
1512
ARG DOCKER_BUILD_DIR=./dist/docker-images/ziti-cli
16-
# e.g. linux
17-
ARG TARGETOS
1813
# e.g. arm64
1914
ARG TARGETARCH
15+
# e.g. linux
16+
ARG TARGETOS
2017

2118
ARG ZUID=2171
2219
ARG ZGID=2171
@@ -43,7 +40,7 @@ RUN INSTALL_PKGS="python3.11 python3.11-pip tar bash-completion vim-minimal le
4340
# COPY --from=openshift-cli /path/to/oc /usr/local/bin/oc
4441

4542
### install Kubernetes CLI
46-
COPY --from=bitnami-kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
43+
COPY --from=portainer-kubectl /usr/local/bin/kubectl /usr/local/bin/
4744

4845
### add license in the path prescribed by OpenShift
4946
RUN mkdir -p -m0755 /licenses

go.mod

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ require (
5454
github.com/openziti/channel/v3 v3.0.39
5555
github.com/openziti/cobra-to-md v1.0.1
5656
github.com/openziti/edge-api v0.26.42
57-
github.com/openziti/foundation/v2 v2.0.59
57+
github.com/openziti/foundation/v2 v2.0.77
5858
github.com/openziti/identity v1.0.100
5959
github.com/openziti/jwks v1.0.6
6060
github.com/openziti/metrics v1.3.0
61-
github.com/openziti/runzmd v1.0.67
61+
github.com/openziti/runzmd v1.0.83
6262
github.com/openziti/sdk-golang v0.25.1
6363
github.com/openziti/secretstream v0.1.32
6464
github.com/openziti/storage v0.4.7
@@ -77,7 +77,7 @@ require (
7777
github.com/spf13/cobra v1.9.1
7878
github.com/spf13/pflag v1.0.6
7979
github.com/spf13/viper v1.20.0
80-
github.com/stretchr/testify v1.10.0
80+
github.com/stretchr/testify v1.11.1
8181
github.com/teris-io/shortid v0.0.0-20201117134242-e59966efd125
8282
github.com/xeipuuv/gojsonschema v1.2.0
8383
github.com/zitadel/oidc/v2 v2.12.2
@@ -100,7 +100,6 @@ require (
100100
)
101101

102102
require (
103-
github.com/MichaelMure/go-term-markdown v0.1.4 // indirect
104103
github.com/MichaelMure/go-term-text v0.3.1 // indirect
105104
github.com/alecthomas/chroma v0.10.0 // indirect
106105
github.com/andybalholm/brotli v1.1.1 // indirect
@@ -111,13 +110,12 @@ require (
111110
github.com/biogo/store v0.0.0-20200525035639-8c94ae1e7c9c // indirect
112111
github.com/boltdb/bolt v1.3.1 // indirect
113112
github.com/c-bata/go-prompt v0.2.6 // indirect
113+
github.com/clipperhouse/uax29/v2 v2.2.0 // indirect
114114
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
115115
github.com/creack/pty v1.1.11 // indirect
116116
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
117-
github.com/disintegration/imaging v1.6.2 // indirect
118-
github.com/dlclark/regexp2 v1.10.0 // indirect
117+
github.com/dlclark/regexp2 v1.11.5 // indirect
119118
github.com/docker/go-units v0.5.0 // indirect
120-
github.com/eliukblau/pixterm/pkg/ansimage v0.0.0-20191210081756-9fb6cf8c2f75 // indirect
121119
github.com/felixge/httpsnoop v1.0.4 // indirect
122120
github.com/fsnotify/fsnotify v1.9.0 // indirect
123121
github.com/go-jose/go-jose/v4 v4.1.1 // indirect
@@ -142,13 +140,12 @@ require (
142140
github.com/josharian/native v1.1.0 // indirect
143141
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
144142
github.com/kr/pty v1.1.8 // indirect
145-
github.com/kyokomi/emoji/v2 v2.2.12 // indirect
146-
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
143+
github.com/kyokomi/emoji/v2 v2.2.13 // indirect
147144
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
148145
github.com/mailru/easyjson v0.9.0 // indirect
149146
github.com/mattn/go-colorable v0.1.14 // indirect
150147
github.com/mattn/go-isatty v0.0.20 // indirect
151-
github.com/mattn/go-runewidth v0.0.16 // indirect
148+
github.com/mattn/go-runewidth v0.0.19 // indirect
152149
github.com/mattn/go-tty v0.0.3 // indirect
153150
github.com/mdlayher/socket v0.4.1 // indirect
154151
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
@@ -160,6 +157,7 @@ require (
160157
github.com/opentracing/opentracing-go v1.2.1-0.20220228012449-10b1cf09e00b // indirect
161158
github.com/openziti-incubator/cf v0.0.3 // indirect
162159
github.com/openziti/dilithium v0.3.5 // indirect
160+
github.com/openziti/go-term-markdown v1.0.1 // indirect
163161
github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 // indirect
164162
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
165163
github.com/pion/dtls/v3 v3.0.5 // indirect
@@ -168,7 +166,6 @@ require (
168166
github.com/pkg/term v1.2.0-beta.2 // indirect
169167
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
170168
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
171-
github.com/rivo/uniseg v0.4.7 // indirect
172169
github.com/rodaine/table v1.0.1 // indirect
173170
github.com/rs/cors v1.11.0 // indirect
174171
github.com/russross/blackfriday/v2 v2.1.0 // indirect
@@ -193,7 +190,6 @@ require (
193190
go.opentelemetry.io/otel/metric v1.36.0 // indirect
194191
go.opentelemetry.io/otel/trace v1.36.0 // indirect
195192
go.uber.org/multierr v1.11.0 // indirect
196-
golang.org/x/image v0.31.0 // indirect
197193
golang.org/x/mod v0.28.0 // indirect
198194
golang.org/x/term v0.35.0 // indirect
199195
golang.org/x/tools v0.37.0 // indirect

0 commit comments

Comments
 (0)