Skip to content

Commit e398cd3

Browse files
MrBr-githubgalnoam
authored andcommitted
[CI] issue: HPCINFRA-3592 Add document generation and validation
Make sure that documentation auto generation wasn't impacted by PR changes Create documentation testing procedure Issue: HPCINFRA-3592 Signed-off-by: Michael Braverman <[email protected]>
1 parent ca00d1a commit e398cd3

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.ci/matrix_job.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,15 @@ runs_on_dockers:
162162
build_args: '--no-cache --target unit-test',
163163
category: 'tool',
164164
}
165+
- {
166+
file: '.ci/dockerfiles/Dockerfile.ubuntu22.04',
167+
arch: 'x86_64',
168+
name: 'documentation_test',
169+
uri: 'xlio/$arch/ubuntu22.04/$name',
170+
tag: '20250219',
171+
category: 'tool',
172+
build_args: '--no-cache --target build',
173+
}
165174

166175
runs_on_agents:
167176
- {nodeLabel: 'beni09', category: 'base'}
@@ -485,6 +494,16 @@ steps:
485494
archiveArtifacts: 'logs/'
486495
credentialsId: 'blackduck_api_token'
487496

497+
- name: Documentation Test
498+
enable: ${do_documentation_test}
499+
containerSelector:
500+
- "{name: 'documentation_test'}"
501+
agentSelector:
502+
- "{nodeLabel: 'skip-agent'}"
503+
run: |
504+
python3 generate_docs.py
505+
python3 src/core/config/generate_mappings.py
506+
488507
pipeline_start:
489508
run: |
490509
printenv

.ci/opensource_jjb.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@
9393
name: "do_valgrind"
9494
default: true
9595
description: "Use valgrind."
96+
- bool:
97+
name: "do_documentation_test"
98+
default: true
99+
description: "Execute documentation tests."
96100
- bool:
97101
name: "do_commit"
98102
default: true

0 commit comments

Comments
 (0)