From d8435348b42e465d0594f6fa8d95b896ca4ec9ad Mon Sep 17 00:00:00 2001 From: Christopher Petito <47751006+krissetto@users.noreply.github.com> Date: Fri, 15 Mar 2024 16:28:56 +0100 Subject: [PATCH] Run integration tests against multiple moby engines/api versions Signed-off-by: Christopher Petito <47751006+krissetto@users.noreply.github.com> --- .github/workflows/ci.yml | 12 +++++++++++- Makefile | 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 628c53504..75718331b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,11 +46,21 @@ jobs: strategy: matrix: variant: [ "integration-dind", "integration-dind-ssl", "integration-dind-ssh" ] + engine: + - version: 25.0 # latest + api: 1.44 + - version: 24.0 # latest - 1 + api: 1.43 + - version: 23.0 # mirantis lts + api: 1.42 steps: - uses: actions/checkout@v4 - - name: make ${{ matrix.variant }} + - name: ${{ matrix.variant }} - v${{ matrix.engine.version }}/v${{ matrix.engine.api }} run: | docker logout rm -rf ~/.docker make ${{ matrix.variant }} + env: + TEST_ENGINE_VERSION: ${{ matrix.engine.version }} + TEST_API_VERSION: ${{ matrix.engine.api }} diff --git a/Makefile b/Makefile index 00ebca05c..25a83205b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -TEST_API_VERSION ?= 1.43 -TEST_ENGINE_VERSION ?= 24.0 +TEST_API_VERSION ?= 1.44 +TEST_ENGINE_VERSION ?= 25.0 ifeq ($(OS),Windows_NT) PLATFORM := Windows