Skip to content

Commit 3209d1a

Browse files
authored
Return disk space of all disks (#72)
* Return disk space of all disks * Use a custom format for this * Correctly match tag to the right disk * Update packages + update go version * Fix tests on 1.24.0 and bump go 1.23 to version 7
1 parent a1354b3 commit 3209d1a

8 files changed

Lines changed: 172 additions & 90 deletions

File tree

.github/workflows/push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-22.04]
19-
go: ["1.22.7", "1.23.3"]
19+
go: ["1.23.7", "1.24.1"]
2020
goos: [linux]
2121
goarch: [amd64, arm64]
2222

@@ -62,14 +62,14 @@ jobs:
6262
6363
- name: Upload Release Artifact
6464
uses: actions/upload-artifact@v4
65-
if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.22.7' }}
65+
if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.23.7' }}
6666
with:
6767
name: wings_linux_${{ matrix.goarch }}
6868
path: dist/wings
6969

7070
- name: Upload Debug Artifact
7171
uses: actions/upload-artifact@v4
72-
if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.22.7' }}
72+
if: ${{ (github.ref == 'refs/heads/main' || github.event_name == 'pull_request') && matrix.go == '1.23.7' }}
7373
with:
7474
name: wings_linux_${{ matrix.goarch }}_debug
7575
path: dist/wings_debug

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: "1.22.7"
23+
go-version: "1.23.7"
2424

2525
- name: Build release binaries
2626
env:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1 (Build)
2-
FROM golang:1.22.7-alpine AS builder
2+
FROM golang:1.23.7-alpine AS builder
33

44
ARG VERSION
55
RUN apk add --update --no-cache git make

go.mod

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/pelican-dev/wings
22

3-
go 1.22.7
3+
go 1.23.0
44

55
require (
66
emperror.dev/errors v0.8.1
@@ -10,11 +10,11 @@ require (
1010
github.com/acobaugh/osrelease v0.1.0
1111
github.com/apex/log v1.9.0
1212
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
13-
github.com/beevik/etree v1.4.1
13+
github.com/beevik/etree v1.5.0
1414
github.com/buger/jsonparser v1.1.1
1515
github.com/cenkalti/backoff/v4 v4.3.0
1616
github.com/creasty/defaults v1.8.0
17-
github.com/docker/docker v27.5.1+incompatible
17+
github.com/docker/docker v28.0.0+incompatible
1818
github.com/docker/go-connections v0.5.0
1919
github.com/fatih/color v1.18.0
2020
github.com/franela/goblin v0.0.0-20211003143422-0a4f594942bf
@@ -24,13 +24,13 @@ require (
2424
github.com/gin-gonic/gin v1.10.0
2525
github.com/glebarez/sqlite v1.11.0
2626
github.com/go-co-op/gocron/v2 v2.15.0
27-
github.com/goccy/go-json v0.10.4
27+
github.com/goccy/go-json v0.10.5
2828
github.com/google/uuid v1.6.0
2929
github.com/gorilla/websocket v1.5.3
3030
github.com/iancoleman/strcase v0.3.0
3131
github.com/icza/dyno v0.0.0-20230330125955-09f820a8d9c0
3232
github.com/juju/ratelimit v1.0.2
33-
github.com/klauspost/compress v1.17.11
33+
github.com/klauspost/compress v1.18.0
3434
github.com/klauspost/pgzip v1.2.6
3535
github.com/magiconair/properties v1.8.9
3636
github.com/mattn/go-colorable v0.1.14
@@ -40,11 +40,11 @@ require (
4040
github.com/pkg/sftp v1.13.7
4141
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
4242
github.com/shirou/gopsutil/v3 v3.24.5
43-
github.com/spf13/cobra v1.8.1
43+
github.com/spf13/cobra v1.9.1
4444
github.com/stretchr/testify v1.10.0
45-
golang.org/x/crypto v0.32.0
46-
golang.org/x/sync v0.10.0
47-
golang.org/x/sys v0.29.0
45+
golang.org/x/crypto v0.34.0
46+
golang.org/x/sync v0.11.0
47+
golang.org/x/sys v0.30.0
4848
gopkg.in/ini.v1 v1.67.0
4949
gopkg.in/yaml.v2 v2.4.0
5050
gopkg.in/yaml.v3 v3.0.1
@@ -73,7 +73,7 @@ require (
7373
github.com/gammazero/deque v0.2.1 // indirect
7474
github.com/gin-contrib/sse v0.1.0 // indirect
7575
github.com/glebarez/go-sqlite v1.22.0 // indirect
76-
github.com/go-logr/logr v1.4.1 // indirect
76+
github.com/go-logr/logr v1.4.2 // indirect
7777
github.com/go-logr/stdr v1.2.2 // indirect
7878
github.com/go-ole/go-ole v1.2.6 // indirect
7979
github.com/go-playground/locales v0.14.1 // indirect
@@ -91,7 +91,6 @@ require (
9191
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
9292
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
9393
github.com/kr/fs v0.1.0 // indirect
94-
github.com/kr/pretty v0.3.1 // indirect
9594
github.com/leodido/go-urn v1.4.0 // indirect
9695
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
9796
github.com/magefile/mage v1.15.0 // indirect
@@ -116,28 +115,29 @@ require (
116115
github.com/shoenig/go-m1cpu v0.1.6 // indirect
117116
github.com/sirupsen/logrus v1.9.3 // indirect
118117
github.com/sorairolake/lzip-go v0.3.5 // indirect
119-
github.com/spf13/pflag v1.0.5 // indirect
118+
github.com/spf13/pflag v1.0.6 // indirect
120119
github.com/therootcompany/xz v1.0.1 // indirect
121120
github.com/tklauser/go-sysconf v0.3.12 // indirect
122121
github.com/tklauser/numcpus v0.6.1 // indirect
123122
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
124123
github.com/ugorji/go/codec v1.2.12 // indirect
125124
github.com/ulikunitz/xz v0.5.12 // indirect
126125
github.com/yusufpapurcu/wmi v1.2.4 // indirect
126+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
127127
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.50.0 // indirect
128-
go.opentelemetry.io/otel v1.25.0 // indirect
128+
go.opentelemetry.io/otel v1.34.0 // indirect
129129
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0 // indirect
130-
go.opentelemetry.io/otel/metric v1.25.0 // indirect
130+
go.opentelemetry.io/otel/metric v1.34.0 // indirect
131131
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
132-
go.opentelemetry.io/otel/trace v1.25.0 // indirect
132+
go.opentelemetry.io/otel/trace v1.34.0 // indirect
133133
go.uber.org/multierr v1.11.0 // indirect
134134
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
135135
golang.org/x/arch v0.8.0 // indirect
136136
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
137137
golang.org/x/mod v0.18.0 // indirect
138138
golang.org/x/net v0.33.0 // indirect
139-
golang.org/x/term v0.28.0 // indirect
140-
golang.org/x/text v0.21.0 // indirect
139+
golang.org/x/term v0.29.0 // indirect
140+
golang.org/x/text v0.22.0 // indirect
141141
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af // indirect
142142
golang.org/x/tools v0.22.0 // indirect
143143
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect

0 commit comments

Comments
 (0)