Skip to content

Commit

Permalink
fix: comparable avaiable in go 1.20 (#555)
Browse files Browse the repository at this point in the history
Bump all service in 1.20
- go.mod
- Dev: Dockerfile

Co-authored-by: David Ragot <[email protected]>
  • Loading branch information
Dav-14 and David Ragot authored Oct 2, 2023
1 parent f3b71ff commit 78f9b2e
Show file tree
Hide file tree
Showing 23 changed files with 22 additions and 23 deletions.
2 changes: 1 addition & 1 deletion components/agent/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.19-alpine AS builder
FROM golang:1.20-alpine AS builder
WORKDIR /src
RUN apk update && apk add git
COPY libs/go-libs libs/go-libs
Expand Down
2 changes: 1 addition & 1 deletion components/agent/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/stack/components/agent

go 1.19
go 1.20

require (
github.com/formancehq/operator v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 1 addition & 1 deletion components/auth/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine AS builder
FROM golang:1.20-alpine AS builder
WORKDIR /src
COPY components/auth components/auth
COPY libs libs
Expand Down
2 changes: 1 addition & 1 deletion components/auth/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/auth

go 1.19
go 1.20

require (
github.com/formancehq/stack/libs/go-libs v0.0.0-20230221161632-e6dc6a89a85e
Expand Down
2 changes: 1 addition & 1 deletion components/fctl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS builder
FROM golang:1.20 AS builder
ARG APP_SHA
ARG VERSION
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion components/fctl/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/fctl

go 1.19
go 1.20

require (
github.com/TylerBrock/colorjson v0.0.0-20200706003622-8a50f05110d2
Expand Down
1 change: 0 additions & 1 deletion components/fctl/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spyzhov/ajson v0.8.0/go.mod h1:63V+CGM6f1Bu/p4nLIN8885ojBdt88TbLoSFzyqMuVA=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
Expand Down
2 changes: 1 addition & 1 deletion components/gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine as builder
FROM golang:1.20-alpine as builder
ARG APP_SHA
ARG VERSION
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion components/ledger/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/ledger

go 1.19
go 1.20

require (
github.com/Masterminds/semver/v3 v3.2.0
Expand Down
2 changes: 1 addition & 1 deletion components/operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.19-alpine as builder
FROM golang:1.20-alpine as builder
WORKDIR /src
ENV CGO_ENABLED=0
COPY libs/go-libs libs/go-libs
Expand Down
2 changes: 1 addition & 1 deletion components/orchestration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS builder
FROM golang:1.20 AS builder
ARG APP_SHA
ARG VERSION
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion components/orchestration/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/orchestration

go 1.19
go 1.20

require (
github.com/formancehq/formance-sdk-go v1.0.0-rc.1
Expand Down
2 changes: 1 addition & 1 deletion components/payments/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.3-bullseye AS builder
FROM golang:1.20-bullseye AS builder

RUN apt-get update && \
apt-get install -y gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu && \
Expand Down
2 changes: 1 addition & 1 deletion components/payments/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/payments

go 1.19
go 1.20

require (
github.com/ThreeDotsLabs/watermill v1.2.0
Expand Down
2 changes: 1 addition & 1 deletion components/search/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine AS builder
FROM golang:1.20-alpine AS builder
ARG APP_SHA
ARG VERSION
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion components/search/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/search

go 1.19
go 1.20

require (
github.com/aquasecurity/esquery v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion components/stargate/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine as builder
FROM golang:1.20-alpine as builder
ARG APP_SHA
ARG VERSION
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion components/stargate/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/stack/components/stargate

go 1.19
go 1.20

require (
github.com/alitto/pond v1.8.3
Expand Down
2 changes: 1 addition & 1 deletion components/wallets/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS builder
FROM golang:1.20 AS builder
ARG APP_SHA
ARG VERSION
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion components/wallets/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/wallets

go 1.19
go 1.20

require (
github.com/formancehq/formance-sdk-go v1.0.0-rc.1.0.20230213140938-3b8735cf0168
Expand Down
2 changes: 1 addition & 1 deletion components/webhooks/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS builder
FROM golang:1.20 AS builder
ARG APP_SHA
ARG VERSION
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion components/webhooks/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/webhooks

go 1.19
go 1.20

require (
github.com/ThreeDotsLabs/watermill v1.2.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/formancehq/stack

go 1.19
go 1.20

require (
github.com/pkg/errors v0.9.1
Expand Down

1 comment on commit 78f9b2e

@vercel
Copy link

@vercel vercel bot commented on 78f9b2e Oct 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.