Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/contrib-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: '~1.24'
go-version: '1.27.3'
- name: Clone the code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: '~1.24'
go-version: '1.27.3'
- name: Clone the code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: '~1.24'
go-version: '1.27.3'
- name: Clone the code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Install linter
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.12.2
version: v2.15.0
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: "1.24"
go-version: "1.27.3"

- name: Checkout code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: "1.24"
go-version: "1.27.3"
- name: Build binary
run: |
make fioserver
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: "1.24"
go-version: "1.27.3"

- name: Build binaries
run: |
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: "1.24"
go-version: "1.27.3"
- name: Install swag
run: go install github.com/swaggo/swag/cmd/swag@latest
- name: Generate Swagger docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: '~1.24'
go-version: '1.27.3'
- name: Clone the code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: "1.24"
go-version: "1.27.3"
- name: Checkout code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Install swag
Expand Down
2 changes: 1 addition & 1 deletion contrib/Dockerfile.devshell
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/docker/library/golang:1.25-bookworm
FROM public.ecr.aws/docker/library/golang:1.27.3-bookworm

RUN --mount=target=/ctx \
if [ -d /ctx/.extra-certs/ ] ; then \
Expand Down
2 changes: 1 addition & 1 deletion contrib/e2e/Dockerfile.fioup
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine AS builder
FROM golang:1.27.3-alpine AS builder

RUN apk add --no-cache git make
RUN git clone https://github.com/foundriesio/fioup
Expand Down
2 changes: 1 addition & 1 deletion contrib/e2e/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $(CACHE)/aktualizr-lite:
# Build fiopull from source using a throwaway Go container.
$(CACHE)/fiopull:
mkdir -p $(CACHE)
docker run --rm -v $(CACHE):/out golang:1.24 sh -c "\
docker run --rm -v $(CACHE):/out golang:1.27.3 sh -c "\
git clone --depth=1 https://github.com/foundriesio/ostreeuploader.git /src && \
cd /src && make fiopull && cp bin/fiopull /out/fiopull"

Expand Down
2 changes: 1 addition & 1 deletion contrib/perf-test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: BSD-3-Clause-Clear

# Stage 1: build fioserver and gen-certs from source
FROM public.ecr.aws/docker/library/golang:1.25 AS builder
FROM public.ecr.aws/docker/library/golang:1.27.3 AS builder

# hack for building on QC managed laptops
RUN --mount=target=/ctx \
Expand Down
3 changes: 1 addition & 2 deletions contrib/perf-test/gen-certs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import (
"runtime"
"sync"
"time"

"github.com/google/uuid"
"uuid"
)

func main() {
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module github.com/foundriesio/update-server

go 1.25.0
go 1.27.3

require (
github.com/alexflint/go-arg v1.6.0
github.com/foundriesio/go-ecies v0.3.0
github.com/go-pkgz/expirable-cache/v3 v3.1.0
github.com/google/uuid v1.6.0
github.com/labstack/echo/v4 v4.15.3
github.com/labstack/gommon v0.5.0
github.com/mattn/go-sqlite3 v1.14.32
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ github.com/go-pkgz/expirable-cache/v3 v3.1.0 h1:s05P851/O6QJ6Mc+7o2bh9aGtD3romB1
github.com/go-pkgz/expirable-cache/v3 v3.1.0/go.mod h1:6pVgNleydKPj0J2/mzrI02/RDo4ivKx5v2XlNmIjhjo=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k=
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
Expand Down
2 changes: 1 addition & 1 deletion server/gateway/handlers_fiotest.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"mime"
"net/http"
"path/filepath"
"uuid"

"github.com/foundriesio/update-server/storage"
"github.com/google/uuid"
"github.com/labstack/echo/v4"
)

Expand Down
2 changes: 1 addition & 1 deletion server/ui/api/handlers_rollouts.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func streamUpdateLogs(c echo.Context, reader iter.Seq2[string, error]) error {
}

// Errors are already handled by the eventStreamReader
for line := range keepaliveReader(eventStreamReader) {
for line := range keepaliveReader(eventStreamReader) { //nolint:errcheck
if _, err := r.Write([]byte(line)); err != nil {
// Client disconnected - only log unexpected errors
if !errors.Is(err, io.EOF) && !errors.Is(err, net.ErrClosed) {
Expand Down
2 changes: 1 addition & 1 deletion storage/gateway/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"strings"
"testing"
"time"
"uuid"

"github.com/foundriesio/update-server/storage"
"github.com/foundriesio/update-server/storage/api"
"github.com/google/uuid"
"github.com/stretchr/testify/require"
)

Expand Down
Loading