From 417593b8f0b2f67d2263d156220a8f0160d5321f Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Wed, 28 Feb 2024 14:58:42 +0100 Subject: [PATCH] here we go --- .drone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1e56e1a..e67c80e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,3 +23,31 @@ steps: commands: - ls -la - cp -v config-DIR825-rndis openwrt/.config +- name: feeds + image: cr.wks/debian-stable-openwrt:latest + commands: + - cd openwrt && ./scripts/feeds update -a + - cd openwrt && ./scripts/feeds install -a +- name: make-prepare + image: cr.wks/debian-stable-openwrt:latest + commands: + - cd openwrt && make -j2 defconfig + - cd openwrt && make -j2 download + - cd openwrt && make -j2 clean +- name: make-world + image: cr.wks/debian-stable-openwrt:latest + commands: + - cd openwrt && make -j4 world +- name: deploy + image: cr.wks/drone/drone-rsync:latest + settings: + hosts: ["ebin01.wks"] + source: openwrt/bin/ + target: /data/raid1-ssd/app-data/openwrt/ + user: admini + #exclude: ['sites/default', 'files/kmm', 'files/tmp', '.git*', '*drone.yml', '.settings', '.buildpath', '.editorconfig', '.project'] + args: '-v --delete' + log_level: quiet + key: + from_secret: admini-ebin01-ssh-rsa + command_timeout: 15m