Skip to content

Commit

Permalink
Run tests against the c8d image store
Browse files Browse the repository at this point in the history
Added a job that will run e2e tests against a docker daemon that has the
containerd-integration feature enabled.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
  • Loading branch information
rumpl committed Apr 11, 2024
1 parent 5059a1d commit bf1b982
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -211,6 +211,57 @@ jobs:
with:
paths: /tmp/report/report.xml
if: always()

e2e-containerd-docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
check-latest: true
cache: true
-
name: Setup docker CLI
run: |
curl https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_CLI_VERSION}.tgz | tar xz
sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version
-
name: Build
uses: docker/bake-action@v2
with:
targets: binary-with-coverage
set: |
*.cache-from=type=gha,scope=binary-linux-amd64
*.cache-from=type=gha,scope=c8d-binary-e2e
*.cache-to=type=gha,scope=c8d-binary-e2e,mode=max
env:
BUILD_TAGS: e2e
-
name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v2
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}
-
name: Test standalone mode
run: |
rm -f /usr/local/bin/docker-compose
cp bin/build/docker-compose /usr/local/bin
make e2e-compose-standalone
coverage:
runs-on: ubuntu-22.04
needs:
Expand Down

0 comments on commit bf1b982

Please sign in to comment.