This commit is contained in:
28
.drone.yml
28
.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
|
||||
|
||||
Reference in New Issue
Block a user