With the latest version where the nightly branch is forwarded to the build job, the source revision update is no longer necessary. But in case of a manual trigger of the build job it makes sense to keep the functionality. Thus, an additional parameter is introduced to the build target job. With it the nightly job and the common files are updated too. 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 ..