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/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: git config --global --add safe.directory $(pwd)
- name: Install Go 1.27.3
run: backend/scripts/install-go.sh
- name: Install mockery 3.8.1
- name: Install mockery 3.9.0
run: backend/scripts/install-mockery.sh
- name: Cache golangci-lint
id: cache-golangci-lint
Expand All @@ -50,5 +50,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.14.0
version: v2.15.0
working-directory: ./backend
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cd backend
go run ./tools/pluginsgen
git diff --exit-code -- plugins/all
- name: Install mockery 3.8.1
- name: Install mockery 3.9.0
run: backend/scripts/install-mockery.sh
- name: Build Python
run: |
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ARG HTTPS_PROXY=
RUN apt-get update
RUN apt-get install -y ca-certificates git

RUN go install github.com/vektra/mockery/v3@v3.8.1
RUN go install github.com/vektra/mockery/v3@v3.9.0
RUN go install github.com/swaggo/swag/cmd/swag@v1.16.6


Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y \
gcc \
ca-certificates

RUN go install github.com/vektra/mockery/v3@v3.8.1
RUN go install github.com/vektra/mockery/v3@v3.9.0
RUN go install github.com/swaggo/swag/cmd/swag@v1.16.6

WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ TAG ?= $(shell if [ -d .git ]; then git tag --points-at HEAD; else echo "local_b
IMAGE_REPO ?= "apache"
VERSION = $(TAG)@$(SHA)
PYTHON_DIR ?= "./python"
MOCKERY_VERSION ?= v3.8.1
MOCKERY_VERSION ?= v3.9.0
# Always resolve mockery through the module cache instead of relying on whatever
# `mockery` happens to be on the PATH: the CI builder image ships mockery v2,
# which cannot read the v3 YAML configuration.
Expand All @@ -37,7 +37,7 @@ all: build
go-dep:
go install github.com/vektra/mockery/v3@$(MOCKERY_VERSION)
go install github.com/swaggo/swag/cmd/swag@v1.16.6
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.14.0
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.15.0

go-dev-tools:
# go install github.com/atombender/go-jsonschema/cmd/gojsonschema@latest
Expand Down
6 changes: 3 additions & 3 deletions backend/scripts/install-mockery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

set -eu

MOCKERY_VERSION=3.8.1
MOCKERY_VERSION=3.9.0
INSTALL_DIR=/opt/mockery/$MOCKERY_VERSION
MOCKERY_BIN=$INSTALL_DIR/mockery

Expand Down Expand Up @@ -61,11 +61,11 @@ fi
case "$(uname -m)" in
x86_64|amd64)
archive_name=mockery_${MOCKERY_VERSION}_Linux_x86_64.tar.gz
archive_sha256=953c7d38b58dd6398b1c595f27caf8bbf27e9b733b49c404d2e124e86d2ae72a
archive_sha256=30ca380381763e7c9e8afddeea09c260061aa1580b885a66677bb12ebd9f038d
;;
aarch64|arm64)
archive_name=mockery_${MOCKERY_VERSION}_Linux_arm64.tar.gz
archive_sha256=d1f481f3a6e9868dd3ad65da265238ee109ab3a5dd7508958d5811953696f452
archive_sha256=de4951716cc25236d0ee8dd5f18d1c3a08ab10315028e4313a7aee7526760d13
;;
*)
echo "unsupported architecture: $(uname -m)" >&2
Expand Down
2 changes: 1 addition & 1 deletion devops/docker/lake-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN curl --fail --location --retry 3 "https://go.dev/dl/go${GO_VERSION}.linux-am

# Install Golang Tools (versions match backend/Dockerfile and backend/Makefile)
RUN export GOPATH=/go && \
go install github.com/vektra/mockery/v3@v3.8.1 && \
go install github.com/vektra/mockery/v3@v3.9.0 && \
go install github.com/swaggo/swag/cmd/swag@v1.16.6

# Golang Env
Expand Down
Loading