From 5ce2de8f4017e1ad58c77bd031b305c2c46964e5 Mon Sep 17 00:00:00 2001 From: Milindu Sanoj Kumarage Date: Thu, 21 Mar 2019 23:43:11 +0530 Subject: [PATCH 1/5] [#59] Build a Snap package Refer https://snapcraft.io/first-snap/golang --- snapcraft.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..f3daa74 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,21 @@ +name: dunner +version: git +summary: A Docker based tas runner tool +description: | + Dunner is a task runner tool like Grunt but used Docker images like CircleCI do. | + You can define tasks and steps of the tasks in your `.dunner.yaml` file and then run these steps with `Dunner do taskname` +confinement: devmode +base: core18 + +parts: + dunner: + plugin: go + go-importpath: github.com/leopardslab/Dunner + source: . + source-type: git + build-packages: + - gcc + +apps: + dunner: + command: Dunner From ec3deb73d8657209bda9bc9bd2471c56ce538917 Mon Sep 17 00:00:00 2001 From: Milindu Sanoj Kumarage Date: Thu, 21 Mar 2019 23:43:11 +0530 Subject: [PATCH 2/5] [#59] Build a Snap package Refer https://snapcraft.io/first-snap/golang --- snapcraft.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..6a30d31 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,21 @@ +name: dunner +version: git +summary: A Docker based task runner tool +description: | + Dunner is a task runner tool like Grunt but used Docker images like CircleCI do. | + You can define tasks and steps of the tasks in your `.dunner.yaml` file and then run these steps with `Dunner do taskname` +confinement: devmode +base: core18 + +parts: + dunner: + plugin: go + go-importpath: github.com/leopardslab/Dunner + source: . + source-type: git + build-packages: + - gcc + +apps: + dunner: + command: Dunner From 10c0fdc69b9079fc70187821772a00cba26499a3 Mon Sep 17 00:00:00 2001 From: Milindu Sanoj Kumarage Date: Fri, 22 Feb 2019 01:05:44 +0530 Subject: [PATCH 3/5] [#22] Improve Makefile, Add better versions cmd --- Makefile | 29 +++++++++++++++++++---------- cmd/version.go | 4 ++-- main.go | 4 ++++ pkg/global/global.go | 5 +++++ 4 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 pkg/global/global.go diff --git a/Makefile b/Makefile index 84223f6..041a287 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,30 @@ -#Go parameters +.PHONY: all install test build clean + +SHA=$(shell git rev-list HEAD --max-count=1 --abbrev-commit) +TAG?=$(shell git tag -l --contains HEAD) +VERSION=$(TAG) + +ifeq ($(VERSION),) +VERSION := latest +endif + +#Go parameters GOCMD=go GOINSTALL=$(GOCMD) install GOTEST=$(GOCMD) test -DEP=dep -.PHONY : all install test - -all : def +DEP=dep -def : - @$(GOINSTALL) -ldflags '-s' +all: build -install: +install: @$(DEP) ensure -test: +test: install @$(GOTEST) -v ./... +build: install + @$(GOINSTALL) -ldflags "-X main.version=$(VERSION)-$(SHA) -s" + clean: - rm -rf * \ No newline at end of file + rm -rf * diff --git a/cmd/version.go b/cmd/version.go index 0802c2e..d65c46d 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -2,8 +2,8 @@ package cmd import ( "fmt" - "github.com/spf13/cobra" + G "github.com/leopardslab/Dunner/pkg/global" ) func init() { @@ -15,6 +15,6 @@ var versionCmd = &cobra.Command{ Short: "Print the version number of Dunner", Long: `All software has versions. This is Dunners's`, Run: func(cmd *cobra.Command, args []string) { - fmt.Println("v1.0.0") + fmt.Println(G.VERSION) }, } diff --git a/main.go b/main.go index 225014b..0469e03 100644 --- a/main.go +++ b/main.go @@ -2,8 +2,12 @@ package main import ( "github.com/leopardslab/Dunner/cmd" + G "github.com/leopardslab/Dunner/pkg/global" ) +var version string = "" + func main() { + G.VERSION = version cmd.Execute() } diff --git a/pkg/global/global.go b/pkg/global/global.go new file mode 100644 index 0000000..6cfa267 --- /dev/null +++ b/pkg/global/global.go @@ -0,0 +1,5 @@ +package global + +var ( + VERSION string +) From 28dc610f48a897ef53d5d98f288ecbd80a3739dc Mon Sep 17 00:00:00 2001 From: Milindu Sanoj Kumarage Date: Fri, 22 Mar 2019 00:21:05 +0530 Subject: [PATCH 4/5] [#22] Add lint fixes --- main.go | 2 +- pkg/global/global.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 0469e03..9f59cd6 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( G "github.com/leopardslab/Dunner/pkg/global" ) -var version string = "" +var version string func main() { G.VERSION = version diff --git a/pkg/global/global.go b/pkg/global/global.go index 6cfa267..94caf27 100644 --- a/pkg/global/global.go +++ b/pkg/global/global.go @@ -1,5 +1,6 @@ package global +// VERSION is to hold the Dunner version var ( VERSION string ) From 6173cd41f8843f387ebcac814d7c21427d15adcd Mon Sep 17 00:00:00 2001 From: Ayush Jain Date: Mon, 13 May 2019 10:36:27 +0530 Subject: [PATCH 5/5] Make updates to sync with the new project name --- Gopkg.lock | 151 +++++++++++++++++++++++++------------------ README.md | 12 ++-- cmd/do.go | 2 +- cmd/root.go | 2 +- cmd/version.go | 2 +- main.go | 4 +- pkg/config/config.go | 4 +- pkg/docker/docker.go | 2 +- pkg/dunner/dunner.go | 6 +- snapcraft.yaml | 2 +- 10 files changed, 107 insertions(+), 80 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index eeddb63..bfddd17 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -17,30 +17,24 @@ name = "github.com/Microsoft/go-winio" packages = ["."] pruneopts = "UT" - revision = "97e4973ce50b2ff5f09635a57e2b88a037aae829" - version = "v0.4.11" + revision = "1a8911d1ed007260465c3bfbbc785ac6915a0bb8" + version = "v0.4.12" [[projects]] - digest = "1:33f920ba428942560c22c0e145127dc09a52c52d64eac284daea6b0926fab0d1" - name = "github.com/Nvveen/Gotty" - packages = ["."] - pruneopts = "UT" - revision = "a8b993ba6abdb0e0c12b0125c603323a71c7790c" - source = "github.com/ijc/Gotty" - -[[projects]] - digest = "1:4189ee6a3844f555124d9d2656fe7af02fca961c2a9bad9074789df13a0c62e0" + digest = "1:5d7f88f9487f370e3ae52155465156370fc5798102d811d2d4448d2385ccaf67" name = "github.com/docker/distribution" packages = [ "digestset", "reference", + "registry/api/errcode", ] pruneopts = "UT" - revision = "edc3ab29cdff8694dd6feb85cfeb4b5f1b38ed9c" + revision = "2461543d988979529609e8cb6fca9ca190dc48da" + version = "v2.7.1" [[projects]] branch = "master" - digest = "1:3c9913ecae011df5973403b3522bcc47593b312d32595a376fb361c7408d946b" + digest = "1:2239c4f8af92a5d5e65341b8537e799208cb442a67db36740ebb82996dce5e32" name = "github.com/docker/docker" packages = [ "api", @@ -67,10 +61,10 @@ "pkg/term/windows", ] pruneopts = "UT" - revision = "e3c03d172eda2a3a5dc3080825e9eeb08b42f956" + revision = "3042254a87274ff5e9561f2da1a986a703dfc60f" [[projects]] - digest = "1:b6b5c3e8da0fb8073cd2886ba249a40f4402b4391ca6eba905a142cceea97a12" + digest = "1:811c86996b1ca46729bad2724d4499014c4b9effd05ef8c71b852aad90deb0ce" name = "github.com/docker/go-connections" packages = [ "nat", @@ -78,16 +72,16 @@ "tlsconfig", ] pruneopts = "UT" - revision = "3ede32e2033de7505e6500d6c868c2b9ed9f169d" - version = "v0.3.0" + revision = "7395e3f8aa162843a74ed6d48e79627d9792ac55" + version = "v0.4.0" [[projects]] - digest = "1:6f82cacd0af5921e99bf3f46748705239b36489464f4529a1589bc895764fb18" + digest = "1:e95ef557dc3120984bb66b385ae01b4bb8ff56bcde28e7b0d1beed0cccc4d69f" name = "github.com/docker/go-units" packages = ["."] pruneopts = "UT" - revision = "47565b4f722fb6ceae66b95f853feed578a4a51c" - version = "v0.3.3" + revision = "519db1ee28dcc9fd2474ae59fca29a810482bfb1" + version = "v0.4.0" [[projects]] digest = "1:abeb38ade3f32a92943e5be54f55ed6d6e3b6602761d74b4aab4c9dd45c18abd" @@ -98,12 +92,26 @@ version = "v1.4.7" [[projects]] - digest = "1:701239373bbf22998c5a36c76d2ff4ee309b3980e39b7a66d72cabd3aab748fa" + digest = "1:48092bf6632f55839850666c33469f546f6d45fdbd59a66759ec12e84d853dc2" name = "github.com/gogo/protobuf" packages = ["proto"] pruneopts = "UT" - revision = "100ba4e885062801d56799d78530b73b178a78f3" - version = "v0.4" + revision = "ba06b47c162d49f2af050fb4c75bcbc86a159d5c" + version = "v1.2.1" + +[[projects]] + digest = "1:239c4c7fd2159585454003d9be7207167970194216193a8a210b8d29576f19c9" + name = "github.com/golang/protobuf" + packages = [ + "proto", + "ptypes", + "ptypes/any", + "ptypes/duration", + "ptypes/timestamp", + ] + pruneopts = "UT" + revision = "b5d812f8a3706043e23a9cd5babf2e5423744d30" + version = "v1.3.1" [[projects]] digest = "1:c0d19ab64b32ce9fe5cf4ddceba78d5bc9807f0016db6b1183599da3dcc24d10" @@ -141,20 +149,20 @@ version = "v1.3.0" [[projects]] - digest = "1:0a69a1c0db3591fcefb47f115b224592c8dfa4368b7ba9fae509d5e16cdc95c8" + digest = "1:31e761d97c76151dde79e9d28964a812c46efc5baee4085b86f68f0c654450de" name = "github.com/konsorten/go-windows-terminal-sequences" packages = ["."] pruneopts = "UT" - revision = "5c8c8bd35d3832f5d134ae1e1e375b69a4d25242" - version = "v1.0.1" + revision = "f55edac94c9bbba5d6182a4be46d86a2c9b5b50e" + version = "v1.0.2" [[projects]] - digest = "1:c568d7727aa262c32bdf8a3f7db83614f7af0ed661474b24588de635c20024c7" + digest = "1:5a0ef768465592efca0412f7e838cdc0826712f8447e70e6ccc52eb441e9ab13" name = "github.com/magiconair/properties" packages = ["."] pruneopts = "UT" - revision = "c2353362d570a7bfa228149c62842019201cfb71" - version = "v1.8.0" + revision = "de8848e004dd33dc07a2947b3d76f618a7fc7ef1" + version = "v1.8.1" [[projects]] digest = "1:53bc4cd4914cd7cd52139990d5170d6dc99067ae31c56530621b18b35fc30318" @@ -164,6 +172,14 @@ revision = "3536a929edddb9a5b34bd6861dc4a9647cb459fe" version = "v1.1.2" +[[projects]] + branch = "master" + digest = "1:906eb1ca3c8455e447b99a45237b2b9615b665608fd07ad12cce847dd9a1ec43" + name = "github.com/morikuni/aec" + packages = ["."] + pruneopts = "UT" + revision = "39771216ff4c63d11f5e604076f9c45e8be1067b" + [[projects]] digest = "1:ee4d4af67d93cc7644157882329023ce9a7bcfce956a079069a9405521c7cc8d" name = "github.com/opencontainers/go-digest" @@ -184,39 +200,39 @@ version = "v1.0.1" [[projects]] - digest = "1:95741de3af260a92cc5c7f3f3061e85273f5a81b5db20d4bd68da74bd521675e" + digest = "1:93131d8002d7025da13582877c32d1fc302486775a1b06f62241741006428c5e" name = "github.com/pelletier/go-toml" packages = ["."] pruneopts = "UT" - revision = "c01d1270ff3e442a8a57cddc1c92dc1138598194" - version = "v1.2.0" + revision = "728039f679cbcd4f6a54e080d2219a4c4928c546" + version = "v1.4.0" [[projects]] - digest = "1:40e195917a951a8bf867cd05de2a46aaf1806c50cf92eebf4c16f78cd196f747" + digest = "1:cf31692c14422fa27c83a05292eb5cbe0fb2775972e8f1f8446a71549bd8980b" name = "github.com/pkg/errors" packages = ["."] pruneopts = "UT" - revision = "645ef00459ed84a119197bfb8d8205042c6df63d" - version = "v0.8.0" + revision = "ba968bfe8b2f7e042a574c888954fccecfa385b4" + version = "v0.8.1" [[projects]] - digest = "1:69b1cc331fca23d702bd72f860c6a647afd0aa9fcbc1d0659b1365e26546dd70" + digest = "1:fd61cf4ae1953d55df708acb6b91492d538f49c305b364a014049914495db426" name = "github.com/sirupsen/logrus" packages = ["."] pruneopts = "UT" - revision = "bcd833dfe83d3cebad139e4a29ed79cb2318bf95" - version = "v1.2.0" + revision = "8bdbc7bcc01dcbb8ec23dc8a28e332258d25251f" + version = "v1.4.1" [[projects]] - digest = "1:3e39bafd6c2f4bf3c76c3bfd16a2e09e016510ad5db90dc02b88e2f565d6d595" + digest = "1:bb495ec276ab82d3dd08504bbc0594a65de8c3b22c6f2aaa92d05b73fbf3a82e" name = "github.com/spf13/afero" packages = [ ".", "mem", ] pruneopts = "UT" - revision = "f4711e4db9e9a1d3887343acb72b2bbfc2f686f5" - version = "v1.2.1" + revision = "588a75ec4f32903aa5e39a2619ba6a4631e28424" + version = "v1.2.2" [[projects]] digest = "1:08d65904057412fc0270fc4812a1c90c594186819243160dc779a402d4b6d0bc" @@ -235,12 +251,12 @@ version = "v0.0.3" [[projects]] - digest = "1:68ea4e23713989dc20b1bded5d9da2c5f9be14ff9885beef481848edd18c26cb" + digest = "1:1b753ec16506f5864d26a28b43703c58831255059644351bbcb019b843950900" name = "github.com/spf13/jwalterweatherman" packages = ["."] pruneopts = "UT" - revision = "4a4406e478ca629068e7768fc33f3f044173c0a6" - version = "v1.0.0" + revision = "94f6ae3ed3bceceafa716478c5fbf8d29ca601a1" + version = "v1.1.0" [[projects]] digest = "1:c1b1102241e7f645bc8e0c22ae352e8f0dc6484b6cb4d132fa9f24174e0119e2" @@ -251,45 +267,37 @@ version = "v1.0.3" [[projects]] - digest = "1:de37e343c64582d7026bf8ab6ac5b22a72eac54f3a57020db31524affed9f423" + digest = "1:1b773526998f3dbde3a51a4a5881680c4d237d3600f570d900f97ac93c7ba0a8" name = "github.com/spf13/viper" packages = ["."] pruneopts = "UT" - revision = "6d33b5a963d922d182c91e8a1c88d81fd150cfd4" - version = "v1.3.1" - -[[projects]] - branch = "master" - digest = "1:38f553aff0273ad6f367cb0a0f8b6eecbaef8dc6cb8b50e57b6a81c1d5b1e332" - name = "golang.org/x/crypto" - packages = ["ssh/terminal"] - pruneopts = "UT" - revision = "505ab145d0a99da450461ae2c1a9f6cd10d1f447" + revision = "9e56dacc08fbbf8c9ee2dbc717553c758ce42bc9" + version = "v1.3.2" [[projects]] branch = "master" - digest = "1:3fa70ba3ba75f47646d2a6ff518f46f3c4a215912eb6f9c26b6e956918038f01" + digest = "1:3e0062766e6b0bcfe1ba1ed1d3f08a8e1e99cd5831426e2596dc9537d28f2adb" name = "golang.org/x/net" packages = [ "internal/socks", "proxy", ] pruneopts = "UT" - revision = "610586996380ceef02dd726cc09df7e00a3f8e56" + revision = "a4d6f7feada510cc50e69a37b484cb0fdc6b7876" [[projects]] branch = "master" - digest = "1:206c5fc6c77857fea5eebcf4ceb2db7272f269428456160589910e50d14244db" + digest = "1:646036a04e163f383d101f40e36fd3354676c7dcccc226d825200a6b9509727a" name = "golang.org/x/sys" packages = [ "unix", "windows", ] pruneopts = "UT" - revision = "b05ddf57801d2239d6ab0ee35f9d981e0420f4ac" + revision = "a5b02f93d862f065920dd6a40dddc66b60d0dec4" [[projects]] - digest = "1:8029e9743749d4be5bc9f7d42ea1659471767860f0cdc34d37c3111bd308a295" + digest = "1:1093f2eb4b344996604f7d8b29a16c5b22ab9e1b25652140d3fede39f640d5cd" name = "golang.org/x/text" packages = [ "internal/gen", @@ -300,8 +308,27 @@ "unicode/norm", ] pruneopts = "UT" - revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" - version = "v0.3.0" + revision = "342b2e1fbaa52c93f31447ad2c6abc048c63e475" + version = "v0.3.2" + +[[projects]] + branch = "master" + digest = "1:fc5df4cb84cdf639ef702c176a50a9ee08ea3e68ebd67519c0f4f963c7d82978" + name = "google.golang.org/genproto" + packages = ["googleapis/rpc/status"] + pruneopts = "UT" + revision = "b515fa19cec88c32f305a962f34ae60068947aea" + +[[projects]] + digest = "1:4a251721b698c0e6285aec21d4ba3f79ddeccd903690144461b360ea7f948106" + name = "google.golang.org/grpc" + packages = [ + "codes", + "status", + ] + pruneopts = "UT" + revision = "25c4f928eaa6d96443009bd842389fb4fa48664e" + version = "v1.20.1" [[projects]] digest = "1:4d2e5a73dc1500038e504a8d78b986630e3626dc027bc030ba5c75da257cdb96" diff --git a/README.md b/README.md index bb6b965..25636ee 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Dunner -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b2275e331d2745dc9527d45efbbf2da2)](https://app.codacy.com/app/LeopardsLab/Dunner?utm_source=github.com&utm_medium=referral&utm_content=leopardslab/Dunner&utm_campaign=Badge_Grade_Dashboard) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b2275e331d2745dc9527d45efbbf2da2)](https://app.codacy.com/app/Leopardslab/dunner?utm_source=github.com&utm_medium=referral&utm_content=leopardslab/dunner&utm_campaign=Badge_Grade_Dashboard) Dunner is a task runner tool like Grunt but uses Docker images like CircleCI do. You can define tasks and steps of the tasks in your `.dunner.yaml` file and then run these steps with `Dunner do taskname` @@ -41,11 +41,11 @@ This work is still in progress. See the development plan. ## Development Plan -### [`v0.1`](https://github.com/leopardslab/Dunner/milestone/2) +### [`v0.1`](https://github.com/leopardslab/dunner/milestone/2) - [x] Ability to define set of tasks and steps and run the task - [x] Mount current dir as a volume - [x] Ability to pass arguments to tasks -### [`v1.0`](https://github.com/leopardslab/Dunner/milestone/1) +### [`v1.0`](https://github.com/leopardslab/dunner/milestone/1) - [x] Ability to add ENV variables - [x] Ability to define the sub-dir that should be mounted to the task containers - [x] Ability to mount other dirs to the task containers @@ -54,6 +54,6 @@ This work is still in progress. See the development plan. # Guides -* [User Guide](https://github.com/leopardslab/Dunner/wiki/User-Guide) -* [Installation Guide](https://github.com/leopardslab/Dunner/wiki/Installation-Guide) -* [Developer Guide](https://github.com/leopardslab/Dunner/wiki/Developer-Guide) +* [User Guide](https://github.com/leopardslab/dunner/wiki/User-Guide) +* [Installation Guide](https://github.com/leopardslab/dunner/wiki/Installation-Guide) +* [Developer Guide](https://github.com/leopardslab/dunner/wiki/Developer-Guide) diff --git a/cmd/do.go b/cmd/do.go index 94c0017..ed414b3 100644 --- a/cmd/do.go +++ b/cmd/do.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/leopardslab/Dunner/pkg/dunner" + "github.com/leopardslab/dunner/pkg/dunner" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/root.go b/cmd/root.go index a029d6c..261c853 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -5,7 +5,7 @@ import ( "os" "github.com/docker/docker/client" - "github.com/leopardslab/Dunner/internal/logger" + "github.com/leopardslab/dunner/internal/logger" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/version.go b/cmd/version.go index d65c46d..07017ec 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -3,7 +3,7 @@ package cmd import ( "fmt" "github.com/spf13/cobra" - G "github.com/leopardslab/Dunner/pkg/global" + G "github.com/leopardslab/dunner/pkg/global" ) func init() { diff --git a/main.go b/main.go index 9f59cd6..bc95223 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/leopardslab/Dunner/cmd" - G "github.com/leopardslab/Dunner/pkg/global" + "github.com/leopardslab/dunner/cmd" + G "github.com/leopardslab/dunner/pkg/global" ) var version string diff --git a/pkg/config/config.go b/pkg/config/config.go index 46d3b48..aeaa83f 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -11,8 +11,8 @@ import ( "github.com/docker/docker/api/types/mount" "github.com/joho/godotenv" - "github.com/leopardslab/Dunner/internal/logger" - "github.com/leopardslab/Dunner/pkg/docker" + "github.com/leopardslab/dunner/internal/logger" + "github.com/leopardslab/dunner/pkg/docker" "github.com/spf13/viper" yaml "gopkg.in/yaml.v2" ) diff --git a/pkg/docker/docker.go b/pkg/docker/docker.go index 9f62112..a7dae36 100644 --- a/pkg/docker/docker.go +++ b/pkg/docker/docker.go @@ -13,7 +13,7 @@ import ( "github.com/docker/docker/client" "github.com/docker/docker/pkg/jsonmessage" "github.com/docker/docker/pkg/term" - "github.com/leopardslab/Dunner/internal/logger" + "github.com/leopardslab/dunner/internal/logger" "github.com/spf13/viper" ) diff --git a/pkg/dunner/dunner.go b/pkg/dunner/dunner.go index 5e3152c..c30e2ce 100644 --- a/pkg/dunner/dunner.go +++ b/pkg/dunner/dunner.go @@ -8,9 +8,9 @@ import ( "sync" "github.com/docker/docker/pkg/stdcopy" - "github.com/leopardslab/Dunner/internal/logger" - "github.com/leopardslab/Dunner/pkg/config" - "github.com/leopardslab/Dunner/pkg/docker" + "github.com/leopardslab/dunner/internal/logger" + "github.com/leopardslab/dunner/pkg/config" + "github.com/leopardslab/dunner/pkg/docker" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/snapcraft.yaml b/snapcraft.yaml index 6a30d31..2cbd30a 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -10,7 +10,7 @@ base: core18 parts: dunner: plugin: go - go-importpath: github.com/leopardslab/Dunner + go-importpath: github.com/leopardslab/dunner source: . source-type: git build-packages: