Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
e5f1fa6
Add option for blunderbuss to wait for tide status before requesting …
dobesv Dec 18, 2024
16874ce
Add test case for pull request event not adding reviews if WaitForSta…
dobesv Dec 18, 2024
35d8819
Fix test
dobesv Dec 19, 2024
8711ec6
Respect newline in command examples in command-help
VannTen Dec 17, 2024
c4b7a2d
Remove trailing period on default pattern
dobesv Jan 3, 2025
590a822
Allow status to end in a period or not
dobesv Jan 3, 2025
71eb2c7
Use FindIssuesWithOrg so it can work in a github app context
dobesv Jan 3, 2025
d987862
Apply IgnoreDrafts and IgnoreAuthors for status check
dobesv Jan 17, 2025
49ae796
Don't add more reviewers if there are some already, in response to st…
dobesv Jan 22, 2025
463455a
Config to automatically Re-trigger failed periodics
jmguzik Jan 14, 2025
269d4b2
Revert "(spyglass/lenses) allow configuration sandbox permissions"
petr-muller Feb 4, 2025
f982ac3
Merge pull request #358 from jmguzik/re-trigger
k8s-ci-robot Feb 4, 2025
e871edf
Merge pull request #371 from kubernetes-sigs/revert-296-norrs/spyglas…
k8s-ci-robot Feb 5, 2025
ee8a9b7
`go get golang.org/x/lint`
petr-muller Feb 9, 2025
771d773
`go get golang.org/x/net`
petr-muller Feb 9, 2025
1958b1e
`go get golang.org/x/oauth2`
petr-muller Feb 9, 2025
f22a63b
`go get golang.org/x/text`
petr-muller Feb 9, 2025
07453f5
`go get golang.org/x/time`
petr-muller Feb 9, 2025
4c5495a
`go get golang.org/x/exp`
petr-muller Feb 9, 2025
cb5ec9b
`go get golang.org/x/mod`
petr-muller Feb 9, 2025
731a806
`go get golang.org/x/sys`
petr-muller Feb 9, 2025
b0210a8
`go get golang.org/x/term`
petr-muller Feb 9, 2025
c47cba3
`go get golang.org/x/xerrors`
petr-muller Feb 9, 2025
3aaeff7
`go mod tidy`
petr-muller Feb 9, 2025
8531f88
Merge pull request #375 from petr-muller/bump-golang-x-20250209
k8s-ci-robot Feb 9, 2025
47924da
Handle empty alias group case
nikhilnishad-goog Feb 3, 2025
3422246
Add yet another test case, fix indentation.
nikhilnishad-goog Feb 13, 2025
ba7428b
Change behaviour of RunAll strategy in horologium
jmguzik Feb 14, 2025
6660cbb
Merge pull request #377 from jmguzik/change_rerun
k8s-ci-robot Feb 14, 2025
9af35b7
Merge pull request #368 from nikhilnishad-goog/nikhilnishad-handle-em…
k8s-ci-robot Feb 16, 2025
15dd4c2
Add `Configured Jobs Dashboard` to `deck` (#372)
smg247 Feb 18, 2025
cde9fdb
Revert "Handle empty alias group case"
petr-muller Feb 18, 2025
e8fa16f
Merge pull request #381 from kubernetes-sigs/revert-368-nikhilnishad-…
k8s-ci-robot Feb 19, 2025
35092a1
Do not suggest author when require_self_approve is true.
nikhilnishad-goog Feb 19, 2025
1f84858
ignore error from poll command itself, it leads to flakes due to a pe…
smg247 Feb 19, 2025
208f50f
Merge pull request #383 from smg247/integration-timeout
k8s-ci-robot Feb 24, 2025
f2ddccf
fix the error shadowing
smg247 Feb 24, 2025
3557433
Merge pull request #385 from smg247/integration-timeout
k8s-ci-robot Feb 24, 2025
8526613
PR comment for empty aliases, handle other cases.
nikhilnishad-goog Mar 4, 2025
0e909e3
`sinker` integration test: always wait 1 minute to check for pod dele…
smg247 Mar 4, 2025
7a867cd
Merge pull request #382 from nikhilnishad-goog/donot-suggest-author
k8s-ci-robot Mar 7, 2025
58205e5
Updated OWNERS labels
hector-vido Mar 11, 2025
a3626d1
Merge pull request #395 from hector-vido/update-owners-labels
k8s-ci-robot Mar 13, 2025
bb46d59
Merge pull request #349 from dobesv/blunderbuss-status-check
k8s-ci-robot Mar 18, 2025
bead646
Fix WaitForStatus comment to use the correct field name
dobesv Mar 19, 2025
bb6b00b
Using material design for other tables as well
hector-vido Feb 17, 2025
0bcab35
eliminate unused node_module caching attempt
BenTheElder Mar 21, 2025
1fc286f
Merge pull request #402 from BenTheElder/no-node-cache
k8s-ci-robot Mar 21, 2025
e944fc3
ci: remove python dep installation
petr-muller Mar 22, 2025
637ac3c
hack: bump Python container to 3.13
petr-muller Mar 22, 2025
bd1cc6f
Merge pull request #398 from dobesv/wait-for-config-typo-fixup
k8s-ci-robot Mar 22, 2025
052f3cc
Merge pull request #403 from petr-muller/remove-python-deps
k8s-ci-robot Mar 22, 2025
20977e6
deps: bump github.com/go-git/go-git/v5
petr-muller Mar 23, 2025
225869a
Merge pull request #405 from petr-muller/bump-tools-deps
k8s-ci-robot Mar 24, 2025
5375d3c
Add more job information to GetJobExecution.
LiangquanLi930 Mar 23, 2025
0663562
Merge pull request #407 from LiangquanLi930/include_details
k8s-ci-robot Mar 26, 2025
7bcbc51
deps(hack/tools): bump github.com/golang-jwt/jwt/v4
petr-muller Mar 27, 2025
fbd4ed4
deps(hack/tools): bump gopkg.in/go-jose/go-jose.v2
petr-muller Mar 27, 2025
29565d0
deps(hack/tools): remove github.com/sethvargo/gcs-cacher
petr-muller Mar 27, 2025
15898a0
deps(hack/tools): bump golang.org/x/net
petr-muller Mar 27, 2025
bc9e8d6
deps(hack/tools): bump github.com/docker/docker to v27
petr-muller Mar 27, 2025
911307a
deps(hack/tools): `go mod tidy`
petr-muller Mar 27, 2025
f21b03b
Merge pull request #411 from petr-muller/2025-03-24-bump-golang-jwt
k8s-ci-robot Mar 28, 2025
e1e3a8d
Add simple test for GetFailedActionRunsByHeadBranch
lentzi90 Apr 7, 2025
db2d168
Support retriggering complex workflows
lentzi90 Apr 9, 2025
b8e0bd8
Merge pull request #416 from Nordix/lentzi90/gh-multi-job-workflows
k8s-ci-robot Apr 10, 2025
53ab931
Merge pull request #379 from hector-vido/material-other-tables
k8s-ci-robot Apr 12, 2025
b617d5c
Fix issue with help, triggered by code block
nunnatsa Apr 16, 2025
9ba98b9
Merge pull request #432 from nunnatsa/fix-431
k8s-ci-robot Apr 18, 2025
da30dc3
Consolidate revival logic in case pod is in an unknown, evicted or un…
inteon Mar 28, 2025
d4ccd14
rename RevivalCount to PodRevivalCount
inteon Apr 18, 2025
5699642
Merge pull request #412 from inteon/consolidate_revival_logic
k8s-ci-robot Apr 21, 2025
4af2934
Update google.golang.org/grpc to v1.72.0
maboehm Apr 22, 2025
d79ce70
Merge pull request #434 from maboehm/update-grpc
k8s-ci-robot Apr 22, 2025
6a541f2
Update code comment on presubmit filter behavior
wuhuizuo Apr 22, 2025
30713f3
Merge pull request #435 from ti-community-infra/fix/update-comments
k8s-ci-robot Apr 22, 2025
28ed196
Only set Authorization header if not already set
bradmwilliams Apr 24, 2025
fcccd15
Merge pull request #437 from bradmwilliams/jira-bearerAuthRoundtrippe…
k8s-ci-robot Apr 25, 2025
0518df3
chore: migrate code from forked `test-infra` repo
wuhuizuo Jun 24, 2024
3d71882
fix(pkg/plugin/approve/approvers): make approval warning conditional …
wuhuizuo Apr 28, 2025
6491260
fix(pkg/github): skip skipped workflow runs when collecting failed runs
wuhuizuo Apr 28, 2025
a66cd93
chore(pkg/github): address issues about slices usage
wuhuizuo Apr 29, 2025
2b1952e
Adding the ability to specify a custom backoff
bradmwilliams Apr 29, 2025
e4f2577
Merge pull request #441 from bradmwilliams/jira-custom-backoff
k8s-ci-robot Apr 30, 2025
fb97676
Properly set default values
bradmwilliams Apr 30, 2025
f422de9
Merge pull request #442 from bradmwilliams/jira-client-fix
k8s-ci-robot Apr 30, 2025
16eb683
Properly set defaults for jira rate limiting
bradmwilliams May 1, 2025
33f42d1
Merge pull request #443 from bradmwilliams/jira-default-values-fix
k8s-ci-robot May 2, 2025
dd25984
Bump golang.org/x/net from 0.37.0 to 0.38.0
dependabot[bot] May 2, 2025
82edef6
Bump github.com/gorilla/csrf from 1.6.2 to 1.7.3
dependabot[bot] May 2, 2025
bf63fac
Bump github.com/hashicorp/go-retryablehttp from 0.7.6 to 0.7.7
dependabot[bot] May 2, 2025
ebf1a41
Bump rollup from 2.77.2 to 2.79.2
dependabot[bot] May 2, 2025
9f124b8
Merge pull request #440 from ti-community-infra/fix/treat-skipped-act…
k8s-ci-robot May 2, 2025
3599348
Merge pull request #444 from kubernetes-sigs/dependabot/go_modules/go…
k8s-ci-robot May 2, 2025
b648f6c
Merge pull request #445 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot May 2, 2025
f1e42fd
Merge pull request #446 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot May 2, 2025
c9f6f97
Bump github.com/sigstore/cosign/v2 from 2.2.0 to 2.2.4 in /hack/tools
dependabot[bot] May 2, 2025
5046b34
checkconfig: fix checking separate config hierarchies
petr-muller May 3, 2025
7b78b76
Merge pull request #447 from kubernetes-sigs/dependabot/npm_and_yarn/…
k8s-ci-robot May 3, 2025
d852aab
Merge pull request #448 from kubernetes-sigs/dependabot/go_modules/ha…
k8s-ci-robot May 3, 2025
555102b
Merge pull request #449 from petr-muller/fixup-checkconfig-separate-h…
k8s-ci-robot May 5, 2025
a199a6e
Update getting-started-deploy.md
clubanderson May 12, 2025
8cd4af1
Merge pull request #455 from clubanderson/patch-1
k8s-ci-robot May 12, 2025
3d77d2c
Allow reason with /unhold too
stephenfin May 13, 2025
f744292
fix(pkg/plugins/approve): minimize suggested approvers by removing no…
wuhuizuo May 14, 2025
ece58cb
Update pkg/plugins/approve/approvers/owners.go
wuhuizuo May 14, 2025
d0a5c5c
Update pkg/plugins/approve/approvers/owners.go
wuhuizuo May 14, 2025
8016080
Update pkg/plugins/approve/approvers/owners.go
wuhuizuo May 15, 2025
ceae038
Merge pull request #8 from ti-community-infra/fix/suggest-algorithm
wuhuizuo May 15, 2025
f2ddddd
feat(github): add methods for approving and listing pending workflow …
purelind May 15, 2025
75c1d33
refactor(github): rename and update methods for pending workflow appr…
purelind May 15, 2025
dbdc018
test(github): add unit tests for workflow run approval and retrieval
purelind May 15, 2025
3fd451a
refactor(github): update workflow run approval method to use int for …
purelind May 15, 2025
4174072
fix(github): correct comment block closure in handleGenericComment fu…
purelind May 16, 2025
711d8ac
feat(github): add methods for approving and listing pending workflow …
purelind May 15, 2025
c1729e7
refactor(github): rename and update methods for pending workflow appr…
purelind May 15, 2025
d40522b
test(github): add unit tests for workflow run approval and retrieval
purelind May 15, 2025
b7cbb77
refactor(github): update workflow run approval method to use int for …
purelind May 15, 2025
783f043
fix(github): correct comment block closure in handleGenericComment fu…
purelind May 16, 2025
b9d1a3a
Merge branch 'purelind/support-approve-github-action-run' of github.c…
purelind May 16, 2025
1c5bdd1
refactor(github): update workflow run approval method and remove unus…
purelind May 19, 2025
f7a8c5a
chore(github): remove trailing whitespace in client.go
purelind May 19, 2025
0ccc4df
refactor(github): remove unused method from fake GitHub client
purelind May 19, 2025
2df574a
Merge pull request #9 from purelind/purelind/support-approve-github-a…
wuhuizuo May 19, 2025
e7cc426
fix(generic comment): avoid ok-to-test message on IgnoreOkToTest
dhiller May 19, 2025
8173b70
Merge pull request #465 from dhiller/handle-untrusted-user-and-ignore…
k8s-ci-robot May 22, 2025
9b3f5fa
Merge pull request #456 from stephenfin/unhold-with-description
k8s-ci-robot May 22, 2025
c05e461
feat(trigger): enhance comment handling to trigger GitHub Actions
purelind May 26, 2025
47c62ac
Merge pull request #10 from purelind/purelind/fix-bug-to-ensure-retes…
wuhuizuo May 26, 2025
f2d77b1
secretutil: implement configurable minimum secret length
stbenjam Jun 4, 2025
9ad88fc
Merge pull request #472 from stbenjam/minimum-length
k8s-ci-robot Jun 6, 2025
0115e2b
set tolerations using presets
upodroid Jun 6, 2025
e2a3dbc
Merge pull request #473 from upodroid/tolerations-preset
k8s-ci-robot Jun 6, 2025
29883fe
Update an example to use a job that exists the default branch of test…
shotarok Jun 20, 2025
b804779
refactor(external-plugins/chatgpt): creating PR review comments via
wuhuizuo Jun 23, 2025
a8bc6a7
Upgrade Golang v1.24 (#481)
danilo-gemoli Jun 23, 2025
59a573d
Merge pull request #480 from shotarok/shotarok/update-example-on-doc
k8s-ci-robot Jun 23, 2025
c058f70
fix /retitle race condition
spowelljr Jun 26, 2025
3e50f22
Merge pull request #483 from spowelljr/fixPRTitleRace
k8s-ci-robot Jun 26, 2025
03ea00f
fix: restore hack/tools deps
danilo-gemoli Jun 28, 2025
da63c41
Merge pull request #485 from danilo-gemoli/fix/restore-hack-tools
k8s-ci-robot Jul 3, 2025
b08973d
Bump github.com/docker/docker
dependabot[bot] Jul 3, 2025
db22f0d
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.2
dependabot[bot] Jul 3, 2025
c286249
site: add an OWNERS file to apply area/documentation label
petr-muller Jul 3, 2025
1bfcead
Merge pull request #487 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot Jul 3, 2025
3cf38a5
Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5
dependabot[bot] Jul 3, 2025
9d994e8
Merge pull request #486 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot Jul 4, 2025
6292862
Merge pull request #490 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot Jul 4, 2025
ef29ebb
Merge pull request #489 from petr-muller/add-area-docs-label
k8s-ci-robot Jul 4, 2025
d05a5d7
ci: remove legacy gcr.io/k8s-testimages image registry
ylink-lfs Jul 7, 2025
25b3072
Merge pull request #491 from ylink-lfs/ci/legacy_img_resistry_removal
k8s-ci-robot Jul 7, 2025
087836a
podutils: ensure minimum secret length is wired through to sidecar
stbenjam Jul 9, 2025
d01b8af
Merge pull request #492 from stbenjam/wire-censor-options
k8s-ci-robot Jul 9, 2025
1fbee33
Merge pull request #11 from ti-community-infra/refactor/chatgpt-use-r…
ti-chi-bot Jul 18, 2025
ae48cf5
refactor(pkg/plugins/welcome): add labels `contribution` and
wuhuizuo Jul 18, 2025
3eb01d8
Merge pull request #12 from ti-community-infra/feature/add-contributi…
wuhuizuo Jul 25, 2025
6b110cd
fix(external-plugins/chatgpt): refactor githubClient interface and use
wuhuizuo Aug 2, 2025
ab8ba10
Merge pull request #13 from ti-community-infra/fix/chatgpt-plugin
wuhuizuo Aug 2, 2025
f2c3e15
refactor(external-plugins/cherrypick): add skipFork option and improve
wuhuizuo Aug 2, 2025
87be7a0
ci: add GitHub Actions workflow to publish images on release push
wuhuizuo Aug 2, 2025
22e812e
Remove targetBranch parameter from applyToBranch function
wuhuizuo Aug 2, 2025
5447ef5
Merge pull request #14 from ti-community-infra/refactor/combine-commu…
wuhuizuo Aug 2, 2025
5c303bb
feat(external-plugins/cherry-picker): add skip-fork flag to cherrypic…
wuhuizuo Aug 2, 2025
4e379d5
dump node info in the podinfo.json file
upodroid Aug 3, 2025
aee3e5a
fixexternal-plugins/cherrypicker): load bot repositories only if (#16)
wuhuizuo Aug 4, 2025
f5a95c7
fix(external-plugins/cherrypicker): fix head branch format when skipFork
wuhuizuo Aug 5, 2025
57374e9
fix(external-plugins/cherrypicker): use original PR body in cherrypick
wuhuizuo Aug 5, 2025
4931f2c
Merge pull request #390 from nikhilnishad-goog/fix-verify-owners-yaml…
k8s-ci-robot Aug 5, 2025
3ca0607
cherrypicker: work with private repos
hown3d Aug 5, 2025
6117def
forbiddenError type
hown3d Aug 5, 2025
cac357a
fix head branch for pull request
hown3d Aug 5, 2025
9c9554a
test: fix GetPusher test
hown3d Aug 6, 2025
76dffcd
feat: introduce functional options for git v2 client factory
droslean Aug 7, 2025
b9a6d0e
Merge pull request #507 from droslean/git-client
k8s-ci-robot Aug 8, 2025
3d885f4
Merge pull request #503 from upodroid/dump-node-info
k8s-ci-robot Aug 19, 2025
d9b2c59
Fix to properly merge lists when label is configured at global level
jmguzik Aug 21, 2025
7ab9e45
Merge pull request #510 from jmguzik/merge
k8s-ci-robot Aug 23, 2025
25d79ac
Merge pull request #505 from hown3d/cherrypicker/privaterepos
k8s-ci-robot Aug 23, 2025
2851d23
fix: prevent GitHub token leakage in git command logs
ravisantoshgudimetla Aug 28, 2025
6582ce2
refactor: make RegexpChangeMatcher work cooperatively with RunBeforeM…
Copilot Sep 1, 2025
e249a8b
feat(config): support sidecar container
liubog2008 Sep 2, 2025
ccceec7
Merge pull request #512 from liubog2008/support-sidecar
k8s-ci-robot Sep 2, 2025
70799ee
Merge pull request #511 from ravisantoshgudimetla/fix-logging
k8s-ci-robot Sep 2, 2025
5a8ba33
fix: extract regex compilation to be done just once
petr-muller Sep 2, 2025
ccc9c53
Merge pull request #513 from petr-muller/optimize-regex-compilation
k8s-ci-robot Sep 3, 2025
d06cfc9
ci: push images individually in publish workflow
wuhuizuo Sep 3, 2025
f07f514
Update Go version to 1.25 in workflow and go.mod
wuhuizuo Sep 3, 2025
fd45658
Merge branch 'release' into sync/main-into-release-202509041117
purelind Sep 4, 2025
ae2711c
chore: update dependencies in go.mod and go.sum
purelind Sep 4, 2025
30fdc35
fix: update cherry-pick body to include release notes from parent PR
purelind Sep 4, 2025
acffba6
refactor: clean up comments and formatting in job configuration files
purelind Sep 4, 2025
a0cfed2
chore: sync origin/main into release (#21)
purelind Sep 5, 2025
c4199af
Fix Jenkins operator reporting invalid URLs with build number 0 (#23)
Copilot Oct 23, 2025
1f667ad
refactor(cherrypickapproved): remove test status check (#25)
wuhuizuo Dec 24, 2025
c8fca24
fix(pkg/jenkins): treat the zero number build as enqueued state (#26)
wuhuizuo Dec 29, 2025
dc47abc
fix(deck): update MDL CDN to use cdnjs (#28)
ti-chi-bot Jan 12, 2026
5ba85b8
fix(pkg/jenkins): fix handling for fast-failing Jenkins jobs (#30)
wuhuizuo Feb 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/publish-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Publish images

on:
push:
branches:
- release
paths:
- "**/*.go"
- "**/*.html"
- go.mod

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
push-images:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Log in to the Container registry
uses: ko-build/[email protected]
- name: Build & Push images
env:
REGISTRY: ghcr.io/ti-community-infra/prow
run: |
images=(
cmd/checkconfig
cmd/crier
cmd/deck
cmd/external-plugins/chatgpt
cmd/external-plugins/cherrypicker
cmd/external-plugins/refresh
cmd/hook
cmd/horologium
cmd/jenkins-operator
cmd/peribolos
cmd/prow-controller-manager
cmd/sinker
cmd/status-reconciler
cmd/tide
)
for image in "${images[@]}"; do
make push-single-image PROW_IMAGE=$image REGISTRY=${REGISTRY}
done
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.23.0
1.24.0
7 changes: 7 additions & 0 deletions .ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,13 @@ builds:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=cherrypicker
- id: chatgpt
dir: .
main: cmd/external-plugins/chatgpt
ldflags:
- -s -w
- -X sigs.k8s.io/prow/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/version.Name=chatgpt
- id: refresh
dir: .
main: cmd/external-plugins/refresh
Expand Down
1 change: 1 addition & 0 deletions .prow-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ images:
- dir: cmd/external-plugins/needs-rebase
- dir: cmd/external-plugins/cherrypicker
- dir: cmd/external-plugins/refresh
- dir: cmd/external-plugins/chatgpt
- dir: cmd/ghproxy
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ update-go-deps:
verify-go-deps:
hack/make-rules/verify/go-deps.sh
################################################################################
# ================================== Dependencies ===================================
# python deps
ensure-py-requirements3:
hack/run-in-python-container.sh pip3 install -r requirements3.txt
.PHONY: ensure-py-requirements3
################################################################################
# ================================== Linting ===================================
# run linters, ensure generated code, etc.
.PHONY: verify
Expand Down Expand Up @@ -97,7 +91,7 @@ update-codegen:
verify-codegen:
hack/make-rules/verify/codegen.sh
.PHONY: verify-boilerplate
verify-boilerplate: ensure-py-requirements3
verify-boilerplate:
hack/make-rules/verify/boilerplate.sh
#################################################################################
# Build and push specific variables.
Expand Down
2 changes: 1 addition & 1 deletion cmd/admission/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: admission
image: gcr.io/k8s-testimages/admission:latest # Note: not gcr.io/k8s-prow for dev
image: gcr.io/k8s-staging-test-infra/admission:latest # Note: not gcr.io/k8s-prow for dev
imagePullPolicy: Always # Good practice for dev/debugging, bad for prod
args:
- --tls-cert-file=/etc/tls/tls.crt
Expand Down
2 changes: 1 addition & 1 deletion cmd/branchprotector/OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See the OWNERS docs at https://go.k8s.io/owners

labels:
- area/prow/branchprotector
- area/branchprotector
2 changes: 1 addition & 1 deletion cmd/branchprotector/oneshot-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
spec:
containers:
- name: branchprotector
image: gcr.io/k8s-testimages/branchprotector:latest # Note: not gcr.io/k8s-prow for dev
image: us-docker.pkg.dev/k8s-infra-prow/images/branchprotector:v20250704-ef29ebbe9 # Note: not gcr.io/k8s-prow for dev
imagePullPolicy: Always # Good practice for dev/debugging, bad for prod
args:
- --config-path=/etc/config/config.yaml
Expand Down
2 changes: 1 addition & 1 deletion cmd/checkconfig/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ func validateCluster(cfg *config.Config, opener io.Opener) error {
func validateAdditionalProwConfigIsInOrgRepoDirectoryStructure(filesystem fs.FS, supplementalProwConfigDirs, supplementalPluginsConfigDirs []string, supplementalProwConfigsFileNameSuffix, supplementalPluginsConfigFileNameSuffix string) error {
var errs []error

for _, supplementalProwConfigDir := range supplementalPluginsConfigDirs {
for _, supplementalProwConfigDir := range supplementalProwConfigDirs {
if err := validateAdditionalConfigIsInOrgRepoDirectoryStructure(supplementalProwConfigDir, filesystem, func() hierarchicalConfig { return &config.Config{} }, supplementalProwConfigsFileNameSuffix); err != nil {
errs = append(errs, err)
}
Expand Down
42 changes: 38 additions & 4 deletions cmd/checkconfig/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
"time"

"github.com/google/go-cmp/cmp"
"k8s.io/apimachinery/pkg/util/diff"
utilerrors "k8s.io/apimachinery/pkg/util/errors"
"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/utils/ptr"
Expand Down Expand Up @@ -1389,7 +1388,7 @@ func TestVerifyOwnersPresence(t *testing.T) {
errMessage = err.Error()
}
if errMessage != tc.expected {
t.Errorf("result differs:\n%s", diff.StringDiff(tc.expected, errMessage))
t.Errorf("result differs:\n%s", cmp.Diff(tc.expected, errMessage))
}
})
}
Expand Down Expand Up @@ -1998,6 +1997,9 @@ plugins:
name string
fs fstest.MapFS

root string
pluginRoot string

expectedErrorMessage string
}{
{
Expand Down Expand Up @@ -2082,17 +2084,49 @@ plugins:

expectedErrorMessage: `[config root/my-org/my-repo/nest/cfg.yaml is at an invalid location. All configs must be below root. If they are org-specific, they must be in a folder named like the org. If they are repo-specific, they must be in a folder named like the repo below a folder named like the org., config root/my-org/my-repo/nest/plugins.yaml is at an invalid location. All configs must be below root. If they are org-specific, they must be in a folder named like the org. If they are repo-specific, they must be in a folder named like the repo below a folder named like the org.]`,
},
{
name: "Valid repo config in separate hierarchy",
pluginRoot: "plugins",
fs: testfs(map[string]string{
root + "/my-org/my-repo/cfg.yaml": validRepoConfig,
"plugins/my-org/my-repo/plugins.yaml": validRepoPluginsConfig,
}),
},
{
name: "Invalid repo Prow config in separate hierarchy",
pluginRoot: "plugins",
fs: testfs(map[string]string{
root + "/my-org/my-repo/cfg.yaml": invalidConfig,
"plugins/my-org/my-repo/plugins.yaml": validRepoPluginsConfig,
}),
expectedErrorMessage: `failed to unmarshal root/my-org/my-repo/cfg.yaml into *config.Config: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go value of type config.Config`,
},
{
name: "Invalid repo Plugin config in separate hierarchy",
pluginRoot: "plugins",
fs: testfs(map[string]string{
root + "/my-org/my-repo/cfg.yaml": validRepoConfig,
"plugins/my-org/my-repo/plugins.yaml": invalidConfig,
}),
expectedErrorMessage: `failed to unmarshal plugins/my-org/my-repo/plugins.yaml into *plugins.Configuration: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal array into Go value of type plugins.Configuration`,
},
}

for _, tc := range tests {
t.Run(tc.name, func(t *testing.T) {
if tc.root == "" {
tc.root = root
}
if tc.pluginRoot == "" {
tc.pluginRoot = root
}
var errMsg string
err := validateAdditionalProwConfigIsInOrgRepoDirectoryStructure(tc.fs, []string{root}, []string{root}, "cfg.yaml", "plugins.yaml")
err := validateAdditionalProwConfigIsInOrgRepoDirectoryStructure(tc.fs, []string{tc.root}, []string{tc.pluginRoot}, "cfg.yaml", "plugins.yaml")
if err != nil {
errMsg = err.Error()
}
if tc.expectedErrorMessage != errMsg {
t.Errorf("expected error %s, got %s", tc.expectedErrorMessage, errMsg)
t.Errorf("unexpected error (-want +got):\n%s", cmp.Diff(tc.expectedErrorMessage, errMsg))
}
})
}
Expand Down
4 changes: 0 additions & 4 deletions cmd/checkconfig/testdata/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ deck:
- (FAIL|Failure \[)\b
- panic\b
- ^E\d{4} \d\d:\d\d:\d\d\.\d\d\d]
iframe_sandbox_permissions:
- allow-scripts
- allow-popups
- allow-popups-to-escape-sandbox
required_files:
- build-log.txt
- lens:
Expand Down
3 changes: 1 addition & 2 deletions cmd/clonerefs/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ reviewers:
approvers:
- stevekuznetsov
labels:
- area/prow/clonerefs
- area/prow/pod-utilities
- area/podutils/clonerefs
2 changes: 0 additions & 2 deletions cmd/config-bootstrapper/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ reviewers:
approvers:
- chases2
- stevekuznetsov
labels:
- area/prow/config-bootstrapper
2 changes: 1 addition & 1 deletion cmd/crier/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ emeritus_approvers:
- fejta
- krzyzacy
labels:
- area/prow/crier
- area/crier
3 changes: 3 additions & 0 deletions cmd/deck/.ts-packages
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ packages:
- dir: cmd/deck/static/command-help
entrypoint: command-help.ts
dst: ../command_help_bundle.min.js
- dir: cmd/deck/static/configured-jobs
entrypoint: configured-jobs.ts
dst: ../configured_jobs_bundle.min.js
- dir: cmd/deck/static/tide-history
entrypoint: tide-history.ts
dst: ../tide_history_bundle.min.js
Expand Down
2 changes: 1 addition & 1 deletion cmd/deck/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ emeritus_approvers:
- Katharine
- mpherman2
labels:
- area/prow/deck
- area/deck
Loading