Skip to content

Commit 41293d2

Browse files
authored
Merge pull request #84989 from aireilly/prow-test-2
Resetting prow-test-2 to main
2 parents 20edddd + 35bfbe4 commit 41293d2

File tree

6,190 files changed

+204560
-76668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,190 files changed

+204560
-76668
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"image":"mcr.microsoft.com/devcontainers/universal:2",
3-
"postCreateCommand": "sleep 30 && docker run --rm -it -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder sh -c \"git config --global --add safe.directory /docs && asciibinder build --distro openshift-rosa && asciibinder build --distro openshift-enterprise\" && python3 -m http.server -d ./_preview",
3+
"postCreateCommand": "sleep 60 && docker run --rm -it -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder sh -c \"git config --global --add safe.directory /docs && asciibinder build --distro openshift-rosa && asciibinder build --distro openshift-enterprise\" && python3 -m http.server -d ./_preview",
44
"customizations": {
55
"vscode": {
66
"settings": {

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@abhatt-rh @abrennan89 @adellape @aireilly @apinnick @bburt-rh @bergerhoffer @bscott-rh @gabriel-rh @jab-rh @jeana-redhat @JoeAldinger @kalexand-rh @kcarmichael08 @kelbrown20 @michaelryanpeter @mjpytlak @opayne1 @ousleyp @rolfedh @sjhala-ccs @snarayan-redhat @Srivaralakshmi
1+
@abhatt-rh @abrennan89 @adellape @aireilly @bergerhoffer @bscott-rh @gabriel-rh @jab-rh @jeana-redhat @JoeAldinger @kalexand-rh @kcarmichael08 @michaelryanpeter @opayne1 @ousleyp @sjhala-ccs @snarayan-redhat @Srivaralakshmi

.github/pull_request_template.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!--- PR title format: [GH#<gh-issue-id>][BZ#<bz-issue-id>][OCPBUGS#<jira-issue-id>][OSDOCS#<jira-issue-id>]: <short-description-of-the-pr> --->
22

33
<!--- If your changes apply to the latest release and/or in-development version of OpenShift, open your PR against the `main` branch.
4+
Do not create or rename a top-level directory (or any subdirectory in a directory that contains a hugebook.flag file) in the repository and topic map without checking with a docs program manager first.
5+
If a book is being created or modified, there are changes on the Customer Portal that must also be made.
46
57
* For more details about the information requested in this template, see:
68
https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/create_or_edit_content.adoc#submit-PR --->

.s2i/httpd-cfg/01-commercial.conf

Lines changed: 181 additions & 66 deletions
Large diffs are not rendered by default.

.s2i/httpd-cfg/01-community.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,20 +159,20 @@ AddType text/vtt vtt
159159
RewriteRule ^latest/install_config/upgrades\.html(.*)$ /latest/install_config/upgrading/index.html$1 [NE,R=301]
160160
RewriteRule ^latest/install_config/upgrading/(.*)$ /latest/upgrading/$1 [NE,R=301]
161161

162-
# The following rule prevents an infinite redirect loop when browsing to /(latest|4\.14)/virt/about_virt/about-virt.html
163-
# RewriteRule ^(latest|4\.14)/virt/about_virt/about-virt.html$ - [L]
162+
# The following rule prevents an infinite redirect loop when browsing to /(latest|4\.16)/virt/about_virt/about-virt.html
163+
# RewriteRule ^(latest|4\.17)/virt/about_virt/about-virt.html$ - [L]
164164

165165
# OpenShift Virtualization (CNV) catchall redirect; use when CNV releases asynchronously from OCP. Do not change the 302 to a 301.
166166
# When uncommented, this redirects all `virt` directory traffic to the about-virt page.
167167
# Pay mind to the redirect directly above this which prevents redirect loops.
168168
# To activate the redirects, uncomment the next and previous lines and update the version number to the pending release.
169-
# RewriteRule ^(latest|4\.14)/virt/(?!about-virt\.html)(.+)$ /$1/virt/about_virt/about-virt.html [NE,R=302]
169+
# RewriteRule ^(latest|4\.17)/virt/(?!about-virt\.html)(.+)$ /$1/virt/about_virt/about-virt.html [NE,R=302]
170170

171171
# Red Hat OpenShift support for Windows Containers (WMCO) catchall redirect; use when WMCO releases asynchronously from OCP. Do not change the 302 to a 301.
172172
# When uncommented, this redirects all `windows_containers` directory traffic to the /windows_containers/index.html page.
173173
# To activate the redirects, uncomment the next line and update the version number to the pending release.
174-
# RewriteRule ^(latest|4\.14)/windows_containers/(?!index\.html)(.+)$ /$1/windows_containers/index.html [NE,R=302]
175-
# RewriteRule ^(latest|4\.14)/support/troubleshooting/troubleshooting-windows-container-workload-issues\.html(.*)$ /$1/windows_containers/index.html [NE,R=302]
174+
# RewriteRule ^(latest|4\.15)/windows_containers/(?!index\.html)(.+)$ /$1/windows_containers/index.html [NE,R=302]
175+
# RewriteRule ^(latest|4\.15)/support/troubleshooting/troubleshooting-windows-container-workload-issues\.html(.*)$ /$1/windows_containers/index.html [NE,R=302]
176176

177177
</Directory>
178178
</IfModule>

.vale.ini

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ Vocab = OpenShiftDocs
1010
[[!.]*.adoc]
1111
BasedOnStyles = RedHat, AsciiDoc, OpenShiftAsciiDoc
1212

13-
# Optional: pass doc attributes to asciidoctor before linting
14-
#[asciidoctor]
15-
#openshift-enterprise = YES
16-
1713
# Disabling rules (NO)
1814
RedHat.ReleaseNotes = NO
1915

@@ -27,3 +23,10 @@ OpenShiftAsciiDoc.NoNestingInModules = NO
2723
OpenShiftAsciiDoc.NoXrefInModules = NO
2824
OpenShiftAsciiDoc.IdHasContextVariable = NO
2925
OpenShiftAsciiDoc.NoTocInModules = NO
26+
27+
# Optional: pass doc attributes to asciidoctor before linting
28+
# Temp values are used for Prow CI comment linting only
29+
[asciidoctor]
30+
temp-ifdef = YES
31+
temp-ifndef = NO
32+
temp-ifeval = temp
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Regex terms added to accept.txt are ignored by the Vale linter and override RedHat Vale rules.
22
# Add terms that have a corresponding incorrectly capitalized form to reject.txt.
3-
# URL slugs
4-
(.*/)+
5-
(?<!.*-)operator
63
[Ff]ronthaul
4+
[Mm][Bb]ps
75
[Mm]idhaul
6+
[Oo]n-premise
87
[Pp]assthrough
98
[Pp]ostinstall
109
[Pp]recaching
1110
[Pp]reinstall
1211
[Rr]ealtime
1312
[Tt]elco
13+
[Uu]npause
1414
Assisted Installer
1515
Control Plane Machine Set Operator
1616
custom resources?
@@ -20,13 +20,11 @@ gpspipe
2020
hyperthreads?
2121
KPIs?
2222
linuxptp
23-
Mbps
24-
MBps
2523
Mellanox
2624
MetalLB
2725
NICs?
28-
Operators?
2926
pmc
3027
ubxtool
28+
vDUs?
3129
VFs?
3230
Westport

.vale/styles/config/vocabularies/OpenShiftDocs/reject.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Regex terms added to reject.txt are highlighted as errors by the Vale linter and override RedHat Vale rules.
22
# Add terms that have a corresponding correctly capitalized form to accept.txt.
33

4-
(?<!.*-)operators
54
[Dd]eployment [Cc]onfigs?
65
[Dd]eployment [Cc]onfigurations?
76
[Oo]peratorize

.vale/templates/bot-comment-output.tmpl

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,42 @@
77
{{- $s := 0 -}}
88

99
{{- /* Range over the linted files */ -}}
10-
1110
[
1211
{{- range $jdx, $file := .Files -}}
13-
14-
{{- $path := .Path -}}
15-
16-
{{- /* Range over the file's alerts */ -}}
17-
18-
{{- if $jdx -}},{{- end -}}
19-
{{- range $idx, $a := .Alerts -}}
20-
21-
{{- $error := "" -}}
22-
{{- if eq .Severity "error" -}}
23-
{{- $error = "error" -}}
24-
{{- $e = add1 $e -}}
25-
{{- else if eq .Severity "warning" -}}
26-
{{- $error = "warning" -}}
27-
{{- $w = add1 $w -}}
28-
{{- else -}}
29-
{{- $error = "suggestion" -}}
30-
{{- $s = add1 $s -}}
31-
{{- end}}
32-
33-
{{- /* Variables setup */ -}}
34-
35-
{{- $loc := printf "%d" .Line -}}
36-
{{- $check := printf "%s" .Check -}}
37-
{{- $message := printf "%s" .Message -}}
38-
{{- if $idx -}},{{- end -}}
39-
40-
{{- /* Output */ -}}
41-
42-
{
43-
"body": "🤖 **[{{ $error }}] {{$check}}**: {{ $message }}",
44-
"path": "{{ $path }}",
45-
"line": {{ $loc }}
46-
}
47-
{{end -}}
12+
{{- $path := .Path -}}
13+
{{- /* Range over the file's alerts */ -}}
14+
{{- if $jdx -}},{{- end -}}
15+
{{- range $idx, $a := .Alerts -}}
16+
17+
{{- $error := "" -}}
18+
{{- if eq .Severity "error" -}}
19+
{{- $error = "error" -}}
20+
{{- $e = add1 $e -}}
21+
{{- else if eq .Severity "warning" -}}
22+
{{- $error = "warning" -}}
23+
{{- $w = add1 $w -}}
24+
{{- else -}}
25+
{{- $error = "suggestion" -}}
26+
{{- $s = add1 $s -}}
27+
{{- end}}
28+
29+
{{- /* Variables setup */ -}}
30+
{{- $loc := printf "%d" .Line -}}
31+
{{- $check := printf "%s" .Check -}}
32+
{{- $message := printf "%s" .Message -}}
33+
{{- /* Only add a link for RedHat rule errors */ -}}
34+
{{- $link := "" -}}
35+
{{- if contains "RedHat." .Check -}}
36+
{{- $link = printf "For more information, see [%s](https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/%s)." .Check (lower (trimPrefix "RedHat." .Check)) -}}
37+
{{- end -}}
38+
{{- if $idx -}},{{- end -}}
39+
40+
{{- /* Output */ -}}
41+
{
42+
"body": "🤖 **[{{ $error }}] {{$check}}**: {{ $message }} {{ $link }}",
43+
"path": "{{ $path }}",
44+
"line": {{ $loc }}
45+
}
46+
{{end -}}
4847
{{end -}}
4948
]

404-commercial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ <h1>Not found</h1>
167167
<div class="container">
168168
<div class="row">
169169
<div class="col-sm-2">
170-
<img src="https://assets.openshift.com/hubfs/images/logos/Logo-RedHat-A-Reverse-RGB.svg" class="img-fluid" alt="Red Hat" style="height: 30px;">
170+
<img src="https://assets.openshift.net/content/img/Logo-Red_Hat-OpenShift-A-Reverse-RGB.svg" class="img-fluid" alt="Red Hat" style="height: 30px;">
171171
</div>
172172

173173
<div class="col-sm-3">

0 commit comments

Comments
 (0)