Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasleveil/docker-flexget_test
Dockerfile for building a docker image able to run the test suite of the Flexget projet
https://github.com/thomasleveil/docker-flexget_test
Last synced: 18 days ago
JSON representation
Dockerfile for building a docker image able to run the test suite of the Flexget projet
- Host: GitHub
- URL: https://github.com/thomasleveil/docker-flexget_test
- Owner: thomasleveil
- Created: 2014-02-16T06:12:52.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T23:45:44.000Z (over 10 years ago)
- Last Synced: 2023-03-10T20:33:30.142Z (almost 2 years ago)
- Language: Shell
- Homepage: https://registry.hub.docker.com/u/tomdesinto/flexget-test/
- Size: 195 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Flexget test
============Builds an docker image which is able to run tests for the [Flexget](http://flexget.com/) project.
The aim is to get a consistent environment ready to fire up the test suite in seconds.
To upgrade the dependencies, rebuild the container image.
Running the tests
-----------------Running the docker container will update the Flexget code against the `develop` branch and
run the test suite.docker run tomdesinto/flexget-test
This will run `nosetest --attr !online`
If you want to pass additional command line parameters to `nosetest`, add them to the docker run command.
Let say you want to run the tests in parallel over 4 processes, then run the container with:docker run tomdesinto/flexget-test --processes=4
To get the list of parameters you can pass, just run the container with the `--help` parameter:
docker run --rm tomdesinto/flexget-test --help
Building the docker image
-------------------------docker build -t tomdesinto/flexget-test https://github.com/thomasleveil/docker-flexget_test.git
If you want to hack the Dockerfile, then checkout the project and call `make build`
```bash
git clone https://github.com/thomasleveil/docker-flexget_test.git
cd docker-flexget_test
make build
```Tips
----Run the container with the `--tty --interactive` (or `-it`) parameters to be able to interrupt the test suite
with Ctrl-C:docker run -it tomdesinto/flexget-test