if the nightly job is aborted any downstream job are aborted and no further build target job is triggered. I case of an exception the job is handled as failed with the note of exception but no longer an error is thrown. To get the handling properly done, the nightly triggers downstream jobs with propagate flag set to false. The result handling is done with <job>.getResult() and catching exceptions. Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com> |
||
|---|---|---|
| collections | ||
| doc | ||
| docker | ||
| inventory | ||
| jobs | ||
| playbooks/getting_started | ||
| .gitignore | ||
| README.md | ||
| ansible.cfg | ||
| docker-compose.yaml | ||
README.md
NetModule Wireless Linux CI/CD Repository
This repository contains all necessary jobs for the CI/CD environment of the NetModule Wireless Linux (NWL).
Content
This repository holds the automation files for ansible, the CI environment for the NWL and its documentation:
- doc
- the documentation of the work for the NWL CI environment
- ansible automation:
- ansible.cfg
- the paths of inventory, collections, etc for AWX
- inventory
- the ansible inventory with all managed hosts/devices
- playbooks
- ansible playbooks
- ansible.cfg
- jenkins environment:
- jobs
- Jenkinsfile_Common
- a collection of commonly used functions, so that duplicated code can be avoided
- Jenkinsfile_Build / Jenkinsfile_Build_awx
- a pipeline building a NWL yocto target (postfix awx is for the instance set up with AWX)
- Jenkinsfile_Documentation_awx
- a pipeline building the CI documentation (for the instance set up with AWX)
- Jenkinsfile_Common
- docker
- Dockerfile
- nwl-cicd.yaml
- plugins.txt
- docker-compose.yaml
- jobs
Building the Documentation
The documentation bases on sphinx and is written in reStructuredText format. To build the documenation you need to install sphinx first:
sudo apt install python3-sphinx
sudo pip3 install cloud-sptheme
Within the directory doc you can use make as follows:
# entering doc:
cd doc
# clean and build the documentation:
make clean
make html
# open the generated documentation in the browser:
xdg-open out/html/index.html
cd ..