Skip to content

Commit 4df08cc

Browse files
committed
Update dependencies
1 parent dda0cfc commit 4df08cc

File tree

5 files changed

+82
-75
lines changed

5 files changed

+82
-75
lines changed

.circleci/config.yml

Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -2,90 +2,90 @@ version: 2
22
jobs:
33
frontend:
44
docker:
5-
- image: circleci/node:10.8.0
5+
- image: circleci/node:16.13.0
66
steps:
7-
- checkout
8-
- run:
9-
name: "Install dependencies"
10-
command: yarn install
11-
- run:
12-
name: "Build"
13-
command: yarn build
14-
- persist_to_workspace:
15-
root: .
16-
paths:
17-
- dist/*
7+
- checkout
8+
- run:
9+
name: "Install dependencies"
10+
command: yarn install
11+
- run:
12+
name: "Build"
13+
command: yarn build
14+
- persist_to_workspace:
15+
root: .
16+
paths:
17+
- dist/*
1818

1919
backend:
2020
docker:
21-
- image: circleci/golang:1.14
21+
- image: circleci/golang:1.17
2222

2323
working_directory: /go/src/github.com/RoboCup-SSL/ssl-vision-client
2424
steps:
25-
- checkout
26-
- attach_workspace:
27-
at: .
28-
- run: go get -v -t -d ./...
29-
- run: go test -v ./...
30-
- run:
31-
working_directory: cmd/ssl-vision-client
32-
command: |
33-
go get -v github.com/gobuffalo/packr/packr
34-
GOOS=linux GOARCH=amd64 packr build -o ../../release/ssl-vision-client_linux_amd64
35-
GOOS=darwin GOARCH=amd64 packr build -o ../../release/ssl-vision-client_darwin_amd64
36-
GOOS=windows GOARCH=amd64 packr build -o ../../release/ssl-vision-client_windows_amd64.exe
37-
- run:
38-
working_directory: cmd/ssl-vision-cli
39-
command: |
40-
GOOS=linux GOARCH=amd64 go build -o ../../release/ssl-vision-cli_linux_amd64
41-
GOOS=darwin GOARCH=amd64 go build -o ../../release/ssl-vision-cli_darwin_amd64
42-
GOOS=windows GOARCH=amd64 go build -o ../../release/ssl-vision-cli_windows_amd64.exe
43-
- persist_to_workspace:
44-
root: .
45-
paths:
46-
- release/*
25+
- checkout
26+
- attach_workspace:
27+
at: .
28+
- run: go get -v -t -d ./...
29+
- run: go test -v ./...
30+
- run:
31+
working_directory: cmd/ssl-vision-client
32+
command: |
33+
go get -v github.com/gobuffalo/packr/packr
34+
GOOS=linux GOARCH=amd64 packr build -o ../../release/ssl-vision-client_linux_amd64
35+
GOOS=darwin GOARCH=amd64 packr build -o ../../release/ssl-vision-client_darwin_amd64
36+
GOOS=windows GOARCH=amd64 packr build -o ../../release/ssl-vision-client_windows_amd64.exe
37+
- run:
38+
working_directory: cmd/ssl-vision-cli
39+
command: |
40+
GOOS=linux GOARCH=amd64 go build -o ../../release/ssl-vision-cli_linux_amd64
41+
GOOS=darwin GOARCH=amd64 go build -o ../../release/ssl-vision-cli_darwin_amd64
42+
GOOS=windows GOARCH=amd64 go build -o ../../release/ssl-vision-cli_windows_amd64.exe
43+
- persist_to_workspace:
44+
root: .
45+
paths:
46+
- release/*
4747

4848
publish-github-release:
4949
docker:
50-
- image: circleci/golang:1.14
50+
- image: circleci/golang:1.17
5151
steps:
52-
- attach_workspace:
53-
at: .
54-
- run:
55-
name: "Prepare artifacts"
56-
working_directory: release
57-
command: |
58-
mv ssl-vision-client_linux_amd64 ssl-vision-client_${CIRCLE_TAG}_linux_amd64
59-
mv ssl-vision-client_darwin_amd64 ssl-vision-client_${CIRCLE_TAG}_darwin_amd64
60-
mv ssl-vision-client_windows_amd64.exe ssl-vision-client_${CIRCLE_TAG}_windows_amd64.exe
61-
mv ssl-vision-cli_linux_amd64 ssl-vision-cli_${CIRCLE_TAG}_linux_amd64
62-
mv ssl-vision-cli_darwin_amd64 ssl-vision-cli_${CIRCLE_TAG}_darwin_amd64
63-
mv ssl-vision-cli_windows_amd64.exe ssl-vision-cli_${CIRCLE_TAG}_windows_amd64.exe
64-
- run:
65-
name: "Publish Release on GitHub"
66-
command: |
67-
go get github.com/tcnksm/ghr
68-
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./release/
52+
- attach_workspace:
53+
at: .
54+
- run:
55+
name: "Prepare artifacts"
56+
working_directory: release
57+
command: |
58+
mv ssl-vision-client_linux_amd64 ssl-vision-client_${CIRCLE_TAG}_linux_amd64
59+
mv ssl-vision-client_darwin_amd64 ssl-vision-client_${CIRCLE_TAG}_darwin_amd64
60+
mv ssl-vision-client_windows_amd64.exe ssl-vision-client_${CIRCLE_TAG}_windows_amd64.exe
61+
mv ssl-vision-cli_linux_amd64 ssl-vision-cli_${CIRCLE_TAG}_linux_amd64
62+
mv ssl-vision-cli_darwin_amd64 ssl-vision-cli_${CIRCLE_TAG}_darwin_amd64
63+
mv ssl-vision-cli_windows_amd64.exe ssl-vision-cli_${CIRCLE_TAG}_windows_amd64.exe
64+
- run:
65+
name: "Publish Release on GitHub"
66+
command: |
67+
go get github.com/tcnksm/ghr
68+
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./release/
6969
7070
workflows:
7171
version: 2
7272
main:
7373
jobs:
74-
- frontend:
75-
filters:
76-
tags:
77-
only: /.*/
78-
- backend:
79-
requires:
80-
- frontend
81-
filters:
82-
tags:
83-
only: /.*/
84-
- publish-github-release:
85-
requires:
86-
- backend
87-
filters:
88-
branches:
89-
ignore: /.*/
90-
tags:
91-
only: /^v.*/
74+
- frontend:
75+
filters:
76+
tags:
77+
only: /.*/
78+
- backend:
79+
requires:
80+
- frontend
81+
filters:
82+
tags:
83+
only: /.*/
84+
- publish-github-release:
85+
requires:
86+
- backend
87+
filters:
88+
branches:
89+
ignore: /.*/
90+
tags:
91+
only: /^v.*/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ COPY . .
44
RUN yarn install
55
RUN yarn build
66

