Skip to content

change the amount of info that's put out #8

change the amount of info that's put out

change the amount of info that's put out #8

Workflow file for this run

name: Test building and runnint dojo
on: push
jobs:
smoketest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Container
run: "docker build -t pwncollege/dojo ."
- name: Run Container
run: "docker run --privileged -d -v $PWD:/opt/pwn.college:shared -p 2222:22 -p 80:80 -p 443:443 --name dojo pwncollege/dojo"
- name: Wait for container to be ready
run: |
until docker exec dojo dojo is-setup-finished
do
sleep 5
docker exec dojo journalctl -u pwn.college | tail -n 5
done
- name: Run tests against container
run: "pytest ./test"