This commit is contained in:
parent
00857da470
commit
9c82673ba2
26
.drone.yml
Normal file
26
.drone.yml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: harbor.k-space.ee/k-space/micropython-esp32
|
||||
settings:
|
||||
mtu: 1300
|
||||
commands:
|
||||
- cp /drone/src/*.py /src/ports/esp32/modules/
|
||||
- cd /src/ports/esp32
|
||||
- bash -c "source /opt/esp/idf/export.sh && make"
|
||||
- cp build-GENERIC/firmware.bin /drone/src/
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
app_key: xxx
|
||||
base_url: https://git.k-space.ee
|
||||
files: firmware.bin
|
||||
when:
|
||||
event: tag
|
||||
|
||||
image_pull_secrets:
|
||||
- dockerconfig
|
Loading…
Reference in New Issue
Block a user