2020-10-26 22:45:05 -04:00
|
|
|
stages:
|
|
|
|
- build
|
2020-10-27 00:16:32 -04:00
|
|
|
- flash
|
2020-10-26 22:45:05 -04:00
|
|
|
|
2020-10-28 20:22:04 -04:00
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- build/
|
2020-10-28 20:32:56 -04:00
|
|
|
|
2020-10-26 22:45:05 -04:00
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
|
|
|
|
script:
|
2020-10-28 20:09:21 -04:00
|
|
|
- idf.py reconfigure
|
|
|
|
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
|
2020-10-28 20:44:18 -04:00
|
|
|
- sed -i -e s/BARBACK_ID="Barback"/BARBACK_ID=\"`cat bbid`\"/ sdkconfig
|
2020-10-28 20:32:56 -04:00
|
|
|
- cat sdkconfig
|
2020-10-26 22:45:05 -04:00
|
|
|
- idf.py build
|
2020-10-27 00:16:32 -04:00
|
|
|
|
|
|
|
flash:
|
|
|
|
stage: flash
|
|
|
|
|
|
|
|
script:
|
|
|
|
- idf.py flash
|