python3.10
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build was killed Details

This commit is contained in:
starcalc 2022-06-07 23:00:12 +02:00
parent 5e2303bebc
commit 341a9f25ca
1 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ steps:
hostname: hostname:
from_secret: hostname from_secret: hostname
- name: build - name: build
image: eclipse/platformio # python:3.10 image: python:3.10
commands: commands:
- sed -i "s/WIFISSID/$IOTSSID/" data/homie/config.json - sed -i "s/WIFISSID/$IOTSSID/" data/homie/config.json
- sed -i "s/WIFIPASS/$iotpwd/" data/homie/config.json - sed -i "s/WIFIPASS/$iotpwd/" data/homie/config.json
@ -22,7 +22,7 @@ steps:
- sed -i "s/HOSTNAME/$lastknownip/g" platformio.ini - sed -i "s/HOSTNAME/$lastknownip/g" platformio.ini
- cat data/homie/config.json - cat data/homie/config.json
- cat platformio.ini - cat platformio.ini
# - pip install -U platformio - pip install -U platformio
- platformio run --environment d1_mini - platformio run --environment d1_mini
environment: environment:
hostname: hostname:
@ -32,8 +32,8 @@ steps:
iotpwd: iotpwd:
from_secret: iotpwd from_secret: iotpwd
- name: release - name: release
image: eclipse/platformio # python:3.10 image: python:3.10 # eclipse/platformio #
commands: commands:
# - pip install -U platformio - pip install -U platformio
- platformio run --target upload --environment d1_mini - platformio run --target upload --environment d1_mini
- platformio run --target uploadfs --environment d1_mini - platformio run --target uploadfs --environment d1_mini