local -n __returnvar="$1"; shift
local src_path="$1"; shift
- mkdir -p "$GOPATH/src/git.curoverse.com"
- ln -sfn "$WORKSPACE" "$GOPATH/src/git.curoverse.com/arvados.git"
- (cd "$GOPATH/src/git.curoverse.com/arvados.git" && "$GOPATH/bin/govendor" sync -v)
-
- cd "$GOPATH/src/git.curoverse.com/arvados.git/$src_path"
+ cd "$WORKSPACE/$src_path"
+ go mod download
local version="$(version_from_git)"
local timestamp="$(timestamp_from_git)"
checkdirs+=(sdk/go lib)
fi
for dir in ${checkdirs[@]}; do
- cd "$GOPATH/src/git.curoverse.com/arvados.git/$dir"
+ cd "$WORKSPACE/$dir"
ts="$(timestamp_from_git)"
if [[ "$ts" -gt "$timestamp" ]]; then
version=$(version_from_git)
# sure it gets picked up by the test and/or upload steps.
# Get the list of packages from the repos
- if [[ "$FORMAT" == "deb" ]]; then
+ if [[ "$FORCE_BUILD" == "1" ]]; then
+ echo "Package $full_pkgname build forced with --force-build, building"
+ elif [[ "$FORMAT" == "deb" ]]; then
declare -A dd
dd[debian9]=stretch
dd[debian10]=buster