Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
0aec191
chore: update packages
luckspt Jun 18, 2025
3efefeb
fix: use TabBarThemeData instead of TabBarTheme
luckspt Jun 18, 2025
0e58bc9
chore: create .env.example
luckspt Jun 18, 2025
4259f83
chore: vendor stuff
luckspt Aug 12, 2025
fd2c2d9
chore: open mongodb port to be used in mongodb compass
luckspt Aug 12, 2025
fc5be9d
chore: update go dependencies
luckspt Aug 12, 2025
06c5105
feat: use .env
luckspt Aug 12, 2025
3908043
feat: generate jwt from google jwt (validate locally)
luckspt Aug 12, 2025
e9d91db
chore: whatever flutter lldb stuff this is
luckspt Aug 12, 2025
114529b
chore: company rep and threads prefilled
luckspt Aug 12, 2025
dd8396a
feat: user responsibilities
luckspt Aug 12, 2025
4f5bb28
chore(speaker): update company name & contact object on dto
luckspt Aug 15, 2025
09e5ffb
chore(company): rename
luckspt Aug 15, 2025
f5ae4b3
chore: communications mapped by event
luckspt Aug 15, 2025
8790583
feat: speaker communications
luckspt Aug 15, 2025
8540d79
chore: create readme for frontend
luckspt Aug 15, 2025
f0a7f13
fix: null date instead of default 0001-01-01
luckspt Aug 15, 2025
a4f1be9
fix: null confirmed
luckspt Aug 15, 2025
d72c387
fix: empty date
luckspt Aug 15, 2025
93a6214
chore: enable spaces again
luckspt Aug 15, 2025
3e21af7
feat: companyName and contact on create speaker
luckspt Aug 15, 2025
aaa26b2
chore: send team on jwt
luckspt Aug 17, 2025
74330c4
feat: contact gender and language
luckspt Aug 17, 2025
c81b6c4
feat: contact object on member
luckspt Aug 17, 2025
78cd373
feat: omit post updated when empty
luckspt Aug 17, 2025
67a36f6
feat: update employers order
luckspt Aug 17, 2025
64e9d67
Merge remote-tracking branch 'vuedeck/main'
luckspt Aug 19, 2025
ee42a1e
feat: vue deck dockerfile
luckspt Aug 19, 2025
d31a768
fix(backend): dockerfile
luckspt Aug 19, 2025
da684a2
Merge branch 'staging' into luckspt/dev
luckspt Aug 19, 2025
69ee636
chore: delete package lock
luckspt Aug 19, 2025
f5f9307
chore: create package lock
luckspt Aug 19, 2025
d6429a6
chore: delete package lock
luckspt Aug 19, 2025
c7f4fba
chore: create package lock
luckspt Aug 19, 2025
4883d7c
Merge branch 'staging' into luckspt/dev
luckspt Aug 19, 2025
0e6eff4
Merge pull request #434 from sinfo/luckspt/dev
Francisca105 Aug 19, 2025
4b3a9c8
chore: package-lock
luckspt Aug 19, 2025
08fb0a7
chore: go mod & tidy
luckspt Aug 19, 2025
34ecfd9
ci: don't use vendor on ci
luckspt Aug 19, 2025
5b9bb9e
chore: don't filter by current event on navbar search
luckspt Aug 19, 2025
a295056
chore: sinfo 33 speaker template
luckspt Sep 26, 2025
9f65b4e
chore: add debug for staging
luckspt Sep 26, 2025
3f82735
chore: remove blabla from paragraph
luckspt Sep 26, 2025
76b038b
chore: remove .env console.log
luckspt Oct 9, 2025
4f2c093
chore: remove unneeded console.logs
luckspt Oct 9, 2025
ade1aaa
Default APIUrl as localhost
luckspt Oct 19, 2025
4d655b6
centralize package.json in the root for a more practical dev execution
sancheslfl Oct 15, 2025
7b7fb6c
using correct status endpoint
sancheslfl Oct 17, 2025
b7682f1
popover only in editing mode
sancheslfl Oct 20, 2025
6d02879
remove flutter artifacts from #457
luckspt Oct 23, 2025
e953bef
fix: warn user when no contact
luckspt Oct 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
context: ./frontend
push: true
tags: orgsinfo/deck2-frontend:latest
file: ./frontend/Dockerfile_staging
file: ./frontend/Dockerfile

