Skip to content

Commit 8971ebb

Browse files
committed
docs/Makefile.am: introduce docs/qa-guide.adoc (skeleton so far) [networkupstools#2192, networkupstools#2832]
Signed-off-by: Jim Klimov <[email protected]>
1 parent 276c0b7 commit 8971ebb

File tree

2 files changed

+99
-1
lines changed

2 files changed

+99
-1
lines changed

docs/Makefile.am

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ CABLES_IMAGES = images/cables/73-0724.png images/cables/940-0024C.jpg \
124124

125125
ALL_TXT_SRC = nut-names.txt daisychain.txt \
126126
$(USER_MANUAL_DEPS) $(DEVELOPER_GUIDE_DEPS) \
127-
$(CABLES_DEPS) FAQ.txt nut-qa.txt packager-guide.txt snmp.txt \
127+
$(CABLES_DEPS) FAQ.txt nut-qa.txt qa-guide.adoc packager-guide.txt snmp.txt \
128128
release-notes.txt ChangeLog.txt solaris-usb.txt
129129

130130
ASPELL_FILTER_PATH = @ASPELL_FILTER_PATH@
@@ -148,6 +148,7 @@ ASCIIDOC_HTML_SINGLE = \
148148
user-manual.html \
149149
developer-guide.html \
150150
packager-guide.html \
151+
qa-guide.html \
151152
release-notes.html \
152153
solaris-usb.html \
153154
cables.html \
@@ -158,6 +159,7 @@ ASCIIDOC_HTML_CHUNKED = \
158159
user-manual.chunked \
159160
developer-guide.chunked \
160161
packager-guide.chunked \
162+
qa-guide.chunked \
161163
release-notes.chunked \
162164
solaris-usb.chunked \
163165
cables.chunked \
@@ -168,6 +170,7 @@ ASCIIDOC_PDF = \
168170
user-manual.pdf \
169171
developer-guide.pdf \
170172
packager-guide.pdf \
173+
qa-guide.pdf \
171174
release-notes.pdf \
172175
solaris-usb.pdf \
173176
cables.pdf \
@@ -512,6 +515,7 @@ FULL_DEVELOPER_GUIDE_DEPS = $(DEVELOPER_GUIDE_DEPS) $(SHARED_DEPS) \
512515
user-manual.html user-manual.chunked user-manual.pdf: $(FULL_USER_MANUAL_DEPS)
513516
developer-guide.html developer-guide.chunked developer-guide.pdf: $(FULL_DEVELOPER_GUIDE_DEPS)
514517
packager-guide.html packager-guide.chunked packager-guide.pdf: packager-guide.txt asciidoc.conf
518+
qa-guide.html qa-guide.chunked qa-guide.pdf: qa-guide.adoc asciidoc.conf
515519
release-notes.html release-notes.chunked release-notes.pdf: release-notes.txt $(top_builddir)/NEWS.adoc-parsed $(top_builddir)/UPGRADING.adoc-parsed asciidoc.conf
516520
solaris-usb.html solaris-usb.chunked solaris-usb.pdf: solaris-usb.txt asciidoc.conf
517521

docs/qa-guide.adoc

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
NUT Quality Assurance Guide
2+
===========================
3+
:Author: Jim_Klimov
4+
:Author Initials: JK
5+
6+
WARNING: This is a Work In Progress document.
7+
8+
Abstract
9+
--------
10+
11+
The aim of this document is to describe the different ways we ensure and
12+
maintain the source code quality of Network UPS Tools, its portability to
13+
various platforms, and non-regression.
14+
15+
Previous NUT releases may have included parts of this documentation in the
16+
developer guide or user manual. Most of this information can be applied to
17+
both automated testing environments and local development workflows.
18+
19+
[[nut-qa]]
20+
include::nut-qa.txt[leveloffset=+1]
21+
22+
Code and recipe analysis
23+
------------------------
24+
25+
[[CI_distcheck]]
26+
GNU Autotools distcheck
27+
~~~~~~~~~~~~~~~~~~~~~~~
28+
29+
Static analysis by compilers
30+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31+
32+
[[CI_shellcheck]]
33+
Shell script checks
34+
~~~~~~~~~~~~~~~~~~~
35+
36+
[[CI_spellcheck]]
37+
Documentation spelling checks
38+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39+
40+
41+
Test automation
42+
---------------
43+
44+
[[CI_BUILD_SH]]
45+
The ci_build.sh script
46+
~~~~~~~~~~~~~~~~~~~~~~
47+
48+
Test programs in NUT codebase
49+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50+
51+
[[NIT]]
52+
NUT Integration Testing suite (NIT)
53+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54+
55+
56+
[[NUTCI_farm]]
57+
Continuous Integration (NUT CI farm)
58+
------------------------------------
59+
60+
Multiple FOSS CI providers and technologies
61+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62+
63+
Jenkins is the way
64+
~~~~~~~~~~~~~~~~~~
65+
66+
* https://stories.jenkins.io/user-story/jenkins-is-the-way-for-networkupstools/
67+
* https://github.com/jenkins-infra/stories/blob/main/src/user-story/jenkins-is-the-way-for-networkupstools/index.yaml
68+
69+
[[Jenkins-Dynamatrix-Library]]
70+
The jenkins-dynamatrix library
71+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72+
73+
[[Jenkins-Dynamatrix-Pipeline]]
74+
Jenkinsfile-dynamatrix cases in NUT sources
75+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76+
77+
[[CI_VM_DigitalOcean]]
78+
Custom NUT CI farm build agents: VMs on DigitalOcean
79+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80+
81+
* Installation of VMs on Digital Ocean
82+
- Pick details from https://github.com/networkupstools/nut/issues/2192
83+
84+
[[CI_LXC]]
85+
Custom NUT CI farm build agents: LXC containers
86+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
87+
88+
include::ci-farm-lxc-setup.txt[leveloffset=+2]
89+
90+
[[Config_Prereqs]]
91+
NUT build prerequisites
92+
-----------------------
93+
94+
include::config-prereqs.txt[leveloffset=+2]

0 commit comments

Comments
 (0)