From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: tarantool-patches@freelists.org Cc: alexander.turenko@tarantool.org Subject: [tarantool-patches] [PATCH vshard 1/1] travis-ci: deploy packages from tagged revisions Date: Tue, 20 Aug 2019 22:36:18 +0200 [thread overview] Message-ID: <02992a76f8e5b7b1e4a53580cec33d050dc20b0b.1566333316.git.v.shpilevoy@tarantool.org> (raw) Travis considers push of a commit and of a tag as different events. If tags are not described explicitly, it does not trigger publication when only a tag is pushed. --- Branch: https://github.com/tarantool/vshard/tree/gerold103/deploy-from-tags .travis.yml | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1294191..f13a481 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ before_deploy: - ls -l build/ deploy: - # Deploy packages to PackageCloud + # Deploy packages to PackageCloud from master branch - provider: packagecloud username: tarantool repository: "1_9" @@ -80,6 +80,50 @@ deploy: on: branch: "master" condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" + # Deploy packages to PackageCloud from tags + # see: + # * https://github.com/tarantool/tarantool/issues/3745 + # * https://github.com/travis-ci/travis-ci/issues/7780#issuecomment-302389370 + - provider: packagecloud + username: tarantool + repository: "1_9" + token: ${PACKAGECLOUD_TOKEN} + dist: ${OS}/${DIST} + package_glob: build/*.{deb,rpm,dsc} + skip_cleanup: true + on: + tags: true + condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" + - provider: packagecloud + username: tarantool + repository: "1_10" + token: ${PACKAGECLOUD_TOKEN} + dist: ${OS}/${DIST} + package_glob: build/*.{deb,rpm,dsc} + skip_cleanup: true + on: + tags: true + condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" + - provider: packagecloud + username: tarantool + repository: "2x" + token: ${PACKAGECLOUD_TOKEN} + dist: ${OS}/${DIST} + package_glob: build/*.{deb,rpm,dsc} + skip_cleanup: true + on: + tags: true + condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" + - provider: packagecloud + username: tarantool + repository: "2_2" + token: ${PACKAGECLOUD_TOKEN} + dist: ${OS}/${DIST} + package_glob: build/*.{deb,rpm,dsc} + skip_cleanup: true + on: + tags: true + condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" notifications: email: -- 2.20.1 (Apple Git-117)
next reply other threads:[~2019-08-20 20:33 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-20 20:36 Vladislav Shpilevoy [this message] 2019-08-20 22:59 ` [tarantool-patches] " Alexander Turenko 2019-08-21 20:40 ` Vladislav Shpilevoy 2019-08-21 21:25 ` Alexander Turenko 2019-08-21 22:13 ` Vladislav Shpilevoy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=02992a76f8e5b7b1e4a53580cec33d050dc20b0b.1566333316.git.v.shpilevoy@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=alexander.turenko@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH vshard 1/1] travis-ci: deploy packages from tagged revisions' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox