From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 00000277E9 for ; Tue, 20 Aug 2019 18:59:50 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L1kto6rqfDkV for ; Tue, 20 Aug 2019 18:59:50 -0400 (EDT) Received: from smtp3.mail.ru (smtp3.mail.ru [94.100.179.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id AB9F92637F for ; Tue, 20 Aug 2019 18:59:50 -0400 (EDT) Date: Wed, 21 Aug 2019 01:59:32 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH vshard 1/1] travis-ci: deploy packages from tagged revisions Message-ID: <20190820225932.gof43wv3b3ke5w6g@tkn_work_nb> References: <02992a76f8e5b7b1e4a53580cec33d050dc20b0b.1566333316.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <02992a76f8e5b7b1e4a53580cec33d050dc20b0b.1566333316.git.v.shpilevoy@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: Vladislav Shpilevoy Cc: tarantool-patches@freelists.org LGTM. BTW, while you are here it worth to add uploading of packages into tarantool/2_3 packagecloud bucket. WBR, Alexander Turenko. On Tue, Aug 20, 2019 at 10:36:18PM +0200, Vladislav Shpilevoy wrote: > 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) >