- name: Deck2 Frontend Image Digest
run: echo ${{ steps.docker_build.outputs.digest }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Version 2 of eventdeck
## Requirements

- go version >= 1.18
- swagger: `go get -u github.com/go-swagger/go-swagger/cmd/swagger` (info on https://goswagger.io/)
- swagger: `go install github.com/go-swagger/go-swagger/cmd/swagger@latest` (info on https://goswagger.io/)

## Documentation

Expand Down
21 changes: 21 additions & 0 deletions backend/.vendor-new/github.com/googleapis/gax-go/v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
module github.com/googleapis/gax-go/v2

go 1.25.1

require google.golang.org/grpc v1.19.0

require (
cloud.google.com/go v0.26.0 // indirect
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/client9/misspell v0.3.4 // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/golang/mock v1.1.1 // indirect
github.com/golang/protobuf v1.2.0 // indirect
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 // indirect
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d // indirect
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be // indirect
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f // indirect
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522 // indirect
golang.org/x/text v0.3.0 // indirect
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b // indirect
google.golang.org/appengine v1.1.0 // indirect
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 // indirect
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099 // indirect
)
2 changes: 2 additions & 0 deletions backend/.vendor-new/github.com/hashicorp/hcl/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/hashicorp/hcl

go 1.25.1

require github.com/davecgh/go-spew v1.1.1
8 changes: 8 additions & 0 deletions backend/.vendor-new/github.com/minio/minio-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/minio/minio-go

go 1.25.1

require (
github.com/mitchellh/go-homedir v1.1.0
golang.org/x/crypto v0.1.0
Expand All @@ -12,6 +14,12 @@ require (
github.com/jtolds/gls v4.2.1+incompatible // indirect
github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304 // indirect
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c // indirect
github.com/yuin/goldmark v1.4.13 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
)
6 changes: 6 additions & 0 deletions backend/.vendor-new/github.com/minio/minio-go/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304 h1:Jpy1PX
github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c h1:Ho+uVpkel/udgjbwB5Lktg9BtvJSh2DT0Hi6LPSyI2w=
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.1.0 h1:MDRAIl0xIo9Io2xV565hzXHw3zVseKrJKodhohM5CjU=
golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/ini.v1 v1.41.0 h1:Ka3ViY6gNYSKiVy71zXBEqKplnV35ImDLVG+8uoIklE=
gopkg.in/ini.v1 v1.41.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
2 changes: 2 additions & 0 deletions backend/.vendor-new/github.com/sirupsen/logrus/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/sirupsen/logrus

go 1.25.1

require (
github.com/konsorten/go-windows-terminal-sequences v1.0.1
golang.org/x/sys v0.1.0
Expand Down
14 changes: 14 additions & 0 deletions backend/.vendor-new/github.com/spf13/afero/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
module github.com/spf13/afero

go 1.25.1

require golang.org/x/text v0.3.8

require (
github.com/yuin/goldmark v1.4.13 // indirect
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
)
9 changes: 9 additions & 0 deletions backend/.vendor-new/github.com/spf13/afero/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
5 changes: 4 additions & 1 deletion backend/.vendor-new/github.com/spf13/cast/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
module github.com/spf13/cast

go 1.25.1

require github.com/stretchr/testify v1.2.2

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.2.2
)
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
module github.com/spf13/jwalterweatherman

go 1.25.1

require github.com/stretchr/testify v1.2.2

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.2.2
)
15 changes: 15 additions & 0 deletions backend/.vendor-new/github.com/spf13/viper/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/spf13/viper

go 1.25.1

require (
github.com/fsnotify/fsnotify v1.4.7
github.com/hashicorp/hcl v1.0.0
Expand All @@ -15,8 +17,21 @@ require (

require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/kr/pty v1.1.1 // indirect
github.com/kr/text v0.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.2.2 // indirect
github.com/yuin/goldmark v1.4.13 // indirect
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)
8 changes: 8 additions & 0 deletions backend/.vendor-new/github.com/spf13/viper/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@ github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
14 changes: 14 additions & 0 deletions backend/.vendor-new/google.golang.org/appengine/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
module google.golang.org/appengine

go 1.25.1

require (
github.com/golang/protobuf v1.3.1
golang.org/x/net v0.7.0
)

require (
github.com/yuin/goldmark v1.4.13 // indirect
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
)
9 changes: 9 additions & 0 deletions backend/.vendor-new/google.golang.org/appengine/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
8 changes: 4 additions & 4 deletions backend/.vendor-new/gopkg.in/yaml.v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "gopkg.in/yaml.v2"
module gopkg.in/yaml.v2

require (
"gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405
)
go 1.25.1

require gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
1 change: 1 addition & 0 deletions backend/.vendor-new/gopkg.in/yaml.v2/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
22 changes: 13 additions & 9 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,34 @@
##########################
# STEP 1 build executable
############################
FROM golang:1.18-alpine3.17 AS builder
FROM golang:1.23-alpine AS builder

# Create user
RUN adduser -D -g '' myuser

WORKDIR $GOPATH/src/github.com/sinfo/deck2
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download

COPY . .

RUN apk --no-cache add ca-certificates

# Optimize by removing debug informations, compile only for linux target
# and disabling cross compilation for go >= 1.10
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /go/bin/deck2 ./src/*.go
ENV GO111MODULE=on
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -mod=mod -ldflags="-w -s" -o /app/deck2 ./src


############################
# STEP 2 generate swagger specification
############################
FROM quay.io/goswagger/swagger AS swagger-builder

WORKDIR $GOPATH/src/github.com/sinfo/deck2
WORKDIR /app
COPY . .

RUN swagger flatten ./swagger/swagger.json --compact -o /go/bin/swagger.json
RUN swagger flatten ./swagger/swagger.json --compact -o /app/swagger.json

############################
# STEP 3 build a small image
Expand All @@ -35,13 +39,13 @@ FROM scratch
# Import the user and group files from the builder.
COPY --from=builder /etc/passwd /etc/passwd

WORKDIR /go/bin
WORKDIR /app

COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /go/bin/deck2 /go/bin/deck2
COPY --from=swagger-builder /go/bin/swagger.json /go/bin/static/swagger.json
COPY --from=builder /app/deck2 /app/deck2
COPY --from=swagger-builder /app/swagger.json /app/static/swagger.json

# Use an unprivileged user.
USER myuser

CMD ["/go/bin/deck2"]
CMD ["/app/deck2"]
2 changes: 1 addition & 1 deletion backend/Dockerfile_test
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN swagger validate /go/bin/swagger.json -q
############################
# STEP 2 run tests
############################
FROM golang:alpine3.10
FROM golang:1.23-alpine AS builder

WORKDIR $GOPATH/src/github.com/sinfo/deck2
COPY . .
Expand Down
Loading
Loading