File tree Expand file tree Collapse file tree 7 files changed +13
-11
lines changed
Expand file tree Collapse file tree 7 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ variables:
99 KIND : v0.27.0
1010 DOCKER_HOST : tcp://docker:2375
1111 DOCKER_DRIVER : overlay2
12- GO_VERSION : " 1.24 "
12+ GO_VERSION : " 1.25 "
1313 DOCKER_VERSION : " 26.0"
1414
1515include :
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- FROM golang:1.24 -alpine AS builder
15+ FROM golang:1.25 -alpine AS builder
1616
1717RUN apk --no-cache add git openssh
1818
Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ RUN mkdir -p /usr/local/hug/aux && \
3131RUN apk --no-cache add socat openssl util-linux htop tzdata curl libcap && \
3232 rm -f /usr/local/bin/dataplaneapi /usr/bin/dataplaneapi /etc/haproxy/dataplaneapi.yml && \
3333 rm -f /usr/local/bin/dataplaneapi-v2 /usr/bin/dataplaneapi-v2 && \
34- chgrp -R haproxy /usr/local/etc/haproxy /run /var && \
35- chmod -R ug+rwx /usr/local/etc/haproxy /run /var && \
34+ rm -f /etc/haproxy/haproxy.cfg && \
35+ mkdir -p /usr/local/hug && \
36+ chgrp -R haproxy /usr/local/hug /run /var && \
37+ chmod -R ug+rwx /usr/local/hug /run /var && \
3638 setcap 'cap_net_bind_service=+ep' /usr/local/sbin/haproxy && \
3739 case "${TARGETPLATFORM}" in \
3840 "linux/arm64") S6_ARCH=aarch64 ;; \
Original file line number Diff line number Diff line change 1- FROM golang:1.24 -alpine AS builder
1+ FROM golang:1.25 -alpine AS builder
22
33COPY *.go /src/
44COPY go.mod /src/go.mod
Original file line number Diff line number Diff line change 11module echo-http
22
3- go 1.24
3+ go 1.25
Original file line number Diff line number Diff line change 11module github.com/haproxytech/kubernetes-controller
22
3- go 1.24.0
3+ // module github.com/haproxytech/haproxy-unified-gateway
4+
5+ go 1.25.0
46
57require (
68 github.com/Masterminds/semver/v3 v3.3.1
Original file line number Diff line number Diff line change @@ -227,9 +227,7 @@ func TestObjectStoreImpl_Concurrency(t *testing.T) {
227227 var wg sync.WaitGroup
228228
229229 for i := range numGoroutines {
230- wg .Add (1 )
231- go func () {
232- defer wg .Done ()
230+ wg .Go (func () {
233231 for j := range numOpsPerGoroutine {
234232 idRoutine := strconv .Itoa (i )
235233 idOp := strconv .Itoa (j )
@@ -244,7 +242,7 @@ func TestObjectStoreImpl_Concurrency(t *testing.T) {
244242 store .delete (& gatewayv1.GatewayClass {}, nsName )
245243 }
246244 }
247- }( )
245+ })
248246 }
249247 wg .Wait ()
250248
You can’t perform that action at this time.
0 commit comments