Update README.md
Compare changes
+ 2
− 8
@@ -48,6 +48,7 @@ Then run code/setup_tests.R which will create all the test files in "docker/test
To build the Docker container you need to [install Docker](https://docs.docker.com/engine/install/). Then you have to modify the Dockerfile [docker/Dockerfile](Dockerfile) to contain all the needed packages. Adjust the list as you need. Furthermore, if students use other packages than the ones you installed they can create a file called `packages.txt` (in each homework directory) where they can list packages, one per line and without quotes. For an example see [packages.txt](packages.txt).
@@ -73,18 +74,11 @@ docker push cr.gitlab.uzh.ch/NAMESPACE/COURSE_PROJECTNAME/rmd_tests:latest
To setup CI/CD in the course repository you have to enable shared runners in the CI/CD setting of your course repository. Next you can copy the file [.gitlab-ci.yml](.gitlab-ci.yml) from the test repository to the course repository. You have to replace `NAMESPACE` with the name of your course repo and `COURSE_PROJECTNAME`with your username or groupname at the top of the file (row 5, under the tag `image`).
To setup CI/CD in the course repository you have to enable shared runners in the CI/CD setting of your course repository (as described [here](https://docs.gitlab.com/ee/ci/runners/runners_scope.html#enable-shared-runners-for-a-project)). Next you can copy the file [.gitlab-ci.yml](.gitlab-ci.yml) from the test repository to the course repository. You have to replace `NAMESPACE` with the name of your course repo and `COURSE_PROJECTNAME`with your username or groupname at the top of the file (row 5, under the tag `image`).