Skip to content
Snippets Groups Projects
Commit bfcfa519 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

doc: Update readme

parent 1537c9df
Branches
Tags
1 merge request!1Feature/mad 91 gitlab pipeline
Pipeline #696 failed
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -70,7 +70,9 @@ Clone project, build and deploy package ...@@ -70,7 +70,9 @@ Clone project, build and deploy package
``` ```
$ git clone git@gitlab.nibio.no:VIPS/vipscore-python-common.git $ git clone git@gitlab.nibio.no:VIPS/vipscore-python-common.git
$ cd vipscore-python-common $ cd vipscore-python-common
$ pip install build twine $ python3 -m venv venv
$ . venv/bin/activate
$ pip install -e .
$ python3 -m build $ python3 -m build
-> Successfully built vipscore_common-0.1.6.tar.gz and vipscore_common-0.1.6-py3-none-any.whl -> Successfully built vipscore_common-0.1.6.tar.gz and vipscore_common-0.1.6-py3-none-any.whl
$ python3 -m twine upload --repository gitlab dist/* --verbose $ python3 -m twine upload --repository gitlab dist/* --verbose
...@@ -84,22 +86,3 @@ $ python3 -m twine upload --repository gitlab dist/* --verbose ...@@ -84,22 +86,3 @@ $ python3 -m twine upload --repository gitlab dist/* --verbose
See pipeline configuration in `.gitlab-ci.yml`. See pipeline configuration in `.gitlab-ci.yml`.
Temporarily setting up a gitlab runner for this specific project on `vipscore01test.nibio.no`. We should probably set up a common group runner instead.
```
ssh nibio@vipscore01test.nibio.no
```
Find the project specific `REGISTRATION_TOKEN`: https://gitlab.nibio.no/VIPS/vipscore-python-common/-/settings/ci_cd
```
sudo gitlab-runner register -n --url https://gitlab.nibio.no \
--registration-token <REGISTRATION_TOKEN> \
--executor docker \
--description "vipscore-python-common-runner" \
--docker-image "docker:20.10.16" \
--tag-list vips-runner \
--docker-wait-for-services-timeout -1
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment