Skip to content

Commit

Permalink
Fix misc-image push to have git directory.
Browse files Browse the repository at this point in the history
See note at the bottom of
https://github.com/kubernetes/test-infra/tree/master/config/jobs/image-pushing#prow-config-template.
The `post-test-infra-push-misc-images-canary` job is currently failing with:

`time="2024-07-31T18:11:37Z" level=error msg="fatal: not a git repository (or any parent up to mount point /)\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n" args="[rev-parse --show-toplevel]" cmd=git
time="2024-07-31T18:11:37Z" level=error msg="Failed getting git root dir" error="exit status 128"`

I think this is the actual last fix we need for this to work, fingers
crossed.
  • Loading branch information
michelle192837 committed Jul 31, 2024
1 parent 2ae2991 commit 86b2951
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file added .gcloudignore
Empty file.
1 change: 1 addition & 0 deletions config/jobs/image-pushing/k8s-staging-test-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ postsubmits:
- --scratch-bucket=gs://k8s-staging-test-infra-gcb
- --project=k8s-staging-test-infra
- --build-dir=.
- --with-git-dir
- .

#
Expand Down

0 comments on commit 86b2951

Please sign in to comment.