mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Another possible fix for acceptance tests.
This commit is contained in:
8
.github/workflows/test-acceptance.yml
vendored
8
.github/workflows/test-acceptance.yml
vendored
@@ -26,7 +26,13 @@ jobs:
|
|||||||
run: CGO_ENABLED=0 go build -ldflags "-s -w" -o ./salt-bootstrap salt-bootstrap.go
|
run: CGO_ENABLED=0 go build -ldflags "-s -w" -o ./salt-bootstrap salt-bootstrap.go
|
||||||
working-directory: ./e107_tests/lib/ci/salt/
|
working-directory: ./e107_tests/lib/ci/salt/
|
||||||
- name: Launch test container
|
- name: Launch test container
|
||||||
run: docker run -d -it --rm --name target -v .:/app/ ${{ matrix.operating_system.image }}
|
run: |
|
||||||
|
docker run -d --rm --name target -v .:/app/ ${{ matrix.operating_system.image }} tail -f /dev/null
|
||||||
|
sleep 5
|
||||||
|
if ! docker ps | grep -q target; then
|
||||||
|
docker logs target
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Install SaltStack
|
- name: Install SaltStack
|
||||||
run: docker exec target /app/e107_tests/lib/ci/salt/salt-bootstrap onedir
|
run: docker exec target /app/e107_tests/lib/ci/salt/salt-bootstrap onedir
|
||||||
- name: Apply Salt state
|
- name: Apply Salt state
|
||||||
|
Reference in New Issue
Block a user