mirror of
https://github.com/docker/compose.git
synced 2026-11-21 23:50:17 +00:00
ci: run e2e matrix with and without the containerd image store
Several image-identity bugs only manifest on one image store backend: the graphdriver and containerd stores report different digest kinds and resolve them differently (#14005, #14007, #14014 all reproduce only under the containerd store, which no CI job covered). Cross the stable e2e jobs with a store axis (graphdriver/containerd) so both backends are exercised in plugin and standalone modes; oldstable jobs stay on the default graphdriver. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
5ec38bbd5c
commit
c936d76faa
1 changed files with 16 additions and 13 deletions
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
|
|
@ -165,43 +165,46 @@ jobs:
|
|||
|
||||
e2e:
|
||||
runs-on: ubuntu-latest
|
||||
name: e2e (${{ matrix.mode }}, ${{ matrix.channel }}${{ matrix.store && format(', {0}', matrix.store) || '' }})
|
||||
name: e2e (${{ matrix.mode }}, ${{ matrix.channel }}, ${{ matrix.store }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
# current stable
|
||||
# current stable, both image store backends: several digest-identity
|
||||
# bugs only manifest on one of them (graphdriver vs containerd)
|
||||
- mode: plugin
|
||||
engine: 29
|
||||
channel: stable
|
||||
store: graphdriver
|
||||
- mode: plugin
|
||||
engine: 29
|
||||
channel: stable
|
||||
store: containerd
|
||||
- mode: standalone
|
||||
engine: 29
|
||||
channel: stable
|
||||
store: graphdriver
|
||||
- mode: standalone
|
||||
engine: 29
|
||||
channel: stable
|
||||
store: containerd
|
||||
|
||||
# old stable (latest major - 1)
|
||||
- mode: plugin
|
||||
engine: 28
|
||||
channel: oldstable
|
||||
store: graphdriver
|
||||
- mode: standalone
|
||||
engine: 28
|
||||
channel: oldstable
|
||||
|
||||
# containerd image store (non-graphdriver digest behavior)
|
||||
- mode: plugin
|
||||
engine: 29
|
||||
channel: stable
|
||||
store: containerd
|
||||
store: graphdriver
|
||||
steps:
|
||||
- name: Prepare
|
||||
run: |
|
||||
mode=${{ matrix.mode }}
|
||||
engine=${{ matrix.engine }}
|
||||
store=${{ matrix.store }}
|
||||
pair="${mode}-${engine}"
|
||||
if [ -n "$store" ]; then
|
||||
pair="${pair}-${store}"
|
||||
fi
|
||||
echo "MODE_ENGINE_PAIR=${pair}" >> $GITHUB_ENV
|
||||
echo "MODE_ENGINE_PAIR=${mode}-${engine}-${store}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue