Browse Source

Updated drone recipe

master
Anthony Hinsinger 8 years ago
parent
commit
3404243602
  1. 14
      .drone.yml

14
.drone.yml

@ -2,17 +2,23 @@ pipeline:
download: download:
image: plugins/download image: plugins/download
source: https://buildroot.org/downloads/buildroot-2018.02.2.tar.gz source: https://buildroot.org/downloads/buildroot-2018.02.2.tar.gz
fixperm:
image: debian
commands:
- mkdir builddir
- chown 1000:1000 builddir
build: build:
image: sublimino/debian-build-essential image: buildroot/base:20180318.1724
commands: commands:
- tar xvzf buildroot-2018.02.2.tar.gz - cd builddir
- tar xvzf ../buildroot-2018.02.2.tar.gz
- cd buildroot-2018.02.2 - cd buildroot-2018.02.2
- make BR2_EXTERNAL=../ ttngw_defconfig - make BR2_EXTERNAL=../../ ttngw_defconfig
- make - make
publish: publish:
image: plugins/gitea-release image: plugins/gitea-release
secrets: [ gitea_token ] secrets: [ gitea_token ]
base_url: https://dev.a-toy.eu base_url: https://dev.a-toy.eu
files: output/images/sdcard.img files: builddir/buildroot-2018.02.2/output/images/sdcard.img
when: when:
event: tag event: tag

Loading…
Cancel
Save