ci: clone repository explicitly
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
926b46efb9
commit
9f9e758f49
10
.drone.yml
10
.drone.yml
|
@ -4,13 +4,23 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git clone "$DRONE_GIT_HTTP_URL" .
|
||||||
|
- git checkout "$DRONE_COMMIT"
|
||||||
|
|
||||||
- name: build firmware for faderboard
|
- name: build firmware for faderboard
|
||||||
image: git.luj0ga.de/luca/docker-embedded-rust
|
image: git.luj0ga.de/luca/docker-embedded-rust
|
||||||
commands:
|
commands:
|
||||||
- >-
|
- >-
|
||||||
[ -z "$(git diff --name-only "$DRONE_COMMIT_BEFORE" "$DRONE_COMMIT_AFTER" | grep '^firmware/faderboard/')" ]
|
[ -z "$(git diff --name-only "$DRONE_COMMIT_BEFORE" "$DRONE_COMMIT_AFTER" | grep '^firmware/faderboard/')" ]
|
||||||
&& (echo "nothing to do" >&2; exit 0)
|
&& (echo "nothing to do" >&2; exit 0)
|
||||||
|
- cd firmware/faderboard
|
||||||
- cargo build
|
- cargo build
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in New Issue