kind: pipeline name: openwrt type: docker platform: os: linux arch: arm64 trigger: branch: - main event: include: - push steps: - name: openwrt image: bitnami/git commands: - git clone -b openwrt-23.05 --single-branch http://gitea.service.nr5/chaos/openwrt.git - name: setup image: cr.wks/debian-stable-openwrt:latest 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 - ./scripts/feeds install -a - name: make-prepare image: cr.wks/debian-stable-openwrt:latest commands: - cd openwrt - make -j2 defconfig - make -j2 download - make -j2 clean - name: make-world image: cr.wks/debian-stable-openwrt:latest commands: - cd openwrt - make -j1 world V=s - 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