Skip to content

Commit 12dc84d

Browse files
fredrectensorflower-gardener
authored andcommitted
Document how to manually run the CI scripts
PiperOrigin-RevId: 417719589
1 parent ec985b7 commit 12dc84d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ci/kokoro/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
11
The entrypoint build script is gcp_ubuntu/build.sh.
2+
3+
4+
To manually trigger the unit test run as the CI system does:
5+
6+
```
7+
export GIT_REPO_DIR=<absolute path to the git repo>
8+
export KOKORO_ARTIFACTS_DIR="${GIT_REPO_DIR}"
9+
ci/kokoro/gcp_ubuntu/build.sh
10+
```
11+
12+
That is, if the current directory is the root of the Git repository:
13+
```
14+
GIT_REPO_DIR="`pwd`" KOKORO_ARTIFACTS_DIR="`pwd`" ci/kokoro/gcp_ubuntu/build.sh
15+
```

0 commit comments

Comments
 (0)