Skip to content
Snippets Groups Projects
Commit f6fdb00c authored by nguyed99's avatar nguyed99
Browse files

Udpate project structure

parent cb92ba07
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
All folders are isolated projects. `cd` into the folder to run/build them. All folders are isolated projects. `cd` into the folder to run/build them.
- `jobs`: jobs to be built as a Docker image - `jobs`: jobs contain utility functions
- `tasks`: a task can be composed of many jobs - `tasks`: a task can be composed of many jobs
## Getting started with development tools ## Getting started with development tools
...@@ -27,6 +27,7 @@ All folders are isolated projects. `cd` into the folder to run/build them. ...@@ -27,6 +27,7 @@ All folders are isolated projects. `cd` into the folder to run/build them.
2. We are storing Docker images at GitLab's integrated container registry by running: 2. We are storing Docker images at GitLab's integrated container registry by running:
docker login git.imp.fu-berlin.de:5000 -u <GITLAB_USERNAME> -p <TOKEN> docker login git.imp.fu-berlin.de:5000 -u <GITLAB_USERNAME> -p <TOKEN>
*Some Project Access Tokens are available and will be provided to members.* *Some Project Access Tokens are available and will be provided to members.*
## Local development ## Local development
...@@ -38,11 +39,11 @@ Jobs and tasks are run inside of docker containers. There is a docker build scri ...@@ -38,11 +39,11 @@ Jobs and tasks are run inside of docker containers. There is a docker build scri
The image is built now and ready to be used! The tests in the Docker container built from the image can be sanity-checked via : The image is built now and ready to be used! The tests in the Docker container built from the image can be sanity-checked via :
docker run -it --rm git.imp.fu-berlin.de:5000/comp-sci-project/jobs-n-tasks:local python jobs/unittests/test_a_job.py docker run -it --rm git.imp.fu-berlin.de:5000/comp-sci-project/jobs-n-tasks:local python jobs/tests/test_a_job.py
or for testing a task: or for testing a task:
docker run -it --rm git.imp.fu-berlin.de:5000/comp-sci-project/jobs-n-tasks:local python tasks/integration-tests/test_a_task.py docker run -it --rm git.imp.fu-berlin.de:5000/comp-sci-project/jobs-n-tasks:local python tasks/tests/test_a_task.py
For live experience (meaning you enter the container), run: For live experience (meaning you enter the container), run:
......
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment