Skip to content

Commit b3429b0

Browse files
authored
Merge branch 'main' into report-yaml-error-properly-as-comment
2 parents aea95cd + 4068954 commit b3429b0

36 files changed

+302
-90
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
repo: chmouel/gosmee
8686

8787
- name: Install Snazy
88-
uses: jaxxstorm/action-install-gh-release@v2.0.0
88+
uses: jaxxstorm/action-install-gh-release@v2.1.0
8989
with:
9090
repo: chmouel/snazy
9191

.tekton/generate-coverage-release.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
resolver: http
4747
params:
4848
- name: url
49-
value: https://raw.githubusercontent.com/openshift-pipelines/tekton-caches/main/tekton/cache-fetch.yaml
49+
value: https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/refs/heads/main/.tekton/tasks/cache-fetch.yaml
5050
params:
5151
- name: patterns
5252
value: ["**go.mod", "**go.sum"]
@@ -122,6 +122,25 @@ spec:
122122
git push --force https://git:$HUB_TOKEN@github.com/{{ repo_owner }}/{{ repo_name }}/ nightly:nightly
123123
set -x
124124
git checkout -
125+
- name: cache-upload
126+
ref:
127+
resolver: http
128+
params:
129+
- name: url
130+
value: https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/refs/heads/main/.tekton/tasks/cache-upload.yaml
131+
params:
132+
- name: patterns
133+
value: ["**go.mod", "**go.sum"]
134+
- name: target
135+
value: oci://image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/cache-go:{{hash}}
136+
- name: fetched
137+
value: $(tasks.cached-fetch.results.fetched)
138+
- name: cachePath
139+
value: $(workspaces.source.path)/go-build-cache
140+
- name: workingdir
141+
value: $(workspaces.source.path)
142+
- name: force-cache-upload
143+
value: "false"
125144
workspaces:
126145
- name: source
127146
finally:

.vale/styles/RedHat/CaseSensitiveTerms.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
extends: substitution
33
ignorecase: false
4-
level: error
4+
level: warning
55
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/casesensitiveterms/
66
message: "Use '%s' rather than '%s'."
77
action:
@@ -177,7 +177,7 @@ swap:
177177
knowledgebase: Knowledgebase
178178
ksession|knowledge session: KIE session
179179
Kubelet(?! Stats Receiver): kubelet
180-
kubernetes|k8s: Kubernetes
180+
kubernetes: Kubernetes
181181
kvm: KVM
182182
Lan|lan: LAN
183183
Librados|LIBRADOS: librados

.vale/styles/RedHat/GitLinks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ extends: existence
33
message: Do not include a link to %s unless it is explicitly approved.
44
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/gitlinks/
55
ignorecase: true
6+
nonword: true
67
level: warning
78
scope: raw
89
action:
910
name: remove
1011
tokens:
11-
- 'https:\/\/gitlab\.com'
12+
- 'https:\/\/gitlab\.com\/\w+'
1213
- 'https:\/\/github\.com(?!\/openshift|\/redhat-developer)'
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
extends: substitution
2+
extends: existence
33
level: warning
44
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/headingpunctuation/
55
message: "Do not use end punctuation in headings."
66
nonword: true
77
scope: heading
88
action:
9-
name: replace
10-
swap:
11-
'[.?!]$': ''
9+
name: remove
10+
tokens:
11+
- '[.?!]$'

.vale/styles/RedHat/Hyphens.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@ action:
88
name: replace
99
# swap maps tokens in the form "bad: good"
1010
swap:
11-
"(?<!.-)addon": add-on
11+
'(?<!.-)addon\b': add-on
12+
"(?<!.-)addons": add-ons
1213
"broad cast|broad-cast": broadcast
13-
"call out|call-out": callout
14+
'call out\b|call-out\b': callout
15+
"call outs|call-outs": callouts
1416
"comma delimited|commadelimited": comma-delimited
1517
"command driven|commanddriven": command-driven
1618
"meta-data|meta data": metadata
1719
"open-source|OpenSource|opensource": open source
1820
"over-ride|over ride": override
1921
"plug-ins|plug ins": plugins
20-
"plug-in|plug in": plugin
22+
'plug-in\b|plug in\b': plugin
2123
"super-user|super user": superuser
2224
"timeframe|time-frame": time frame
2325
"up-grade|up grade": upgrade

.vale/styles/RedHat/SimpleWords.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ message: "Use simple language. Consider using '%s' rather than '%s'."
77
action:
88
name: replace
99
swap:
10-
"(?<!an |the |IP |IPv[46] |MAC |sub-)address": discuss
1110
"approximate(?:ly)?": about
1211
"objective(?! C?)": aim|goal
1312
absent: none|not here

.vale/styles/RedHat/Spelling.yml

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@ filters:
2222
- "[bB]indable"
2323
- "[bB]oolean"
2424
- "[bB]ootable"
25-
- "[bB]reakpoint"
26-
- "[bB]reakpoints"
27-
- "[cC]he"
25+
- "[bB]reakpoint(s)?"
26+
- '\b[cC]he\b'
2827
- "[cC]hrony"
2928
- "[cC]lassloading"
3029
- "[cC]lasspath"
3130
- "[cC]olocate"
3231
- "[cC]olocation"
33-
- "[cC]onfig"
32+
- '\b[cC]onfig\b'
3433
- "[cC]ontainerd"
3534
- "[cC]orequisite"
3635
- "[cC]ustomizer"
@@ -42,11 +41,9 @@ filters:
4241
- "[dD]ecompiler"
4342
- "[dD]efragmentation"
4443
- "[dD]eserialization"
45-
- "[dD]eserialize"
46-
- "[dD]eserialized"
47-
- "[dD]esynchronize"
48-
- "[dD]esynchronized"
49-
- "[dD]ev"
44+
- "[dD]eserialize(d)?"
45+
- "[dD]esynchronize(d)?"
46+
- '\b[dD]ev\b'
5047
- "[dD]ev[wW]orkspace"
5148
- "[dD]evfile"
5249
- "[dD]istro"
@@ -61,7 +58,7 @@ filters:
6158
- "[fF]indability"
6259
- "[gG]bps"
6360
- "[gG]ibibyte"
64-
- "[gG]it"
61+
- '\b[gG]it\b'
6562
- "[gG]lock"
6663
- "[gG]radle"
6764
- "[gG]rafana"
@@ -75,7 +72,7 @@ filters:
7572
- "[iI]ntrarecord"
7673
- "[iI]ntrasystem"
7774
- "[iI]nvocable"
78-
- "[iI]tem"
75+
- '\b[iI]tem\b'
7976
- "[jJ]et[bB]rains"
8077
- "[jJ]ournald"
8178
- "[jJ]ournaling"
@@ -143,7 +140,7 @@ filters:
143140
- "[pP]ostoperation"
144141
- "[pP]ostrequisite"
145142
- "[pP]recompile"
146-
- "[pP]reconfigured"
143+
- "[pP]reconfigure(d)?"
147144
- "[pP]reenrollment"
148145
- "[pP]reformatted"
149146
- "[pP]regenerated"
@@ -197,25 +194,17 @@ filters:
197194
- "[sS]ervlet"
198195
- "[sS]etter"
199196
- "[sS]harding"
200-
- "[Ss]u"
201-
- "[sS]ubcommand"
202-
- "[sS]ubcommands"
203-
- "[sS]ubmenu"
204-
- "[sS]ubmenus"
205-
- "[sS]ubnetwork"
206-
- "[sS]ubnetworks"
207-
- "[sS]ubpackage"
208-
- "[sS]ubpackages"
209-
- "[sS]ubpath"
210-
- "[sS]ubpaths"
211-
- "[sS]ubstep"
212-
- "[sS]ubsteps"
213-
- "[sS]ubtest"
214-
- "[sS]ubtests"
215-
- "[sS]ubuser"
216-
- "[sS]ubusers"
217-
- "[sS]ubvolume"
218-
- "[sS]ubvolumes"
197+
- '\b[Ss]u\b'
198+
- "[sS]ubcommand(s)?"
199+
- "[sS]ubmenu(s)?"
200+
- "[sS]ubnet(s)?"
201+
- "[sS]ubnetwork(s)?"
202+
- "[sS]ubpackage(s)?"
203+
- "[sS]ubpath(s)?"
204+
- "[sS]ubstep(s)?"
205+
- "[sS]ubtest(s)?"
206+
- "[sS]ubuser(s)?"
207+
- "[sS]ubvolume(s)?"
219208
- "[sS]ysctl"
220209
- "[sS]yslog"
221210
- "[sS]ystemd"
@@ -254,6 +243,7 @@ filters:
254243
- Applixware
255244
- Asciidoctor
256245
- AssertJ
246+
- autoconfigure
257247
- autolink
258248
- aws
259249
- AWS
@@ -406,6 +396,7 @@ filters:
406396
- Mirantis
407397
- Mockito
408398
- MongoDB
399+
- multischema
409400
- MySQL
410401
- Nagios
411402
- Narayana
@@ -443,8 +434,10 @@ filters:
443434
- Podman
444435
- PostgreSQL
445436
- PowerShell
437+
- precache
446438
- Prometheus
447439
- proxied
440+
- PVCs
448441
- Pytorch
449442
- qdmanage
450443
- qdstat
@@ -479,6 +472,10 @@ filters:
479472
- startx
480473
- STMicroelectronics
481474
- Stratis
475+
- subaddress
476+
- subcapacity
477+
- subtab
478+
- superobject
482479
- Suchow
483480
- SVG
484481
- Symfony

.vale/styles/RedHat/TermsErrors.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ swap:
1212
"(?<!-)pm": PM
1313
"(?<!-|I )am": AM
1414
"(?<!.)io": I/O
15-
"(?<!as well )as per": according to|as|as in
15+
'(?<!as well )\bas per\b': according to|as|as in
1616
"(?<!kernel )oops": kernel oops
1717
"(?<!mobile |cell )phone": "telephone|cell phone|mobile phone"
1818
"(?<!Mozilla )Firefox": Mozilla Firefox
1919
"(?<!Mozilla )Thunderbird": Mozilla Thunderbird
2020
"(?<!pseudo-)ops": operations
2121
"(?<!self-)hosted engine|hosted-engine": self-hosted engine
22-
"bare metal( clusters?| compute| configuration| controls?| environments?| equipment| events?| hardware| hosts?| infrastructure| installations?| installers?| instances?| machines?| media| nodes?| provisioning| servers?| workers?)": bare-metal$1
22+
"bare metal( clusters?| compute| configuration| controls?| environments?| equipment| events?| hardware| hosts?| infrastructure| installations?| installers?| instances?| machines?| media| nodes?| provisioning| servers?| workers?| networks?)": bare-metal$1
2323
"bare-metal(?! clusters?| compute| configuration| controls?| environments?| equipment| events?| hardware| hosts?| infrastructure| installations?| installers?| instances?| machines?| media| nodes?| provisioning| servers?| workers?)": bare metal
2424
"[bB]asic [aA]uth": Basic HTTP authentication|Basic authentication
2525
"a lot(?: of)?": many|much
@@ -103,7 +103,7 @@ swap:
103103
catastrophic error: unrecoverable error
104104
CBE: Common Base Event
105105
CBTS: CICS BTS|BTS
106-
CD burner|burner: CD writer
106+
CD burner|(?<!kube-)burner: CD writer
107107
centre: center
108108
check box: checkbox
109109
check list: checklist

.vale/styles/RedHat/TermsSuggestions.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ action:
99
name: replace
1010
swap:
1111
"(?<!, | in | on | at | to | for | from | of | with | without | against )which": "that|, which"
12-
", that": "that|, which"
1312
"(?<!.-)jar": compress|archive
13+
", that": "that|, which"
1414
"[Nn]avigate": click|select|browse|go to
1515
"bottom(?:-)?left": lower left|lower-left
1616
"bottom(?:-)?right": lower right|lower-right
1717
"shell(?! prompt| script)": shell prompt
1818
"x64|x86-64|(?<!64-bit )x86": 64-bit x86|x86_64
19+
'(?<!-)\bk8s\b(?!-)': Kubernetes
1920
'(?<!.*-|program )operator': Operator
2021
'(?<!.*-|program )operators': Operators
2122
'(?<![\.\-])(?:zip|gzip|tar)(?! file| archive)': compress
@@ -42,8 +43,8 @@ swap:
4243
information on: information about
4344
launch: start|open
4445
legacy: existing|traditional|established|classic|earlier|previous
45-
once: after|when
4646
on-premise: on-site|in-house
47+
once: after|when
4748
refer to: see
4849
segfault: segmentation fault
4950
spawn: create

0 commit comments

Comments
 (0)