Skip to content

Commit 6ff2301

Browse files
authored
Merge pull request #74633 from aireilly/update-prow-gen-docs
Tweaking Prow docs and template yaml
2 parents 1190ec4 + 208863a commit 6ff2301

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

scripts/prow/README.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,15 @@ When you add a new enterprise branch, remember to remove `openshift-rosa` and `o
3333
3434
For example, when the current version is 4.15, and you create a enterprise-4.16 branch, remove `openshift-rosa` and `openshift-osd` distros from the enterprise-4.15 branch build.
3535
====
36+
+
37+
[NOTE]
38+
====
39+
You can optionally add an `openshift-docs-vale-review` test step to the `validate-asciidoc` job.
40+
For example, review the `validate-asciidoc` test steps: link:https://github.com/openshift/release/blob/master/ci-operator/config/openshift/openshift-docs/openshift-openshift-docs-main.yaml[openshift-openshift-docs-main.yaml].
41+
This test step adds a Vale linting run on open PRs.
42+
====
3643
37-
. Change to the `$HOME/release` directory and verify that the new build config has been added. For example:
44+
. Change to the `$HOME/release` directory and verify that the new build config has been added.
3845
+
3946
[source,text]
4047
----

scripts/prow/openshift-openshift-docs-BRANCH.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ tests:
2121
- ref: openshift-docs-build-docs
2222
- ref: openshift-docs-preview-comment-pages
2323
- as: validate-asciidoc
24+
steps:
25+
test:
26+
- ref: openshift-docs-asciidoctor
27+
- ref: openshift-docs-lint-topicmaps
28+
- as: validate-portal
2429
steps:
2530
env:
2631
BUILD: build_for_portal.py
2732
DISTROS: ${DISTROS}
2833
VERSION: "${VERSION}"
2934
test:
30-
- ref: openshift-docs-asciidoctor
31-
- ref: openshift-docs-lint-topicmaps
3235
- ref: openshift-docs-portal
3336
zz_generated_metadata:
3437
branch: ${BRANCH}
3538
org: openshift
36-
repo: openshift-docs
39+
repo: openshift-docs

0 commit comments

Comments
 (0)