File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -266,10 +266,14 @@ jobs:
266266 [[ "$PR_NO_TEST" = "true" ]] && TEST="--dont-test" || TEST=""
267267 [[ "${PUBLISH_TO_NPM}" = 'true' ]] && NPM_PUBLISH_TRIGGER=$(date +%s%3N) || NPM_PUBLISH_TRIGGER="false"
268268
269+ # tmp: Update leeway from branch to make testing easier
270+ LEEWAY_BRANCH=clu/sbom-cve-2
271+ LEEWAY_REPO_DIR=$(mktemp -d -t leeway-repo-XXXXXXXXXX) && git clone https://github.com/gitpod-io/leeway "$LEEWAY_REPO_DIR" && cd "$LEEWAY_REPO_DIR" && git switch ${LEEWAY_BRANCH} && git pull && go build -o leeway && sudo install -m 755 leeway /usr/bin/ && cd / && rm -rf "$LEEWAY_REPO_DIR"
272+
269273 RESULT=0
270274 set -x
271275 # CI=true is a var set by GHA. Unsetting it for the build, as yarn builds treat warnings as errors if that var is set to true
272- CI= leeway build \
276+ CI= /usr/bin/ leeway build \
273277 --cache $CACHE \
274278 $TEST \
275279 -Dversion=$VERSION \
You can’t perform that action at this time.
0 commit comments