Skip to content

Set a magic config which makes our kafka integration tests complete in half the time #2197

Set a magic config which makes our kafka integration tests complete in half the time

Set a magic config which makes our kafka integration tests complete in half the time #2197

Workflow file for this run

---
name: "docker"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Cancel already running jobs
concurrency:
group: docker_${{ github.head_ref }}
cancel-in-progress: true
jobs:
publish-image:
name: "Build docker image and run smoke test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Push image
run: |
# build image
docker build -t shotover:test .
# run image for 5 seconds and then send it SIGTERM, if it returns a nonzero exit code fail CI
timeout --preserve-status 5 docker run --mount type=bind,source="$(pwd)"/shotover-proxy/config,target=/config shotover:test