[tarantool-patches] [PATCH v1] travis-ci: update distros and repos
Alexander V. Tikhonov
avtikhon at tarantool.org
Tue Aug 20 16:32:13 MSK 2019
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
More information about the Tarantool-patches
mailing list