Skip to content

Commit

Permalink
UPDATE_CMD workaroud added to drone recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
eljuguetero committed Aug 12, 2019
1 parent d552f64 commit ca72175
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pipeline:
privileged: true
commands:
- echo "build-debs for ${ARCHITECTURE}-${DISTRIBUTION}-${CODENAME}:${IMAGE_TAG}"
- apt-get update
- ${UPDATE_CMD}
- apt-get install --yes --no-install-recommends wiringpi libftdi-dev
- debuild -us -uc -b
- mv ../*.deb .
Expand Down Expand Up @@ -76,9 +76,11 @@ matrix:
- CODENAME: stretch
DISTRIBUTION: raspbian
ARCHITECTURE: armhf
UPDATE_CMD: "apt update"
IMAGE_TAG: 84d9bfb7

- CODENAME: buster
DISTRIBUTION: raspbian
ARCHITECTURE: armhf
UPDATE_CMD: "apt update -y --allow-releaseinfo-change"
IMAGE_TAG: 84d9bfb7

0 comments on commit ca72175

Please sign in to comment.