Skip to content

Commit

Permalink
ci: debug kokoro script (#1256)
Browse files Browse the repository at this point in the history
* ci: debug kokoro script

* fix: move settings.xml to root directory

* fix: execute kokoro build from root repo directory
  • Loading branch information
burkedavison committed Jan 19, 2023
1 parent 633b987 commit 2dae391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .kokoro/presubmit/downstream-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -eo pipefail
## Get the directory of the build script
scriptDir=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
## cd to the parent directory, i.e. the root of the git repo
cd "${scriptDir}/.."
cd "${scriptDir}/../.."

if [ -z "${MODULES_UNDER_TEST}" ]; then
echo "MODULES_UNDER_TEST must be set to run downstream-build.sh"
Expand All @@ -27,7 +27,7 @@ fi

# Use GCP Maven Mirror
mkdir -p "${HOME}/.m2"
cp .kokoro/settings.xml "${HOME}/.m2"
cp settings.xml "${HOME}/.m2"

### Round 1
# Publish this repo's modules to local maven to make them available for downstream libraries
Expand Down
File renamed without changes.

0 comments on commit 2dae391

Please sign in to comment.