[tarantool-patches] Re: [PATCH vshard 1/1] travis-ci: deploy packages from tagged revisions

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Aug 21 23:40:25 MSK 2019


Hi! Thanks for the review!

On 21/08/2019 00:59, Alexander Turenko wrote:
> LGTM.
> 
> BTW, while you are here it worth to add uploading of packages into
> tarantool/2_3 packagecloud bucket.

I added a separate commit, see below and on the branch. Is it ok?

========================================================================

    travis-ci: deploy to 2_3 repo

diff --git a/.travis.yml b/.travis.yml
index f13a481..024ab27 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,6 +80,16 @@ deploy:
     on:
       branch: "master"
       condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
+  - provider: packagecloud
+    username: tarantool
+    repository: "2_3"
+    token: ${PACKAGECLOUD_TOKEN}
+    dist: ${OS}/${DIST}
+    package_glob: build/*.{deb,rpm,dsc}
+    skip_cleanup: true
+    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
@@ -124,6 +134,16 @@ deploy:
     on:
       tags: true
       condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
+  - provider: packagecloud
+    username: tarantool
+    repository: "2_3"
+    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:




More information about the Tarantool-patches mailing list