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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.24.3
FROM alpine:3.24.4

ARG TARGETPLATFORM
COPY $TARGETPLATFORM/goss /usr/bin/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_trivy
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN --mount=target=. \
-o "/release/goss" \
./cmd/goss

FROM alpine:3.24.3
FROM alpine:3.24.4

COPY --from=base /release/* /usr/bin/

Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ require (
github.com/urfave/cli/v3 v3.14.0
go.yaml.in/yaml/v3 v3.0.6
golang.org/x/sys v0.50.0
gopkg.in/yaml.v3 v3.0.1
gotest.tools/v3 v3.5.1
)

Expand Down
4 changes: 0 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,5 @@ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxb
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc=
google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU=
gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU=
2 changes: 1 addition & 1 deletion resource/dns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/goss-org/goss/system"
"github.com/goss-org/goss/util"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

// fakeSysDNS is a minimal system.DNS implementation used to drive NewDNS
Expand Down
2 changes: 1 addition & 1 deletion resource/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/goss-org/goss/system"
"github.com/goss-org/goss/util"

"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

// Contents must stay unset and marshal away: an empty list asserts nothing, so
Expand Down
2 changes: 1 addition & 1 deletion resource/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/goss-org/goss/util"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

// fakeSysHTTP is a minimal system.HTTP implementation used to drive NewHTTP
Expand Down
2 changes: 1 addition & 1 deletion resource/interface_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/goss-org/goss/system"
"github.com/goss-org/goss/util"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

// fakeSysInterface is a minimal system.Interface implementation used to drive
Expand Down
2 changes: 1 addition & 1 deletion resource/port_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/goss-org/goss/system"
"github.com/goss-org/goss/util"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

// fakeSysPort is a minimal system.Port implementation used to drive NewPort
Expand Down
2 changes: 1 addition & 1 deletion resource/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

const defaultRetryDelay = time.Second
Expand Down
2 changes: 1 addition & 1 deletion resource/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/goss-org/goss/system"
"github.com/goss-org/goss/util"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

type fakePackage struct {
Expand Down
2 changes: 1 addition & 1 deletion resource/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/goss-org/goss/system"
"github.com/goss-org/goss/util"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)

// fakeSysUser is a minimal system.User implementation used to drive NewUser
Expand Down
2 changes: 1 addition & 1 deletion store.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"sync"

"dario.cat/mergo"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"

"github.com/goss-org/goss/resource"
"github.com/goss-org/goss/util"
Expand Down
3 changes: 1 addition & 2 deletions util/command_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package util

import (
"strings"

"os/exec"
"strings"
"syscall"
)

Expand Down
Loading