Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH] travis-ci: don't deploy 2.5+ pkgs to packagecloud
@ 2020-04-28 12:36 Alexander Turenko
  2020-04-29 13:05 ` Alexander Turenko
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Turenko @ 2020-04-28 12:36 UTC (permalink / raw)
  To: Alexander V . Tikhonov, Oleg Piskunov, Sergey Bronnikov; +Cc: tarantool-patches

Now we have S3 based infrastructure for RPM / Deb packages and GitLab CI
pipelines, which deploys packages to it.

We don't plan to add 2.5+ repositories on packagecloud.io, so instead of
usual change of target bucket from 2_N to 2_(N+1), the deploy stage is
removed.

Since all distro specific jobs are duplicated in GitLab CI pipelines and
those Travis-CI jobs are needed just for deployment, it worth to remove
them too.

Follows up #3380.
Part of #4947.
---

Kirill, please, review the deprecation plan in the issue. This patch is
the first one that follows on this plan.

Alexander, Oleg, Sergey I hope you're okay with the plan (we discussed
something like this), but please let me know if something doubt you.

https://github.com/tarantool/tarantool/issues/4947
https://github.com/tarantool/tarantool/tree/Totktonada/gh-4947-stop-deploy-to-packagecloud

 .travis.yml | 73 -----------------------------------------------------
 1 file changed, 73 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3b9415def..a0316b0c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,83 +33,10 @@ jobs:
         os: osx
       - name: "Debug build + test + coverage (Linux, gcc)"
         env: TARGET=coverage
-      # Deploy targets (they also catch distro-specific problems).
-      - name: "CentOS 6 build + deploy RPM"
-        env: OS=el DIST=6
-        if: branch = "master"
-      - name: "CentOS 7 build + test + deploy RPM"
-        env: OS=el DIST=7
-        if: branch = "master"
-      - name: "CentOS 8 build + test + deploy RPM"
-        env: OS=el DIST=8
-        if: branch = "master"
-      - name: "Fedora 28 build + test + deploy RPM"
-        env: OS=fedora DIST=28
-        if: branch = "master"
-      - name: "Fedora 29 build + test + deploy RPM"
-        env: OS=fedora DIST=29
-        if: branch = "master"
-      - name: "Fedora 30 build + test + deploy RPM"
-        env: OS=fedora DIST=30
-        if: branch = "master"
-      - name: "Fedora 31 build + test + deploy RPM"
-        env: OS=fedora DIST=31
-        if: branch = "master"
-      - name: "Ubuntu Trusty (14.04) build + deploy DEB"
-        env: OS=ubuntu DIST=trusty
-        if: branch = "master"
-      - name: "Ubuntu Xenial (16.04) build + deploy DEB"
-        env: OS=ubuntu DIST=xenial
-        if: branch = "master"
-      - name: "Ubuntu Bionic (18.04) build + deploy DEB"
-        env: OS=ubuntu DIST=bionic
-        if: branch = "master"
-      - name: "Ubuntu Eoan (19.10) build + deploy DEB"
-        env: OS=ubuntu DIST=eoan
-        if: branch = "master"
-      - name: "Debian Jessie (8) build + deploy DEB"
-        env: OS=debian DIST=jessie
-        if: branch = "master"
-      - name: "Debian Stretch (9) build + deploy DEB"
-        env: OS=debian DIST=stretch
-        if: branch = "master"
-      - name: "Debian Buster (10) build + deploy DEB"
-        env: OS=debian DIST=buster
-        if: branch = "master"
 
 script:
   - make -f .travis.mk ${TARGET}
 
-before_deploy:
-  - ls -l build/
-
-deploy:
-  # Deploy packages to PackageCloud from master branch (w/o tagged revisions)
-  - provider: packagecloud
-    username: "tarantool"
-    repository: "2_4"
-    token: "${PACKAGECLOUD_TOKEN}"
-    dist: "${OS}/${DIST}"
-    package_glob: build/*.{rpm,deb,dsc}
-    skip_cleanup: true
-    on:
-      repo: tarantool/tarantool
-      branch: "master"
-      condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
-  # Deploy packages to PackageCloud from tagged revisions
-  # https://github.com/travis-ci/travis-ci/issues/7780#issuecomment-302389370
-  - provider: packagecloud
-    username: "tarantool"
-    repository: "2_4"
-    token: "${PACKAGECLOUD_TOKEN}"
-    dist: "${OS}/${DIST}"
-    package_glob: build/*.{rpm,deb,dsc}
-    skip_cleanup: true
-    on:
-      repo: tarantool/tarantool
-      tags: true
-      condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
-
 notifications:
   email:
     recipients:
-- 
2.25.0

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

* Re: [Tarantool-patches] [PATCH] travis-ci: don't deploy 2.5+ pkgs to packagecloud
  2020-04-28 12:36 [Tarantool-patches] [PATCH] travis-ci: don't deploy 2.5+ pkgs to packagecloud Alexander Turenko
@ 2020-04-29 13:05 ` Alexander Turenko
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Turenko @ 2020-04-29 13:05 UTC (permalink / raw)
  To: Alexander V . Tikhonov, Oleg Piskunov, Sergey Bronnikov; +Cc: tarantool-patches

On Tue, Apr 28, 2020 at 03:36:44PM +0300, Alexander Turenko wrote:
> Now we have S3 based infrastructure for RPM / Deb packages and GitLab CI
> pipelines, which deploys packages to it.
> 
> We don't plan to add 2.5+ repositories on packagecloud.io, so instead of
> usual change of target bucket from 2_N to 2_(N+1), the deploy stage is
> removed.
> 
> Since all distro specific jobs are duplicated in GitLab CI pipelines and
> those Travis-CI jobs are needed just for deployment, it worth to remove
> them too.
> 
> Follows up #3380.
> Part of #4947.
> ---
> 
> Kirill, please, review the deprecation plan in the issue. This patch is
> the first one that follows on this plan.
> 
> Alexander, Oleg, Sergey I hope you're okay with the plan (we discussed
> something like this), but please let me know if something doubt you.
> 
> https://github.com/tarantool/tarantool/issues/4947
> https://github.com/tarantool/tarantool/tree/Totktonada/gh-4947-stop-deploy-to-packagecloud
> 
>  .travis.yml | 73 -----------------------------------------------------
>  1 file changed, 73 deletions(-)

Pushed to master in 2.5.0-12-gba206b484.

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

end of thread, other threads:[~2020-04-29 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 12:36 [Tarantool-patches] [PATCH] travis-ci: don't deploy 2.5+ pkgs to packagecloud Alexander Turenko
2020-04-29 13:05 ` Alexander Turenko

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