From 12d42e1972ab63f62f129605e217841d30e0d7fd Mon Sep 17 00:00:00 2001 From: Marcin Antas Date: Tue, 7 Mar 2023 15:35:24 +0100 Subject: [PATCH] Leave just one build for testing release process --- .github/workflows/create-release.yaml | 24 +++--- .travis.yml | 120 -------------------------- 2 files changed, 12 insertions(+), 132 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 0268100..afdbf92 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -15,18 +15,18 @@ jobs: include: - language: en model_version: 0.16.0 - - language: nl - model_version: 0.16.0 - - language: en - model_version: 0.14.0 - - language: nl - model_version: 0.14.0 - - language: de - model_version: 0.14.0 - - language: cs - model_version: 0.14.0 - - language: it - model_version: 0.14.0 + # - language: nl + # model_version: 0.16.0 + # - language: en + # model_version: 0.14.0 + # - language: nl + # model_version: 0.14.0 + # - language: de + # model_version: 0.14.0 + # - language: cs + # model_version: 0.14.0 + # - language: it + # model_version: 0.14.0 env: DOCKER_ORG: semitechnologies DOCKER_REPO: contextionary diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index de4519e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,120 +0,0 @@ -# if: branch = master - -env: - global: - - DOCKER_ORG: semitechnologies - - DOCKER_REPO: contextionary - - GO111MODULE: true - - secure: eZlMg64iN674fL8nGPjtHD6g8xuad+LtEejud7TeiAm6vl5H53dbuVqqncPalRzqIAOlJqq7c1IHbI62mgekZF2ufHNDCYlXqNL/zUYkUUlaQLmxvdO0HvLbxQEBGF3NLa5DNQ81hw93BTvIL8rGqYsWEaFs6LgLvlpTMhfkXWXSwLiN8hx7s+rVP6OH39kmpJXL2TmLgv/CA82uWJeJSIQUK2vRWhYeQi3m7evf+gr9QAlz2diWkIrrThVcAK+tCb7o1Iv7hsCJqzFGPPKm3IozTW5A8m5kpiVTiXyqSbb2OzA51A8tqoUCgO3f7PyPYdBmt8EmnnhURTUhOR6/TUUU3ueZF9fQIsjbgcTooo4xrt5uWjc2bS79EuYjJAExAvwtNJO+ufHZknFuOisbtB6mRWEwsu5K8kl2hb5WL4bYE5rhoiqillDvcu2H50rpPadP39kysbt/gg2cbwX3a/3o69oEWM5LOlESJbqxjuuXL7HcVXr92vCDlsgMju04W79PiDa8qwdxHWDTYSTkFZQdg0t7yCCosWcxXzKCawNdH7Qfc8z3hy5aTme5oSkYzG1IdklTCAcx16MIsuMWv5BN386nuaTuD3+z+NjSiYVVLyfLlWHj2b6IpVUqdsscLkkP2O/grdoGQHNWpFWxvlhTwYIIT55I90TuWSNv7Ys= - - secure: psVFAEtnr13KSfqXnW0jxai1RagBrtcZzlAl1SoSaPDb0QCFv0iuVMwe7Jon97yZG1fcstONSn7fTkDRsREhv6JV2pakj4RqQ1nnsr3czcxt3hSknbkTtRt7GKhgLtM29nMBTiiG7gT83TPbrWnk3A84puNjRW4H97SLQ1bL8ItOOrQJFMoZEuZT35N1in/25oNr+oGabvy9UJ07e2VzWvO/lyD0khIzFtfYvNL8zZAUXatxc9I7Zj5vrGsFI7Sj1EqugM2/1+Wr9ETGMeAOQiHVyiLVqyZnADaEU5WR2yWqO3lnFBYHcxcOIn43TNkxK1bTGe03leI8jzm3UxxPMm/a/b74Bh6ErocU45GEM+03VMgti8ny3r9hE/R6Nkb+LcZ0Dv+qhBNP8Tg6gryUvvziZuY6fY23Z5ZvFr5lasb+az0E3nz0ZY3J9bewnNWoFWTEnw2PPKi7L9FPYzmoumdiOcWsEe/IOWDJ0UU49TlMOYm4PMILpZtBtj51uQvtrNnt4Hi1KY2cmRB/8xQXrfvoAq/4eDna6CQsqeiJyEPK2eGsBEOqS/IioW90hSTUMhKsSC83DDPBTYjDiT8z7pJtENDnM1k0KedLpIjXh1C2gkYIoDuK1c+ceu79y7IsixR4J6hwp3mgEkHHlVqkkX+2pDnyUPP8KPqZXmchErw= - -language: docker - -jobs: - include: - - stage: verify - name: "Build en (0.16.0) and run journey tests against" - env: - - LANGUAGE="en" MODEL_VERSION="0.16.0" DIMENSIONS=300 SOFTWARE_VERSION="localtest" - script: - - set -e - - ./build.sh - - ./test/journey.sh - - stage: verify - name: "Build en (0.14.0) and run journey tests against" - env: - - LANGUAGE="en" MODEL_VERSION="0.14.0" DIMENSIONS=600 SOFTWARE_VERSION="localtest" - script: - - set -e - - docker buildx version - - ./build.sh - - ./test/journey.sh - - - stage: buildanddeploy - if: tag IS present - name: "Build and deploy: en0.16.0" - env: - - LANGUAGE="en" MODEL_VERSION="0.16.0" SOFTWARE_VERSION="$TRAVIS_TAG" - script: - - set -e - - ./prepare_docker_buildx.sh - - PUSH_MULTIARCH=1 ./build.sh - - - stage: buildanddeploy - if: tag IS present - name: "Build and deploy: nl0.16.0" - env: - - LANGUAGE="nl" MODEL_VERSION="0.16.0" SOFTWARE_VERSION="$TRAVIS_TAG" - script: - - set -e - - ./prepare_docker_buildx.sh - - PUSH_MULTIARCH=1 ./build.sh - - - stage: buildanddeploy - if: tag IS present - name: "Build and deploy: en0.14.0" - env: - - LANGUAGE="en" MODEL_VERSION="0.14.0" SOFTWARE_VERSION="$TRAVIS_TAG" - script: - - set -e - - ./prepare_docker_buildx.sh - - PUSH_MULTIARCH=1 ./build.sh - - - stage: buildanddeploy - if: tag IS present - name: "Build and deploy: nl0.14.0" - env: - - LANGUAGE="nl" MODEL_VERSION="0.14.0" SOFTWARE_VERSION="$TRAVIS_TAG" - script: - - set -e - - ./prepare_docker_buildx.sh - - PUSH_MULTIARCH=1 ./build.sh - - - stage: buildanddeploy - if: tag IS present - name: "Build and deploy: de0.14.0" - env: - - LANGUAGE="de" MODEL_VERSION="0.14.0" SOFTWARE_VERSION="$TRAVIS_TAG" - script: - - set -e - - ./prepare_docker_buildx.sh - - PUSH_MULTIARCH=1 ./build.sh - - - stage: buildanddeploy - if: tag IS present - name: "Build and deploy: cs0.14.0" - env: - - LANGUAGE="cs" MODEL_VERSION="0.14.0" SOFTWARE_VERSION="$TRAVIS_TAG" - script: - - set -e - - ./prepare_docker_buildx.sh - - PUSH_MULTIARCH=1 ./build.sh - - - stage: buildanddeploy - if: tag IS present - name: "Build and deploy: it0.14.0" - env: - - LANGUAGE="it" MODEL_VERSION="0.14.0" SOFTWARE_VERSION="$TRAVIS_TAG" - script: - - set -e - - ./prepare_docker_buildx.sh - - PUSH_MULTIARCH=1 ./build.sh - -before_install: - # install a newer docker version which supports buildx - - sudo rm -rf /var/lib/apt/lists/* - - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) edge" - - sudo apt-get update - - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce - - mkdir -vp ~/.docker/cli-plugins/ - - curl --silent -L "https://github.com/docker/buildx/releases/download/v0.3.0/buildx-v0.3.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx - - chmod a+x ~/.docker/cli-plugins/docker-buildx - -before_script: - # login to docker at the very beginning, so we don't run into rate-limiting - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - -# currently the latest available - so we can install the latest docker -dist: bionic