From 2aea51d84eccf84f7f25dd191779c2cfebbc5d16 Mon Sep 17 00:00:00 2001 From: agentmilindu Date: Sat, 25 May 2019 12:32:14 +0530 Subject: [PATCH 1/3] Remove Dev mode and make the release stable --- snapcraft.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 2cbd30a..9ca7070 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -4,7 +4,8 @@ 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 +grade: stable +confinement: strict base: core18 parts: @@ -18,4 +19,4 @@ parts: apps: dunner: - command: Dunner + command: bin/dunner From 06a036e4f7a1382f6486441e3b38bb228e78bab7 Mon Sep 17 00:00:00 2001 From: agentmilindu Date: Sun, 26 May 2019 13:43:35 +0530 Subject: [PATCH 2/3] Update goReleser for Snapcraft --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a476d3e..896eca4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -59,5 +59,5 @@ snapcraft: 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` grade: stable - confinement: devmode - publish: false \ No newline at end of file + confinement: strict + publish: true From b1bc1a4b58da5aa20fbe4572a23bd95ad54a1857 Mon Sep 17 00:00:00 2001 From: agentmilindu Date: Sun, 26 May 2019 14:06:39 +0530 Subject: [PATCH 3/3] Added snap.login.enc for SnapCraft auto build on Travis CI --- .travis.yml | 37 ++++++++++++++++--------------------- snap.login.enc | Bin 0 -> 2384 bytes 2 files changed, 16 insertions(+), 21 deletions(-) create mode 100644 snap.login.enc diff --git a/.travis.yml b/.travis.yml index 13c7639..17b3dc8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,37 +1,32 @@ language: go - go: - - "1.11.x" - - master - +- 1.11.x +- master env: global: - - DEP_VERSION="0.5.0" - - PATH=/snap/bin:$PATH - + - DEP_VERSION="0.5.0" + - PATH=/snap/bin:$PATH services: - - docker +- docker addons: apt: packages: - rpm - snapd - before_install: - - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep - - chmod +x $GOPATH/bin/dep - +- openssl aes-256-cbc -K $encrypted_12c8071d2874_key -iv $encrypted_12c8071d2874_iv + -in snap.login.enc -out snap.login -d +- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 + -o $GOPATH/bin/dep +- chmod +x $GOPATH/bin/dep install: - - make setup - - sudo snap install snapcraft --classic - +- make setup +- sudo snap install snapcraft --classic script: - - make ci - +- make ci after_success: - - bash <(curl -s https://codecov.io/bash) - - test -n "$TRAVIS_TAG" && snapcraft login --with snap.login - +- bash <(curl -s https://codecov.io/bash) +- test -n "$TRAVIS_TAG" && snapcraft login --with snap.login deploy: - provider: script skip_cleanup: true @@ -39,5 +34,5 @@ deploy: verbose: true on: tags: true - condition: $TRAVIS_OS_NAME = linux + condition: "$TRAVIS_OS_NAME = linux" master: true diff --git a/snap.login.enc b/snap.login.enc new file mode 100644 index 0000000000000000000000000000000000000000..ec5c6b72f52199c5d9b62fa03031011f84851a3d GIT binary patch literal 2384 zcmV-W39t5+dI$0hngtj4Tc>_37{2mshKQpEoMDbE7G6hAQ%Du`kftR~o6VFb+n|*_ zi@*uPZ_`jGXpn>NEJ?$ACVB3xSeQ^JyND4Swg|ei5iC+FFON8BheQ$23e-$Y?>?!d zFMp|;L+rr@yoVz5J#;+NUXJ+P+-Y3YrqXd<`*h38zZ@d4`rs0Jo$Wq+<&7$uT2wxq z!`&crrd*+Zu*cRGDqA9fA5O53-$o;}gjenq&3S-MF{Xn^ELRzd}gT-qd|<7_f0HaES3 z7Jmo?W1dmS8>*vLu^%PkrH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