>**Note:** you must increment the version in the build script (`buildinit.py`) prior to committing your final changes to the repo.
## running builds
Prior to committing to the repo, test builds need to be conducted. we have designed this to replicate gitlabs CI. Each stage of the `.gitlab-ci.yml` can be run from the command line using the following docker command
>**tip:** substitute `{Gitlab-CI Stage}` with one of the available stages below before running this command
Tested and confirmed `.gitlab-ci.yml` tasks as working with the above command
-**Verify**
* PyLint
-**Unit Testing**
* Unit Test
* Function Test
-**package**
* Coverage *- Not Working*
* gitlab-management_package
-**build**
* ~~Docker_Build-Alpine~~ *- not working*
-**test**
* ~~pages~~ *- Only usable on GitLab*
* ~~bandit-sast~~ *- Not Tested*
* ~~Scan gitlab-management-Alpine~~ *- Not Tested*
* ~~gemnasium-python-dependency_scanning~~ *- Not Tested*
* ~~license_scanning~~ *- Not Tested*
-**validate**
* ~~Documentation~~ *- Not Working*
**Tip:** use this command to build/test the docs
```bash
cd{Repo Directory}
rm-Rf build bin docs/_build gitlab_management.egg-info lib include pyvenv.cfg
CI_PROJECT_DIR=/Repository && docker run -eCI_PROJECT_DIR=$CI_PROJECT_DIR-w$CI_PROJECT_DIR-v$PWD:$CI_PROJECT_DIR readthedocs/build:latest bash test/validation-build-docs.sh
```
-**release**
* ~~GitLab-Release~~ *- Only usable on GitLab*
-**publish**
* ~~Publish~~ *- Only usable on GitLab*
### Version Changes
Every change, prior to being committed to the `development` branch, must have it's version incremented. In most cases only the `{newfeature}` number will need to be incremented.
@@ -171,11 +214,6 @@ Clean-up the environment prior to building the documentation, with:
rm-Rf build bin docs/_build gitlab_management.egg-info lib include pyvenv.cfg
```
To build the documentation run:
``` bash
cd{Repo Directory}
CI_PROJECT_DIR=/Repository && docker run -eCI_PROJECT_DIR=$CI_PROJECT_DIR-w$CI_PROJECT_DIR-v$PWD:$CI_PROJECT_DIR readthedocs/build:latest bash test/validation-build-docs.sh
Changes for README.md: 13 added lines, 3 removed lines.
Original line number
Diff line number
Diff line
# Python Gitlab Management
[](https://gitlab.com/nofusscomputing/projects/python-gitlab-management/)
[](https://gitlab.com/nofusscomputing/projects/python-gitlab-management/)
[](https://gitlab.com/nofusscomputing/projects/python-gitlab-management/)
[](https://python-gitlab-management.readthedocs.io/en/stable/)
[](https://gitlab.com/nofusscomputing/projects/python-gitlab-management/)
[](https://python-gitlab-management.readthedocs.io/en/development/)
Gitlab-management is python module that enables GitLab group configuration from code. By design it's intended to be setup to run on a schedule.