Skip to content

Commit

Permalink
Update go updates
Browse files Browse the repository at this point in the history
Signed-off-by: Platform Engineering Bot <[email protected]>
  • Loading branch information
platform-engineering-bot committed Jan 22, 2024
1 parent 0401491 commit 1cf7683
Show file tree
Hide file tree
Showing 22 changed files with 144 additions and 509 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

var cfgFile string
Expand Down
61 changes: 37 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,62 @@ go 1.18

require (
github.com/creasty/defaults v1.7.0
github.com/docker/docker v24.0.7+incompatible
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.16.0
go.arcalot.io/assert v1.6.0
go.arcalot.io/log v1.2.0
go.uber.org/mock v0.3.0
github.com/docker/docker v25.0.0+incompatible
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.2
go.arcalot.io/assert v1.6.1
go.arcalot.io/log/v2 v2.0.0
go.uber.org/mock v0.4.0
)

require (
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
)

require (
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/Microsoft/hcsshim v0.11.1 // indirect
github.com/containerd/containerd v1.7.6 // indirect
github.com/containerd/containerd v1.7.12 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/klauspost/compress v1.17.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/patternmatcher v0.6.0 // indirect
github.com/moby/sys/sequential v0.5.0 // indirect
github.com/moby/sys/user v0.1.0 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc5.0.20230922152145-93f6e65855a1 // indirect
github.com/opencontainers/runc v1.1.9 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc6 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
golang.org/x/mod v0.13.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/tools v0.13.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 // indirect
go.opentelemetry.io/otel v1.19.0 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.17.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gotest.tools/v3 v3.5.1 // indirect
Expand Down
552 changes: 87 additions & 465 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion internal/act/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"go.arcalot.io/arcaflow-container-toolkit/internal/dto"
"go.arcalot.io/arcaflow-container-toolkit/internal/images"
"go.arcalot.io/arcaflow-container-toolkit/internal/requirements"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

func ACT(build_img bool, push_img bool, cec ce_service.ContainerEngineService, conf dto.ACT, abspath string,
Expand Down
2 changes: 1 addition & 1 deletion internal/act/act_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"go.arcalot.io/arcaflow-container-toolkit/internal/dto"
mock_ces "go.arcalot.io/arcaflow-container-toolkit/mocks/ce_service"
"go.arcalot.io/assert"
arcalog "go.arcalot.io/log"
arcalog "go.arcalot.io/log/v2"
"go.uber.org/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/dto/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/creasty/defaults"
"github.com/spf13/viper"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

type ACT struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/dto/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

// LookupEnvVar returns the value of an enviornment variable.
Expand Down
2 changes: 1 addition & 1 deletion internal/dto/env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"go.arcalot.io/arcaflow-container-toolkit/internal/dto"
"go.arcalot.io/assert"
arcalog "go.arcalot.io/log"
arcalog "go.arcalot.io/log/v2"
)

func TestLookupEnvVar(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/dto/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/spf13/viper"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

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

"go.arcalot.io/arcaflow-container-toolkit/internal/dto"
"go.arcalot.io/assert"
arcalog "go.arcalot.io/log"
arcalog "go.arcalot.io/log/v2"
)

func TestFilterByIndex(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"go.arcalot.io/arcaflow-container-toolkit/internal/ce_service"
"go.arcalot.io/arcaflow-container-toolkit/internal/docker"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

func BuildImage(build_img bool, all_checks bool, cec ce_service.ContainerEngineService, abspath string, image_name string,
Expand Down
2 changes: 1 addition & 1 deletion internal/images/images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"go.arcalot.io/arcaflow-container-toolkit/internal/images"
mocks "go.arcalot.io/arcaflow-container-toolkit/mocks/ce_service"
"go.arcalot.io/assert"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
"go.uber.org/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/basic.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package requirements

import "go.arcalot.io/log"
import "go.arcalot.io/log/v2"

func BasicRequirements(filenames []string, logger log.Logger) (bool, error) {
meets_reqs := true
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"go.arcalot.io/arcaflow-container-toolkit/internal/requirements"
"go.arcalot.io/assert"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

func TestBasicRequirements(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package requirements
import (
"bytes"
"fmt"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
"path/filepath"
"regexp"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"go.arcalot.io/arcaflow-container-toolkit/internal/requirements"
"go.arcalot.io/assert"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

func TestLanguageRequirements(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/containerfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"path/filepath"
"regexp"

"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

func ContainerfileRequirements(abspath string, logger log.Logger) (bool, error) {
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/containerfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"go.arcalot.io/arcaflow-container-toolkit/internal/requirements"
"go.arcalot.io/assert"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

func TestContainerRequirements(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/golang.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package requirements

import "go.arcalot.io/log"
import "go.arcalot.io/log/v2"

func GolangRequirements(filenames []string, logger log.Logger) (bool, error) {
meets_reqs := true
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/golang_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"go.arcalot.io/arcaflow-container-toolkit/internal/requirements"
"go.arcalot.io/assert"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

func TestGolangRequirements(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/python.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"

"go.arcalot.io/arcaflow-container-toolkit/internal/util"
"go.arcalot.io/log"
"go.arcalot.io/log/v2"
)

type ExternalProgramOnFile func(executable_filepath string, stdout *bytes.Buffer, logger log.Logger) error
Expand Down
2 changes: 1 addition & 1 deletion internal/requirements/python_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"go.arcalot.io/arcaflow-container-toolkit/internal/requirements"
"go.arcalot.io/assert"
arcalog "go.arcalot.io/log"
arcalog "go.arcalot.io/log/v2"
)

func emptyPythonCodeStyle(abspath string, stdout *bytes.Buffer, logger arcalog.Logger) error {
Expand Down

0 comments on commit 1cf7683

Please sign in to comment.