File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 99 - docker-compose#v3.0.0:
1010 run : unit-test
1111 config : docker/buildkite/docker-compose.yaml
12+
13+ - label : " :alien: Fossa scan"
14+ agents :
15+ queue : " default"
16+ docker : " *"
17+ command : " fossa init --include-all --no-ansi; fossa analyze --no-ansi -b $${BUILDKITE_BRANCH:-$$(git branch --show-current)}; fossa test --timeout 1800 --no-ansi"
18+ timeout_in_minutes : 60
19+ plugins :
20+ - docker-compose#v3.0.0:
21+ run : fossa
22+ config : docker/buildkite/docker-compose.yaml
23+
1224 - wait
Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ RUN apk update && apk add --virtual wget ca-certificates wget && apk add protobu
1212# Git is needed in order to update the dls submodule
1313RUN apk add --virtual git
1414
15+ # Fossa to run license scans
16+ RUN wget -O- https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sh
17+
1518RUN mkdir /temporal-java-samples
1619WORKDIR /temporal-java-samples
Original file line number Diff line number Diff line change @@ -10,3 +10,14 @@ services:
1010 - " USER=unittest"
1111 volumes :
1212 - " ../../:/temporal-java-samples"
13+
14+ fossa :
15+ build :
16+ context : ../../
17+ dockerfile : ./docker/buildkite/Dockerfile
18+ command : /bin/sh
19+ environment :
20+ - BUILDKITE_BRANCH
21+ - FOSSA_API_KEY
22+ volumes :
23+ - " ../../:/temporal-java-samples"
You can’t perform that action at this time.
0 commit comments