The branch for the jobs to seed was set to main but we might want to seed the branch develop. Thus the parameter of the seed job replaces the hardcoded main. I am not sure if this solution works but wihtout trying we won't know :-D 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 ..