mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 15:41:15 +02:00
go 1.26 (#10797)
This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
cache: true
|
cache: true
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
**/go.sum
|
**/go.sum
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
container-id: [unit-tests-1]
|
container-id: [unit-tests-1]
|
||||||
container:
|
container:
|
||||||
image: golang:1.24-alpine
|
image: golang:1.26-alpine
|
||||||
options: --cpus 1.0 --memory 1g --hostname kafka-unit-${{ matrix.container-id }}
|
options: --cpus 1.0 --memory 1g --hostname kafka-unit-${{ matrix.container-id }}
|
||||||
env:
|
env:
|
||||||
GOMAXPROCS: 1
|
GOMAXPROCS: 1
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
container-id: [integration-1]
|
container-id: [integration-1]
|
||||||
container:
|
container:
|
||||||
image: golang:1.24-alpine
|
image: golang:1.26-alpine
|
||||||
options: --cpus 2.0 --memory 2g --ulimit nofile=1024:1024 --hostname kafka-integration-${{ matrix.container-id }}
|
options: --cpus 2.0 --memory 2g --ulimit nofile=1024:1024 --hostname kafka-integration-${{ matrix.container-id }}
|
||||||
env:
|
env:
|
||||||
GOMAXPROCS: 2
|
GOMAXPROCS: 2
|
||||||
@@ -98,7 +98,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
@@ -134,7 +134,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
container-id: [e2e-1]
|
container-id: [e2e-1]
|
||||||
container:
|
container:
|
||||||
image: golang:1.24-alpine
|
image: golang:1.26-alpine
|
||||||
options: --cpus 2.0 --memory 2g --hostname kafka-e2e-${{ matrix.container-id }}
|
options: --cpus 2.0 --memory 2g --hostname kafka-e2e-${{ matrix.container-id }}
|
||||||
env:
|
env:
|
||||||
GOMAXPROCS: 2
|
GOMAXPROCS: 2
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
cache: true
|
cache: true
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
**/go.sum
|
**/go.sum
|
||||||
@@ -313,7 +313,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
container-id: [consumer-group-1]
|
container-id: [consumer-group-1]
|
||||||
container:
|
container:
|
||||||
image: golang:1.24-alpine
|
image: golang:1.26-alpine
|
||||||
options: --cpus 1.0 --memory 2g --ulimit nofile=512:512 --hostname kafka-consumer-${{ matrix.container-id }}
|
options: --cpus 1.0 --memory 2g --ulimit nofile=512:512 --hostname kafka-consumer-${{ matrix.container-id }}
|
||||||
env:
|
env:
|
||||||
GOMAXPROCS: 1
|
GOMAXPROCS: 1
|
||||||
@@ -327,7 +327,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
cache: true
|
cache: true
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
**/go.sum
|
**/go.sum
|
||||||
@@ -475,7 +475,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
container-id: [client-compat-1]
|
container-id: [client-compat-1]
|
||||||
container:
|
container:
|
||||||
image: golang:1.24-alpine
|
image: golang:1.26-alpine
|
||||||
options: --cpus 1.0 --memory 1.5g --shm-size 256m --hostname kafka-client-${{ matrix.container-id }}
|
options: --cpus 1.0 --memory 1.5g --shm-size 256m --hostname kafka-client-${{ matrix.container-id }}
|
||||||
env:
|
env:
|
||||||
GOMAXPROCS: 1
|
GOMAXPROCS: 1
|
||||||
@@ -489,7 +489,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
cache: true
|
cache: true
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
**/go.sum
|
**/go.sum
|
||||||
@@ -633,7 +633,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
container-id: [smq-integration-1]
|
container-id: [smq-integration-1]
|
||||||
container:
|
container:
|
||||||
image: golang:1.24-alpine
|
image: golang:1.26-alpine
|
||||||
options: --cpus 1.0 --memory 2g --hostname kafka-smq-${{ matrix.container-id }}
|
options: --cpus 1.0 --memory 2g --hostname kafka-smq-${{ matrix.container-id }}
|
||||||
env:
|
env:
|
||||||
GOMAXPROCS: 1
|
GOMAXPROCS: 1
|
||||||
@@ -647,7 +647,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
cache: true
|
cache: true
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
**/go.sum
|
**/go.sum
|
||||||
@@ -794,7 +794,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
container-id: [protocol-1]
|
container-id: [protocol-1]
|
||||||
container:
|
container:
|
||||||
image: golang:1.24-alpine
|
image: golang:1.26-alpine
|
||||||
options: --cpus 1.0 --memory 1g --tmpfs /tmp:exec --hostname kafka-protocol-${{ matrix.container-id }}
|
options: --cpus 1.0 --memory 1g --tmpfs /tmp:exec --hostname kafka-protocol-${{ matrix.container-id }}
|
||||||
env:
|
env:
|
||||||
GOMAXPROCS: 1
|
GOMAXPROCS: 1
|
||||||
@@ -805,7 +805,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Run Go unit tests
|
- name: Run Go unit tests
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v7
|
- uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
|
|
||||||
- name: Build SeaweedFS
|
- name: Build SeaweedFS
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v7
|
uses: actions/setup-go@v7
|
||||||
with:
|
with:
|
||||||
go-version: ^1.25
|
go-version: ^1.26
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25 AS builder
|
FROM golang:1.26 AS builder
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y build-essential wget ca-certificates && \
|
apt-get install -y build-essential wget ca-certificates && \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Pin the builder to the host arch and cross-compile the (CGO-free) Go binary,
|
# Pin the builder to the host arch and cross-compile the (CGO-free) Go binary,
|
||||||
# so arm64/arm/386 targets skip QEMU emulation of the whole compile.
|
# so arm64/arm/386 targets skip QEMU emulation of the whole compile.
|
||||||
FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS builder
|
FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS builder
|
||||||
RUN apk add git g++ fuse
|
RUN apk add git g++ fuse
|
||||||
RUN mkdir -p /go/src/github.com/seaweedfs/
|
RUN mkdir -p /go/src/github.com/seaweedfs/
|
||||||
ARG BRANCH=${BRANCH:-master}
|
ARG BRANCH=${BRANCH:-master}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25 AS builder
|
FROM golang:1.26 AS builder
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
|
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25 AS builder
|
FROM golang:1.26 AS builder
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
|
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Multi-stage build for Go Sidecar
|
# Multi-stage build for Go Sidecar
|
||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk add --no-cache git ca-certificates tzdata
|
RUN apk add --no-cache git ca-certificates tzdata
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Multi-stage build for Test Client
|
# Multi-stage build for Test Client
|
||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk add --no-cache git ca-certificates tzdata
|
RUN apk add --no-cache git ca-certificates tzdata
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ This project implements a **high-performance RDMA (Remote Direct Memory Access)
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Required dependencies
|
# Required dependencies
|
||||||
- Go 1.23+
|
- Go 1.26+
|
||||||
- Rust 1.70+
|
- Rust 1.70+
|
||||||
- UCX libraries (for hardware RDMA)
|
- UCX libraries (for hardware RDMA)
|
||||||
- Linux with RDMA-capable hardware (InfiniBand/RoCE)
|
- Linux with RDMA-capable hardware (InfiniBand/RoCE)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Simplified single-stage build for SeaweedFS with FoundationDB support
|
# Simplified single-stage build for SeaweedFS with FoundationDB support
|
||||||
# Force x86_64 platform to use AMD64 FoundationDB packages
|
# Force x86_64 platform to use AMD64 FoundationDB packages
|
||||||
FROM --platform=linux/amd64 golang:1.25-bookworm
|
FROM --platform=linux/amd64 golang:1.26-bookworm
|
||||||
|
|
||||||
ARG FOUNDATIONDB_VERSION=7.4.5
|
ARG FOUNDATIONDB_VERSION=7.4.5
|
||||||
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
|
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
|
||||||
@@ -43,7 +43,7 @@ WORKDIR /build
|
|||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Using Go 1.24 to match project requirements
|
# Using Go 1.26 to match project requirements
|
||||||
|
|
||||||
# Download dependencies (using versions from go.mod for deterministic builds)
|
# Download dependencies (using versions from go.mod for deterministic builds)
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Multi-stage Dockerfile to build SeaweedFS with FoundationDB support for ARM64
|
# Multi-stage Dockerfile to build SeaweedFS with FoundationDB support for ARM64
|
||||||
FROM --platform=linux/arm64 golang:1.25-bookworm AS builder
|
FROM --platform=linux/arm64 golang:1.26-bookworm AS builder
|
||||||
|
|
||||||
ARG FOUNDATIONDB_VERSION=7.4.5
|
ARG FOUNDATIONDB_VERSION=7.4.5
|
||||||
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
|
ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Test environment with Go and FoundationDB support
|
# Test environment with Go and FoundationDB support
|
||||||
FROM golang:1.25-bookworm
|
FROM golang:1.26-bookworm
|
||||||
|
|
||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
WEED_BINARY := weed
|
WEED_BINARY := weed
|
||||||
GO_VERSION := 1.24
|
GO_VERSION := 1.26
|
||||||
TEST_TIMEOUT := 30m
|
TEST_TIMEOUT := 30m
|
||||||
COVERAGE_FILE := coverage.out
|
COVERAGE_FILE := coverage.out
|
||||||
|
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.24'
|
go-version: '1.26'
|
||||||
|
|
||||||
- name: Install FUSE
|
- name: Install FUSE
|
||||||
run: sudo apt-get install -y fuse
|
run: sudo apt-get install -y fuse
|
||||||
@@ -232,7 +232,7 @@ jobs:
|
|||||||
|
|
||||||
### Docker Testing
|
### Docker Testing
|
||||||
```dockerfile
|
```dockerfile
|
||||||
FROM golang:1.24
|
FROM golang:1.26
|
||||||
RUN apt-get update && apt-get install -y fuse
|
RUN apt-get update && apt-get install -y fuse
|
||||||
COPY . /seaweedfs
|
COPY . /seaweedfs
|
||||||
WORKDIR /seaweedfs
|
WORKDIR /seaweedfs
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile for Kafka Gateway Integration Testing
|
# Dockerfile for Kafka Gateway Integration Testing
|
||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk add --no-cache git make gcc musl-dev sqlite-dev
|
RUN apk add --no-cache git make gcc musl-dev sqlite-dev
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile for building SeaweedFS components from the current workspace
|
# Dockerfile for building SeaweedFS components from the current workspace
|
||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
RUN apk add --no-cache git make gcc musl-dev sqlite-dev
|
RUN apk add --no-cache git make gcc musl-dev sqlite-dev
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile for Kafka Integration Test Setup
|
# Dockerfile for Kafka Integration Test Setup
|
||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk add --no-cache git make gcc musl-dev
|
RUN apk add --no-cache git make gcc musl-dev
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Multi-stage build for cross-platform support
|
# Multi-stage build for cross-platform support
|
||||||
|
|
||||||
# Stage 1: Builder
|
# Stage 1: Builder
|
||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -314,7 +314,7 @@ make dev-env
|
|||||||
# Build load test binary
|
# Build load test binary
|
||||||
make build
|
make build
|
||||||
|
|
||||||
# Run tests locally (requires Go 1.21+)
|
# Run tests locally (requires Go 1.26+)
|
||||||
cd cmd/loadtest && go run main.go -config ../../config/loadtest.yaml
|
cd cmd/loadtest && go run main.go -config ../../config/loadtest.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Install git and other build dependencies
|
# Install git and other build dependencies
|
||||||
RUN apk add --no-cache git make
|
RUN apk add --no-cache git make
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Multi-stage build for SeaweedFS S3 with IAM
|
# Multi-stage build for SeaweedFS S3 with IAM
|
||||||
FROM golang:1.25-alpine AS builder
|
FROM golang:1.26-alpine AS builder
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk add --no-cache git make curl wget
|
RUN apk add --no-cache git make curl wget
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ The S3 IAM integration tests validate the complete end-to-end functionality of:
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
1. **Go 1.19+** with modules enabled
|
1. **Go 1.26+** with modules enabled
|
||||||
2. **SeaweedFS Binary** (`weed`) built with IAM support
|
2. **SeaweedFS Binary** (`weed`) built with IAM support
|
||||||
3. **Test Dependencies**:
|
3. **Test Dependencies**:
|
||||||
```bash
|
```bash
|
||||||
@@ -425,7 +425,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.19'
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: Build SeaweedFS
|
- name: Build SeaweedFS
|
||||||
run: go build -o weed ./main.go
|
run: go build -o weed ./main.go
|
||||||
|
|||||||
Reference in New Issue
Block a user