SPIRV-Tools/kokoro
Nathan Gauër 7f9184a5b2
kokoro: fix dubious ownership (#5082)
Kokoro clones repos with a different user used to run the build steps,
meaning if some git command must be run at build time, they will fail
because of this dubious ownership issue.
Running some git commands makes only sense with history, so changing
checkout depth so we can run them and get the true result.

This is a known Kororo issue.
Fixing this is required to generate the version file using git history.

Signed-off-by: Nathan Gauër <brioche@google.com>

Signed-off-by: Nathan Gauër <brioche@google.com>
2023-01-23 15:32:39 +00:00
..
android Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
check-format kokoro: fix dubious ownership (#5082) 2023-01-23 15:32:39 +00:00
img Enable Kokoro buildbots. (#1625) 2018-07-06 13:01:22 -04:00
linux-clang-asan Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-debug Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-release Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-release-bazel Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-ubsan Add UBSan kokoro configuration (#4512) 2021-09-10 12:53:09 +00:00
linux-gcc-debug Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-gcc-release Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
macos-clang-debug kokoro: fix dubious ownership (#5082) 2023-01-23 15:32:39 +00:00
macos-clang-release kokoro: fix dubious ownership (#5082) 2023-01-23 15:32:39 +00:00
macos-clang-release-bazel kokoro: fix dubious ownership (#5082) 2023-01-23 15:32:39 +00:00
ndk-build Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
scripts kokoro: fix dubious ownership (#5082) 2023-01-23 15:32:39 +00:00
shaderc-smoketest Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
windows-msvc-2017-debug [spirv] Package and upload builds. (#2544) 2019-05-02 14:25:09 -04:00
windows-msvc-2017-release [spirv] Package and upload builds. (#2544) 2019-05-02 14:25:09 -04:00
windows-msvc-2017-release-bazel First attempt to set up CI-windows-msvc-2017-release-bazel build (#5023) 2022-12-19 12:42:04 -05:00
windows-msvc-2019-debug Add VS2019 kokoro configs (#5059) 2023-01-18 20:11:25 +00:00
windows-msvc-2019-release Add VS2019 kokoro configs (#5059) 2023-01-18 20:11:25 +00:00