Enable in-container docker

Former-commit-id: 074a3fe20e
This commit is contained in:
David Boreham 2023-04-20 16:21:26 -06:00 committed by GitHub
parent d6f829ee65
commit d2dfcc813f

View File

@ -1,10 +1,16 @@
name: Test name: Integration Test
on: on:
pull_request: pull_request:
branches: '*' branches: '*'
push: push:
branches: 'main' branches:
- main
- ci-test
# Needed until we can incorporate docker startup into the executor container
env:
DOCKER_HOST: unix:///var/run/dind.sock
jobs: jobs:
test: test:
@ -25,5 +31,9 @@ jobs:
run: ./scripts/create_build_tag_file.sh run: ./scripts/create_build_tag_file.sh
- name: "Build local shiv package" - name: "Build local shiv package"
run: ./scripts/build_shiv_package.sh run: ./scripts/build_shiv_package.sh
- name: Start dockerd # Also needed until we can incorporate into the executor
run: |
dockerd -H $DOCKER_HOST --userland-proxy=false &
sleep 5
- name: "Run smoke tests" - name: "Run smoke tests"
run: ./tests/smoke-test/run-smoke-test.sh run: ./tests/smoke-test/run-smoke-test.sh