From 0ca37819c6e886ef98939ad92da9ddaa82b8a246 Mon Sep 17 00:00:00 2001 From: psergee Date: Wed, 8 Nov 2023 13:06:28 +0300 Subject: [PATCH] ci: add tarantool 3.0 CI --- .github/actions/prepare-ce-test-env/action.yml | 17 ++++++++++++++++- .github/workflows/full-ci.yml | 2 +- .github/workflows/tests.yml | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/actions/prepare-ce-test-env/action.yml b/.github/actions/prepare-ce-test-env/action.yml index 37f8fa12a..a8142cd30 100644 --- a/.github/actions/prepare-ce-test-env/action.yml +++ b/.github/actions/prepare-ce-test-env/action.yml @@ -48,11 +48,26 @@ runs: shell: bash - name: Install Tarantool + if: | + inputs.skip-tarantool-install == 'false' && + !startsWith(inputs.tarantool-version, '3.') uses: tarantool/setup-tarantool@v1 - if: ${{ inputs.skip-tarantool-install == 'false' }} with: tarantool-version: '${{ inputs.tarantool-version }}' + # Here is a workaround for Tarantool 3.0 installation until it is supported + # by setup-tarantool. This step will install the latest pre-released + # Tarantool 3.0 from repository. + - name: Install Tarantool from repo + if: | + inputs.skip-tarantool-install == 'false' && + startsWith(inputs.tarantool-version, '3.') + run: | + sudo curl -L https://tarantool.io/iqJapRm/release/3/installer.sh | \ + sed 's|repo_type="release"|repo_type="pre-release"|' | bash + sudo apt install tarantool tarantool-dev + shell: bash + - name: Install etcd uses: ./.github/actions/setup-etcd if: ${{ inputs.skip-etcd-install == 'false' }} diff --git a/.github/workflows/full-ci.yml b/.github/workflows/full-ci.yml index 452fc0bb1..ae224d97a 100644 --- a/.github/workflows/full-ci.yml +++ b/.github/workflows/full-ci.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - tarantool-version: ["1.10", "2.10"] + tarantool-version: ["1.10", "2.10", "3.0"] fail-fast: false steps: - uses: actions/checkout@master diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c674c59a1..7693dc45e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - tarantool-version: ["1.10", "2.10"] + tarantool-version: ["1.10", "2.10", "3.0"] fail-fast: false steps: - uses: actions/checkout@master