Skip to content

Commit b7ecd57

Browse files
Use Go 1.22 HTTP router in fake API (#173)
1 parent 5cb4d18 commit b7ecd57

File tree

5 files changed

+521
-602
lines changed

5 files changed

+521
-602
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
go-version: [ 'stable', 'oldstable', '1.20' ]
14+
go-version: [ 'stable', '1.22' ]
1515
steps:
1616
- uses: actions/checkout@v4
1717
with:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine as builder
1+
FROM golang:1.22-alpine as builder
22
RUN mkdir -p /linode
33
WORKDIR /linode
44

@@ -11,7 +11,7 @@ COPY sentry ./sentry
1111
RUN go mod download
1212
RUN go build -a -ldflags '-extldflags "-static"' -o /bin/linode-cloud-controller-manager-linux /linode
1313

14-
FROM alpine:3.18.4
14+
FROM alpine:3.19.1
1515
RUN apk add --update --no-cache ca-certificates
1616
LABEL maintainers="Linode"
1717
LABEL description="Linode Cloud Controller Manager"

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
IMG ?= linode/linode-cloud-controller-manager:canary
22
RELEASE_DIR ?= release
3-
GOLANGCI_LINT_IMG := golangci/golangci-lint:v1.55-alpine
43
PLATFORM ?= linux/amd64
54

65
export GO111MODULE=on
@@ -26,9 +25,9 @@ vet: fmt
2625
.PHONY: lint
2726
lint:
2827
docker run --rm -v "$(shell pwd):/var/work:ro" -w /var/work \
29-
golangci/golangci-lint:v1.55.2 golangci-lint run -v --timeout=5m
28+
golangci/golangci-lint:v1.57.2 golangci-lint run -v --timeout=5m
3029
docker run --rm -v "$(shell pwd):/var/work:ro" -w /var/work/e2e \
31-
golangci/golangci-lint:v1.55.2 golangci-lint run -v --timeout=5m
30+
golangci/golangci-lint:v1.57.2 golangci-lint run -v --timeout=5m
3231

3332
.PHONY: fmt
3433
fmt:

0 commit comments

Comments
 (0)