Upload aus dem docker container funktioniert nicht, der port wird nicht exposed.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
starcalc 2022-06-08 00:06:21 +02:00
parent 8320c7070e
commit b2063d4f73
1 changed files with 2 additions and 12 deletions

View File

@ -25,11 +25,11 @@ steps:
# Build image # Build image
- platformio run --environment d1_mini - platformio run --environment d1_mini
# Upload image # Upload image
#### - platformio run --target upload --environment d1_mini - platformio run --target upload --environment d1_mini
# Build Filesystem Image # Build Filesystem Image
# - platformio run --target buildfs --environment d1_mini # - platformio run --target buildfs --environment d1_mini
# (Build if necessary and) Upload Filesystem Image (here: OTA) # (Build if necessary and) Upload Filesystem Image (here: OTA)
### - platformio run --target uploadfs --environment d1_mini - platformio run --target uploadfs --environment d1_mini
environment: environment:
hostname: hostname:
from_secret: hostname from_secret: hostname
@ -44,16 +44,6 @@ steps:
# - 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
services:
redis:
image: python:3.10
ports: [ 6380 ]
commands:
platformio run --target upload --environment d1_mini
### matrix-builds? ### matrix-builds?
### https://0-8-0.docs.drone.io/matrix-builds/ ### https://0-8-0.docs.drone.io/matrix-builds/
### ###
### https://discourse.drone.io/t/expose-ports-from-service-containers/1736/4