diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3ebefcea..00000000 --- a/.travis.yml +++ /dev/null @@ -1,175 +0,0 @@ -sudo: false -language: C -services: - - docker - -cache: - directories: - - $HOME/.cache - -env: - global: - - PRODUCT=tarantool-expirationd - matrix: - - TARGET=test VERSION=1_10 - - TARGET=test VERSION=2x - - TARGET=test VERSION=2_2 - - TARGET=test VERSION=2_3 - - TARGET=test VERSION=2_4 - - OS=el DIST=6 - - OS=el DIST=7 - - OS=el DIST=8 - - OS=fedora DIST=28 - - OS=fedora DIST=29 - - OS=fedora DIST=30 - - OS=fedora DIST=31 - - OS=ubuntu DIST=trusty - - OS=ubuntu DIST=xenial - - OS=ubuntu DIST=bionic - - OS=ubuntu DIST=focal - - OS=debian DIST=jessie - - OS=debian DIST=stretch - - OS=debian DIST=buster - -script: - - git describe --long - - | - if [ "${TARGET}" = "test" ]; then - ./test.sh; - else - git clone https://github.com/packpack/packpack.git packpack; - packpack/packpack; - fi; - -before_deploy: - - ls -l build/ - -deploy: - # Deploy packages to PackageCloud from master branch - - provider: packagecloud - username: tarantool - repository: "1_10" - token: ${PACKAGECLOUD_TOKEN} - dist: ${OS}/${DIST} - package_glob: build/*.{rpm,deb,dsc} - skip_cleanup: true - on: - branch: master - condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - provider: packagecloud - username: tarantool - repository: "2x" - token: ${PACKAGECLOUD_TOKEN} - dist: ${OS}/${DIST} - package_glob: build/*.{rpm,deb,dsc} - skip_cleanup: true - on: - branch: master - condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - provider: packagecloud - username: tarantool - repository: "2_2" - token: ${PACKAGECLOUD_TOKEN} - dist: ${OS}/${DIST} - package_glob: build/*.{rpm,deb,dsc} - skip_cleanup: true - on: - branch: master - condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - provider: packagecloud - username: tarantool - repository: "2_3" - token: ${PACKAGECLOUD_TOKEN} - dist: ${OS}/${DIST} - package_glob: build/*.{rpm,deb,dsc} - skip_cleanup: true - on: - branch: master - condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - provider: packagecloud - username: tarantool - repository: "2_4" - token: ${PACKAGECLOUD_TOKEN} - dist: ${OS}/${DIST} - package_glob: build/*.{rpm,deb,dsc} - skip_cleanup: true - on: - branch: master - condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - # 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}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - 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}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - 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}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - 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}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - - provider: packagecloud - username: tarantool - repository: "2_4" - 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}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - - # Archive packages - # - provider: script - # script: ./travis-archive.sh modules - # on: - # branch: master - # condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" && "${TRAVIS_EVENT_TYPE}" != 'cron' - -notifications: - email: - recipients: - - build@tarantool.org - on_success: change - on_failure: always diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 7cdcde97..00000000 --- a/Jenkinsfile +++ /dev/null @@ -1,8 +0,0 @@ -stage('Build'){ - packpack = new org.tarantool.packpack() - node { - checkout scm - packpack.prepareSources() - } - packpack.packpackBuildMatrix('result') -} diff --git a/test.sh b/test.sh deleted file mode 100755 index 34381db5..00000000 --- a/test.sh +++ /dev/null @@ -1,15 +0,0 @@ -VERSION=${VERSION:-1_7} - -curl https://packagecloud.io/tarantool/${VERSION}/gpgkey | sudo apt-key add - -release=`lsb_release -c -s` - -sudo apt-get install -y apt-transport-https - -sudo tee /etc/apt/sources.list.d/tarantool_${VERSION}.list <<- EOF -deb https://packagecloud.io/tarantool/${VERSION}/ubuntu/ $release main -deb-src https://packagecloud.io/tarantool/${VERSION}/ubuntu/ $release main -EOF - -sudo apt-get update > /dev/null -sudo apt-get -q -y install tarantool --force-yes -make test diff --git a/travis-archive.bash b/travis-archive.bash deleted file mode 100644 index 5bf2822a..00000000 --- a/travis-archive.bash +++ /dev/null @@ -1,55 +0,0 @@ -BIN_DIR="${HOME}/.cache/bin" -MINIO_CLIENT="${BIN_DIR}/mc" - -START_TIME=`date +%s` - -if [[ -n "${OS}" && -n "${DIST}" ]]; then - echo "Uploader: build data isn't found, skipping" - exit 0 -fi - -if [[ ! -x "${MINIO_CLIENT}" ]]; then - echo "Uploader: couldn't find minio client - downloading" - mkdir -p "${BIN_DIR}" - rm -rf "${MINIO_CLIENT}" - wget https://dl.minio.io/server/minio/release/linux-amd64/minio -O ${MINIO_CLIENT} - chmod +x ${MINIO_CLIENT} -fi - -${MINIO_CLIENT} config host add tarantool-s3 http://s3.tarantool.org ${S3_ACCESS_KEY} ${S3_SECRET_KEY} - -DEB_DST="tarantool-s3/archive/${OS}/${DIST}/os/x86_64/" -RPM_DST="tarantool-s3/archive/${OS}/pool/main/${PROJECT}" - -COUNT=0 - -for fullname in "$@"; do - PACKAGE_NAME=`basename "$fullname"` - PACKAGE_EXTENSION="${filename##*.}" - echo -n "Uploader: uploading file $fullname " - - case "${OS}" in - "el") ;; - "fedora") - echo "to ${DEB_DST}" - ${MINIO_CLIENT} mb ${DEB_DST} - ${MINIO_CLIENT} cp $fullname ${DEB_DST} - ;& - "ubuntu") ;; - "debian") - echo "to ${RPM_DST}" - ${MINIO_CLIENT} mb ${RPM_DST} - ${MINIO_CLIENT} cp $fullname ${RPM_DST} - ;& - *) - echo - echo "Uploader: unknown OS '${OS}'" - exit 1 - ;; - esac - COUNT=$((COUNT+1)) -done - -RUN_TIME=$((START_TIME-`date +%s`)) - -echo "Finished uploading $COUNT in ${RUN_TIME} sec"