Skip to content

Commit 213432c

Browse files
authored
Doc: fix heading sentence case and language check (Infra) (#1758)
Doc: fix heading sentence case and language check
1 parent 67c2ae6 commit 213432c

26 files changed

+133
-133
lines changed

docs/community/bugs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:orphan:
22

3-
Reporting Bugs
3+
Reporting bugs
44
==============
55

66
If you have an issue with Checkbox or with the test cases coming from its

docs/explanation/configs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _checkbox_configs:
22

3-
Checkbox Configs
3+
Checkbox configs
44
^^^^^^^^^^^^^^^^
55

66
Configuration file path

docs/explanation/release_process/canary.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
Canary Testing for Checkbox Edge Version: In-depth Process
1+
Canary testing for Checkbox edge version: in-depth process
22
==========================================================
33

44
Introduction
55
------------
66

77
Canary testing applies on Checkbox snaps that are released through the `edge channel <https://snapcraft.io/docs/channels>`_ in the Snap Store. New versions are built daily if changes are made in the code repository.
88

9-
The following sections provide a detailed walk-through of the Canary Testing process for the Checkbox Edge version, starting from snap building to the outcomes of the testing.
9+
The following sections provide a detailed walk-through of the canary testing process for the Checkbox Edge version, starting from snap building to the outcomes of the testing.
1010

11-
Snap Build and Release
11+
Snap build and release
1212
-----------------------
1313

14-
Trigger Conditions
14+
Trigger conditions
1515
^^^^^^^^^^^^^^^^^^
1616
The GitHub action responsible for building the snap runs every day. However, it only triggers when the following condition is met:
1717

1818
At least one pull request (PR) has been merged since the last edge build.
1919

20-
Build Workflow
20+
Build workflow
2121
^^^^^^^^^^^^^^^
2222

2323
To monitor the build process, or to review the configuration and logs, see `the GitHub workflow <https://github.com/canonical/checkbox/actions/workflows/checkbox-snap-daily-builds.yml>`_.
2424

25-
Post-Build Actions
25+
Post-build actions
2626
^^^^^^^^^^^^^^^^^^
2727

2828
Once the build is successful, the snap packages are automatically pushed to the Snap Store in the edge channel. Testers and early adopters can access the latest version through edge releases.
2929

30-
Jenkins Monitoring and Validation
30+
Jenkins monitoring and validation
3131
---------------------------------
3232

33-
Snap Monitoring
33+
Snap monitoring
3434
^^^^^^^^^^^^^^^
3535

3636
Once the snap is published to the edge channel in the Snap Store, our Jenkins job titled ``checkbox-edge-validation-detect-new-build`` gets into action.
@@ -48,7 +48,7 @@ The specific JSON path that's being monitored for changes is:
4848

4949
The job checks this path every minute for updates.
5050

51-
Validation and Wait Logic
51+
Validation and wait logic
5252
^^^^^^^^^^^^^^^^^^^^^^^^^
5353

5454
Upon detecting a new snap:
@@ -57,14 +57,14 @@ Upon detecting a new snap:
5757
2. If any snap is missing, the job waits for an hour, periodically checking for its availability.
5858
3. If the snaps are available within the waiting period, the next stage of testing is initiated.
5959

60-
checkbox-edge-canary-validation Pipeline
60+
checkbox-edge-canary-validation pipeline
6161
----------------------------------------
6262

6363
Upon successful snap validation, the ``checkbox-edge-canary-validation`` pipeline begins its operation.
6464

6565
The :doc:`canary_pipeline` contains the groovy script implementing the pipeline.
6666

67-
Testing Platforms and Specifications
67+
Testing platforms and specifications
6868
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6969

7070

@@ -79,12 +79,12 @@ The :doc:`validation_job_example` contains the Jenkins job definition for the am
7979
For a detailed look on how the job execution is carried out by all the entities in the chain,
8080
refer to the :doc:`validation_pipeline_execution`.
8181

82-
Canary Test Plan Criteria
82+
Canary test plan criteria
8383
^^^^^^^^^^^^^^^^^^^^^^^^^
8484

8585
The canary test plan outlines specific tests that are imperative for the new snap's validation. The pipeline's successful conclusion is contingent upon all these tests passing on each of the mentioned platforms.
8686

87-
Outcome and Information propagation
87+
Outcome and information propagation
8888
-----------------------------------
8989

9090
Should the validation complete without errors, the `beta` reference in the Checkbox repository is set to point at the revision that got validated.
@@ -93,7 +93,7 @@ The `beta` branch head is then updated on GitHub.
9393
Conclusion
9494
----------
9595

96-
This Canary Testing process, complete from snap building to testing, ensures that every release of Checkbox in the edge channel is thoroughly vetted and stable.
96+
This canary testing process, complete from snap building to testing, ensures that every release of Checkbox in the edge channel is thoroughly vetted and stable.
9797

9898

9999
.. toctree::

docs/explanation/release_process/canary_pipeline.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _canary_pipeline:
22

3-
Canary Pipeline
3+
Canary pipeline
44
^^^^^^^^^^^^^^^
55
This is an example on how the whole pipeline can be implemented in Jenkins.
66

@@ -15,15 +15,15 @@ This is an example on how the whole pipeline can be implemented in Jenkins.
1515
script {
1616
parallel (
1717
"Checkbox series-22 for amd64": {
18-
echo 'Running Canary on core22 amd64'
18+
echo 'Running canary on core22 amd64'
1919
build job: 'checkbox-edge-validation-core22-amd64', wait: true, propagate: true
2020
},
2121
"Checkbox series-22 for arm64": {
22-
echo 'Running Canary on core22 arm64'
22+
echo 'Running canary on core22 arm64'
2323
build job: 'checkbox-edge-validation-core22-arm64', wait: true, propagate: true
2424
},
2525
"Checkbox series-16 for amd64": {
26-
echo 'Running Canary on core16 amd64'
26+
echo 'Running canary on core16 amd64'
2727
build job: 'checkbox-edge-validation-core16-amd64', wait: true, propagate: true
2828
}
2929

docs/explanation/release_process/validation_pipeline_execution.rst

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Validation pipeline execution
22
=============================
33

4-
When validating various versions of Checkbox multiple workflows are in play. Everything starts with automated creation of an Edge version.
4+
When validating various versions of Checkbox multiple workflows are in play. Everything starts with automated creation of an edge version.
55

6-
Creating new Edge version
6+
Creating new edge version
77
-------------------------
88
Every day GitHub checks for new commits that landed in the Checkbox repository,
99
and if anything new landed a new version is created.
@@ -13,36 +13,36 @@ and if anything new landed a new version is created.
1313

1414
graph TB
1515

16-
A[GitHub Workflow: Detect New Commits]
17-
C[Mark Version as Edge and Build Snaps]
18-
E{Did Snap Builds Succeed?}
19-
F[Upload New Edge Version to Store]
20-
G[End: Build Failed - No New Edge Version]
16+
A[GitHub workflow: detect new commits]
17+
C[Mark version as edge and build snaps]
18+
E{Did snap builds succeed?}
19+
F[Upload new edge version to store]
20+
G[End: build failed - no new edge version]
2121

2222
A --> C
2323
C --> E
2424
E -->|Yes| F
2525
E -->|No| G
2626

2727

28-
With new Edge version of Checkbox in the store we can start validating it.
28+
With new edge version of Checkbox in the store we can start validating it.
2929

30-
Validating the Edge version
30+
Validating the edge version
3131
---------------------------
3232

33-
On the Certification Jenkins instance, the ``checkbox-edge-validation-detect-new-build`` job checks the store API for new Edge versions of Checkbox.
33+
On the Certification Jenkins instance, the ``checkbox-edge-validation-detect-new-build`` job checks the store API for new edge versions of Checkbox.
3434
The job is defined in the |hwcert-jenkins-jobs|_ repository.
3535

3636
This job is also responsible for checking if all of the necessary snaps were published (for other series and architectures).
37-
Once confirmed, the "Canary Test Plan" is executed. It is defined in the |hwcert-jenkins-jobs|_ repository as too.
37+
Once confirmed, the "canary test Plan" is executed. It is defined in the |hwcert-jenkins-jobs|_ repository as too.
3838

3939
.. mermaid::
4040

4141
graph TB
4242

43-
A[Detect New Edge Version in Store]
44-
B{Check if All Necessary Snaps are Published}
45-
C{Run Canary Test Plan on Devices}
43+
A[Detect new edge version in store]
44+
B{Check if all necessary snaps are published}
45+
C{Run canary test plan on devices}
4646
D[No changes in the repository]
4747
E[Move `beta` HEAD to the point at the validated revision]
4848

@@ -61,39 +61,39 @@ There are multiple entities participating in the chain of validating a Checkbox
6161

6262
sequenceDiagram
6363

64-
participant Pipeline as Checkbox Validation Pipeline
65-
participant Jenkins as Jenkins Job
66-
participant TServer as Testflinger Server
67-
participant TAgent as Testflinger Agent
64+
participant Pipeline as Checkbox validation pipeline
65+
participant Jenkins as Jenkins job
66+
participant TServer as Testflinger server
67+
participant TAgent as Testflinger agent
6868
participant Docker as Docker container (Checkbox Controller)
6969
participant Device as Device Under Test
70-
participant CAgent as Checkbox Agent
71-
note over Device,CAgent: Same device
70+
participant CAgent as Checkbox agent
71+
note over Device,CAgent: same device
7272

73-
Pipeline->>Jenkins: Trigger Jenkins Job
73+
Pipeline->>Jenkins: Trigger Jenkins job
7474
activate Pipeline
75-
Jenkins->>TServer: Submit Testing Job
75+
Jenkins->>TServer: Submit testing job
7676
activate TServer
77-
loop Poll for Job
78-
TAgent-->>TServer: Check for Available Jobs
77+
loop Poll for job
78+
TAgent-->>TServer: Check for available jobs
7979
end
8080
activate TAgent
81-
TAgent->>Device: Provision Device & Start Checkbox Agent
82-
activate Device
81+
TAgent->>Device: Provision device & start Checkbox agent
82+
activate device
8383
activate CAgent
84-
TAgent->>Docker: Run Checkbox Controller
84+
TAgent->>Docker: Run Checkbox controller
8585
activate Docker
86-
Docker->>CAgent: Start Canary Test Plan
87-
CAgent-->>Docker: Return Test Results
86+
Docker->>CAgent: Start canary test plan
87+
CAgent-->>Docker: Return test results
8888
deactivate CAgent
89-
Docker-->>TAgent: Report Results
89+
Docker-->>TAgent: Report results
9090
deactivate Docker
91-
TAgent-->>TServer: Job Completion Status
91+
TAgent-->>TServer: Job completion status
9292
deactivate TAgent
93-
TServer-->>Jenkins: Inform Jenkins of Outcome
93+
TServer-->>Jenkins: Inform Jenkins of outcome
9494
deactivate TServer
95-
Jenkins-->>Pipeline: Update Pipeline with Job Outcome
96-
deactivate Pipeline
95+
Jenkins-->>Pipeline: Update pipeline with job outcome
96+
deactivate pipeline
9797

9898
.. add code format to link text
9999
.. |hwcert-jenkins-jobs| replace:: ``hwcert-jenkins-jobs``

docs/explanation/understanding.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ between the following entities:
1313
- provider
1414
- launcher
1515

16-
Test Command
16+
Test command
1717
------------
1818

1919
Automated and some interactive tests use external commands to help determine the
@@ -27,7 +27,7 @@ The command returns 0 on success (ping came back), and 1 if the ping timed out.
2727
Let's turn this simple command into a Checkbox test.
2828

2929

30-
Job Unit
30+
Job unit
3131
--------
3232

3333
The command from the above paragraph can now be used in a Job Unit::
@@ -47,7 +47,7 @@ Notice how the command field is a straight copy-paste of the Test Command
4747

4848
See :ref:`units` for :ref:`more info on job units <job>`
4949

50-
Test Plan
50+
Test plan
5151
---------
5252

5353
When Checkbox is run from the command line without any parameters, i.e.::

docs/how-to/agent-service.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Checkbox Agent Systemd Service
1+
Checkbox Agent systemd service
22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33

44
Checkbox snaps supporting Checkbox Remote functionality usually come with a

docs/how-to/freeze-checkbox-version.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
=================================
2-
How to Freeze a Checkbox Version
2+
How to freeze a Checkbox version
33
=================================
44

5-
How to freeze Checkbox Snaps
5+
How to freeze Checkbox snaps
66
============================
77

88

@@ -47,11 +47,11 @@ snap.
4747
checkbox 3.3.0-dev19 5224 22.04/stable ce-certification-qa classic
4848
checkbox22 3.3.0-dev19 726 latest/stable ce-certification-qa -
4949
50-
How to freeze Checkbox Debs
50+
How to freeze Checkbox debs
5151
============================
5252

53-
Using Ubuntu Snapshot Service (20.04 or later)
54-
----------------------------------------------
53+
Using Ubuntu snapshot service (20.04 LTS or later)
54+
--------------------------------------------------
5555

5656
To freeze the Checkbox version of a deb package we will make use of the `Ubuntu
5757
Snapshot Service <https://snapshot.ubuntu.com/>`_. This service allows you to
@@ -66,10 +66,10 @@ LTS(with ``apt`` 2.4.11).
6666
Enable the snapshot service
6767
```````````````````````````
6868

69-
For Ubuntu 24.04
70-
''''''''''''''''
69+
For Ubuntu 24.04 LTS
70+
''''''''''''''''''''
7171

72-
The ``apt`` included in Ubuntu 24.04 and later automatically detects when snapshots
72+
The ``apt`` included in Ubuntu 24.04 LTS (Noble) and later automatically detects when snapshots
7373
are supported for a repository and are enabled by default.
7474

7575
Nevertheless, for PPAs in Launchpad it is sometimes necessary to modify the URI
@@ -121,15 +121,15 @@ Snapshot ID to most ``apt`` or ``apt-get`` commands with ``--snapshot [Snapshot
121121
$ apt install checkbox-ng --snapshot 20240416T000000Z
122122
123123
124-
Using a specific Snapshot ID for all apt commands
124+
Using a specific snapshot ID for all apt commands
125125
`````````````````````````````````````````````````
126126

127127
It is possible to set apt to use a particular snapshot for all apt
128128
commands of a PPA repository. To do this, the specific Snapshot ID (e.g.
129129
20240416T000000Z) can be used in place of “yes” in the relevant source.
130130

131-
For Ubuntu 24.04
132-
''''''''''''''''
131+
For Ubuntu 24.04 LTS
132+
''''''''''''''''''''
133133

134134
.. code-block:: text
135135
@@ -150,13 +150,13 @@ For Ubuntu 23.10 and earlier
150150
deb [snapshot=20240416T000000Z] https://ppa.launchpadcontent.net/~checkbox-dev/beta/ubuntu jammy main
151151
152152
153-
Disable Snapshot Service for a repository
153+
Disable snapshot service for a repository
154154
`````````````````````````````````````````
155155

156-
For Ubuntu 24.04
157-
''''''''''''''''
156+
For Ubuntu 24.04 LTS
157+
''''''''''''''''''''
158158

159-
For Ubuntu 24.04 and later, snapshots are enabled automatically for supported
159+
For Ubuntu 24.04 LTS and later, snapshots are enabled automatically for supported
160160
repositories. If you want to disable them for the Checkbox repository, edit the
161161
sources file To include ``Snapshot: no``.
162162

@@ -178,10 +178,10 @@ On Ubuntu 23.10 and earlier the included version of apt did not automatically
178178
detect snapshot support, so snapshots should not be enabled unless you have
179179
added ``[snapshot=yes]`` to the relevant source.
180180

181-
Using snapshots for 18.04 or earlier
182-
------------------------------------
181+
Using snapshots for 18.04 LTS or earlier
182+
-----------------------------------------
183183

184-
The Ubuntu Snapshot Service is available for 18.04 (Bionic) and 16.04 (Xenial)
184+
The Ubuntu Snapshot Service is available for 18.04 LTS (Bionic) and 16.04 LTS (Xenial)
185185
but the apt version included does not support the ``--snapshot`` option. In this
186186
case, it is required to set up manually the URL in your sources to point to a
187187
specific snapshot. This option is also possible for later versions of Ubuntu.

0 commit comments

Comments
 (0)