From 9613ec57a4f99b442567281b18013a775ce17336 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 5 May 2023 23:09:58 +0200 Subject: [PATCH] feat: update to shuttle 0.17.2 --- {shuttletask => actions}/build.go | 2 +- {shuttletask => actions}/build_test.go | 0 {shuttletask => actions}/ci.go | 0 {shuttletask => actions}/go.mod | 4 ++-- {shuttletask => actions}/go.sum | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename {shuttletask => actions}/build.go (99%) rename {shuttletask => actions}/build_test.go (100%) rename {shuttletask => actions}/ci.go (100%) rename {shuttletask => actions}/go.mod (94%) rename {shuttletask => actions}/go.sum (100%) diff --git a/shuttletask/build.go b/actions/build.go similarity index 99% rename from shuttletask/build.go rename to actions/build.go index c6aacf0..6764b2c 100644 --- a/shuttletask/build.go +++ b/actions/build.go @@ -38,7 +38,7 @@ func Build(ctx context.Context) error { Git("git@github.com:kjuulh/shuttle.git", dagger.GitOpts{ KeepGitDir: true, }). - Branch("shuttletask"). + Branch("master"). Tree(dagger.GitRefTreeOpts{ SSHAuthSocket: client.Host().UnixSocket(os.Getenv("SSH_AUTH_SOCK")), }) diff --git a/shuttletask/build_test.go b/actions/build_test.go similarity index 100% rename from shuttletask/build_test.go rename to actions/build_test.go diff --git a/shuttletask/ci.go b/actions/ci.go similarity index 100% rename from shuttletask/ci.go rename to actions/ci.go diff --git a/shuttletask/go.mod b/actions/go.mod similarity index 94% rename from shuttletask/go.mod rename to actions/go.mod index 01c4b98..11c47ae 100644 --- a/shuttletask/go.mod +++ b/actions/go.mod @@ -1,4 +1,4 @@ -module shuttletask +module actions go 1.20 @@ -7,6 +7,7 @@ replace github.com/lunarway/shuttle => github.com/kjuulh/shuttle v0.0.0-20230407 require ( dagger.io/dagger v0.6.0 github.com/containerd/containerd v1.7.0 + github.com/joho/godotenv v1.5.1 github.com/stretchr/testify v1.8.2 golang.org/x/sync v0.1.0 ) @@ -17,7 +18,6 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect - github.com/joho/godotenv v1.5.1 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect github.com/pmezard/go-difflib v1.0.0 // indirect diff --git a/shuttletask/go.sum b/actions/go.sum similarity index 100% rename from shuttletask/go.sum rename to actions/go.sum