[tarantool-patches] Re: [PATCH 1/2] build: update rules for extended CI

Alexander Turenko alexander.turenko at tarantool.org
Fri Mar 22 03:44:56 MSK 2019


Okay for the branch name update in jobs / deploy conditions.

The packagecloud repository need to be changed from 2x to 2_2 (not
master, according to your decision after Konstantin O. comments).

S3 bucket name for tarballs is automatically setup from a branch name in
.travis.mk (see at almost end of the file). Now it will be broken, so
maybe you need to implement git describe parsing here instead of using
branch name.

I created tarantool.2.2.src bucket on our s3 and setup needed
parameters.

Please, ask Konstantin O. for the new repository on packagecloud (I
cannot do it).

WBR, Alexander Turenko.

On Thu, Mar 21, 2019 at 04:25:43PM +0300, Kirill Yukhin wrote:
> Development branch is now named master, so
> update conditions for exetended extended checks on

Typo: 'for exetended extended checks'.

> Travis.
> Also, set new repo name.
> ---
>  .travis.yml | 38 +++++++++++++++++++-------------------
>  1 file changed, 19 insertions(+), 19 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index d1ff5a8..b79ba18 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -33,54 +33,54 @@ jobs:
>          env: TARGET=test
>          os: osx
>          osx_image: xcode9.4
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: LTO build + test (Linux, gcc)
>          env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: LTO build + test (Linux, clang)
>          env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
> -        if: branch = "2.1"
> +        if: branch = "master"
>          compiler: clang
>        - name: LTO build + test (OS X Mojave 10.14)
>          os: osx
>          env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Create and deploy tarball
>          env: TARGET=source
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: CentOS 6 build + test + deploy RPM
>          env: OS=el DIST=6
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: CentOS 7 build + test + deploy RPM
>          env: OS=el DIST=7
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Fedora 28 build + test + deploy RPM
>          env: OS=fedora DIST=28
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Fedora 29 build + test + deploy RPM
>          env: OS=fedora DIST=29
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Ubuntu Trusty (14.04) build + deploy DEB
>          env: OS=ubuntu DIST=trusty
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Ubuntu Xenial (16.04) build + deploy DEB
>          env: OS=ubuntu DIST=xenial
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Ubuntu Bionic (18.04) build + deploy DEB
>          env: OS=ubuntu DIST=bionic
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Ubuntu Cosmic (18.10) build + deploy DEB
>          env: OS=ubuntu DIST=cosmic
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Debian Wheezy (7) build + deploy DEB
>          env: OS=debian DIST=wheezy
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Debian Jessie (8) build + deploy DEB
>          env: OS=debian DIST=jessie
> -        if: branch = "2.1"
> +        if: branch = "master"
>        - name: Debian Stretch (9) build + deploy DEB
>          env: OS=debian DIST=stretch
> -        if: branch = "2.1"
> +        if: branch = "master"
>  
>  script:
>    - make -f .travis.mk ${TARGET}
> @@ -92,14 +92,14 @@ deploy:
>    # Deploy packages to PackageCloud
>    - provider: packagecloud
>      username: "tarantool"
> -    repository: "2x"
> +    repository: "master"
>      token: "${PACKAGECLOUD_TOKEN}"
>      dist: "${OS}/${DIST}"
>      package_glob: build/*.{rpm,deb,dsc}
>      skip_cleanup: true
>      on:
>        repo: tarantool/tarantool
> -      branch: "2.1"
> +      branch: "master"
>        condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
>    # Deploy source tarballs to S3
>    - provider: script
> @@ -107,7 +107,7 @@ deploy:
>      skip_cleanup: true
>      on:
>        repo: tarantool/tarantool
> -      branch: "2.1"
> +      branch: "master"
>        condition: "x${TARGET} = xsource"
>  
>  notifications:
> -- 
> 2.19.1
> 




More information about the Tarantool-patches mailing list