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 Sep 27, 2023
1 parent 44d2128 commit a7cee3e
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -204,6 +204,56 @@ jobs:
run: |
make test-cucumber
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 a7cee3e

Please sign in to comment.