git clone https://github.com/ytzemih/yap.git
Make sure you have Docker
(if
you are using Ubuntu 20.04 have a look at this installation
guide) and
docker-compose
installed. You will need about 2.5GiB of disk space to store
the built Docker image.
Run
make
to build the container and execute the example workflow.make shell
to build and get a shell inside the container.make build
to build the container.make clean
to remove previous workflow artefacts.
Run
$ docker-compose up
to build and run the container.
If you just want to build the container, run:
$ docker-compose build
Obtain the workflow result from the files/yap-examples/hrc2/
directory. You can find the test log of the final workflow stage in
the 06-test
subfolder:
cat files/yap-examples/hrc2/06-tests/workcell_failures.log
should output0
, meaning that zero errors have been foundcat files/yap-examples/hrc2/06-tests/workcell_results-h-0.log
should only containPASS
verdicts.
- On Ubuntu, you might need to make sure that the Docker daemon is
active with
sudo systemctl start docker
. - If, for any reason, your Docker setup is unable to access the
Ubuntu package
repositories,
please, try to restart
sudo service docker restart
to make sure DNS is properly working. - If the workflow exhibits errors, e.g. killed processes, please make sure the docker container has at least 4GB of memory available. If you are using Docker Desktop on macOS or Windows you may need to increase the system resources in the Preferences page.