7-
FROM golang:1.14-alpine AS build_go
7+
FROM golang:1.17-alpine AS build_go
88
WORKDIR /go/src/github.com/RoboCup-SSL/ssl-vision-client
99
COPY . .
1010
COPY --from=build_node /tmp/ssl-vision-client/dist dist

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ By default, the UI is available at http://localhost:8082
2424

2525
### Requirements
2626
You need to install following dependencies first:
27-
* Go >= 1.14
27+
* Go >= 1.17
2828
* Node >= 10
2929
* Yarn
3030

cli.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.14-alpine AS build
1+
FROM golang:1.17-alpine AS build
22
WORKDIR /go/src/github.com/RoboCup-SSL/ssl-vision-client
33
COPY cmd cmd
44
COPY pkg pkg

go.mod

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
module github.com/RoboCup-SSL/ssl-vision-client
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/gobuffalo/packr v1.30.1
77
github.com/gorilla/websocket v1.4.2
88
google.golang.org/protobuf v1.27.1
99
)
10+
11+
require (
12+
github.com/gobuffalo/envy v1.7.0 // indirect
13+
github.com/gobuffalo/packd v0.3.0 // indirect
14+
github.com/joho/godotenv v1.3.0 // indirect
15+
github.com/rogpeppe/go-internal v1.3.0 // indirect
16+
)

0 commit comments

Comments
 (0)