Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v1] travis-ci: update distros and repos
@ 2019-08-20 13:32 Alexander V. Tikhonov
  2019-08-20 23:43 ` [tarantool-patches] " Alexander Turenko
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander V. Tikhonov @ 2019-08-20 13:32 UTC (permalink / raw)
  To: Alexander Turenko; +Cc: Alexander V. Tikhonov, tarantool-patches

Removed release repos:
    1_6, 1_7.
Added release repos:
    1_10, 2x, 2_2, 2_3.
Added the build distros:
    Fedora 30, Ubuntu 19.04, Debian 10.
Deploy packages from tagged revisions, see:
    https://github.com/tarantool/tarantool/issues/3745

Closes #26
---

Github: https://github.com/tarantool/mysql/tree/avtikhon/gh-26-update-distros-repos
Issue: https://github.com/tarantool/mysql/issues/26

 .travis.yml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 52 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fb9a77d..4f9e4fd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,12 +15,15 @@ env:
       - OS=el DIST=7
       - OS=fedora DIST=28
       - OS=fedora DIST=29
+      - OS=fedora DIST=30
       - OS=ubuntu DIST=trusty
       - OS=ubuntu DIST=xenial
       - OS=ubuntu DIST=bionic
       - OS=ubuntu DIST=cosmic
+      - OS=ubuntu DIST=disco
       - OS=debian DIST=jessie
       - OS=debian DIST=stretch
+      - OS=debian DIST=buster
 
 script:
   - git describe --long
@@ -34,7 +37,7 @@ deploy:
   # Deploy packages to PackageCloud
   - provider: packagecloud
     username: tarantool
-    repository: "1_6"
+    repository: "1_10"
     token: ${PACKAGECLOUD_TOKEN}
     dist: ${OS}/${DIST}
     package_glob: build/*.{rpm,deb,dsc}
@@ -44,7 +47,7 @@ deploy:
       condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
   - provider: packagecloud
     username: tarantool
-    repository: "1_7"
+    repository: "2x"
     token: ${PACKAGECLOUD_TOKEN}
     dist: ${OS}/${DIST}
     package_glob: build/*.{rpm,deb,dsc}
@@ -54,7 +57,7 @@ deploy:
       condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
   - provider: packagecloud
     username: tarantool
-    repository: "2x"
+    repository: "2_2"
     token: ${PACKAGECLOUD_TOKEN}
     dist: ${OS}/${DIST}
     package_glob: build/*.{rpm,deb,dsc}
@@ -64,7 +67,7 @@ deploy:
       condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
   - provider: packagecloud
     username: tarantool
-    repository: "2_2"
+    repository: "2_3"
     token: ${PACKAGECLOUD_TOKEN}
     dist: ${OS}/${DIST}
     package_glob: build/*.{rpm,deb,dsc}
@@ -73,6 +76,51 @@ deploy:
       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_10"
+    token: ${PACKAGECLOUD_TOKEN}
+    dist: ${OS}/${DIST}
+    package_glob: build/*.{rpm,deb,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/*.{rpm,deb,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/*.{rpm,deb,dsc}
+    skip_cleanup: true
+    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/*.{rpm,deb,dsc}
+    skip_cleanup: true
+    on:
+      tags: true
+      condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
+
 notifications:
   email:
     recipients:
-- 
2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tarantool-patches] Re: [PATCH v1] travis-ci: update distros and repos
  2019-08-20 13:32 [tarantool-patches] [PATCH v1] travis-ci: update distros and repos Alexander V. Tikhonov
@ 2019-08-20 23:43 ` Alexander Turenko
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Turenko @ 2019-08-20 23:43 UTC (permalink / raw)
  To: Alexander V. Tikhonov; +Cc: tarantool-patches

Thanks, pushed to master.

I suggest to add a prefix with a module/connector name to a email (not a
commit) when a patch is not about tarantool itself (see as Vlad does it
for vshard).

WBR, Alexander Turenko.

On Tue, Aug 20, 2019 at 04:32:13PM +0300, Alexander V. Tikhonov wrote:
> Removed release repos:
>     1_6, 1_7.
> Added release repos:
>     1_10, 2x, 2_2, 2_3.
> Added the build distros:
>     Fedora 30, Ubuntu 19.04, Debian 10.
> Deploy packages from tagged revisions, see:
>     https://github.com/tarantool/tarantool/issues/3745
> 
> Closes #26
> ---
> 
> Github: https://github.com/tarantool/mysql/tree/avtikhon/gh-26-update-distros-repos
> Issue: https://github.com/tarantool/mysql/issues/26
> 
>  .travis.yml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++----
>  1 file changed, 52 insertions(+), 4 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index fb9a77d..4f9e4fd 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -15,12 +15,15 @@ env:
>        - OS=el DIST=7
>        - OS=fedora DIST=28
>        - OS=fedora DIST=29
> +      - OS=fedora DIST=30
>        - OS=ubuntu DIST=trusty
>        - OS=ubuntu DIST=xenial
>        - OS=ubuntu DIST=bionic
>        - OS=ubuntu DIST=cosmic
> +      - OS=ubuntu DIST=disco
>        - OS=debian DIST=jessie
>        - OS=debian DIST=stretch
> +      - OS=debian DIST=buster
>  
>  script:
>    - git describe --long
> @@ -34,7 +37,7 @@ deploy:
>    # Deploy packages to PackageCloud
>    - provider: packagecloud
>      username: tarantool
> -    repository: "1_6"
> +    repository: "1_10"
>      token: ${PACKAGECLOUD_TOKEN}
>      dist: ${OS}/${DIST}
>      package_glob: build/*.{rpm,deb,dsc}
> @@ -44,7 +47,7 @@ deploy:
>        condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
>    - provider: packagecloud
>      username: tarantool
> -    repository: "1_7"
> +    repository: "2x"
>      token: ${PACKAGECLOUD_TOKEN}
>      dist: ${OS}/${DIST}
>      package_glob: build/*.{rpm,deb,dsc}
> @@ -54,7 +57,7 @@ deploy:
>        condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
>    - provider: packagecloud
>      username: tarantool
> -    repository: "2x"
> +    repository: "2_2"
>      token: ${PACKAGECLOUD_TOKEN}
>      dist: ${OS}/${DIST}
>      package_glob: build/*.{rpm,deb,dsc}
> @@ -64,7 +67,7 @@ deploy:
>        condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
>    - provider: packagecloud
>      username: tarantool
> -    repository: "2_2"
> +    repository: "2_3"
>      token: ${PACKAGECLOUD_TOKEN}
>      dist: ${OS}/${DIST}
>      package_glob: build/*.{rpm,deb,dsc}
> @@ -73,6 +76,51 @@ deploy:
>        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_10"
> +    token: ${PACKAGECLOUD_TOKEN}
> +    dist: ${OS}/${DIST}
> +    package_glob: build/*.{rpm,deb,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/*.{rpm,deb,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/*.{rpm,deb,dsc}
> +    skip_cleanup: true
> +    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/*.{rpm,deb,dsc}
> +    skip_cleanup: true
> +    on:
> +      tags: true
> +      condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
> +
>  notifications:
>    email:
>      recipients:
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-20 23:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 13:32 [tarantool-patches] [PATCH v1] travis-ci: update distros and repos Alexander V. Tikhonov
2019-08-20 23:43 ` [tarantool-patches] " Alexander Turenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox