stages: - build - flash cache: paths: - build/ build: stage: build script: - idf.py reconfigure - echo "BB-CI-$((1 + RANDOM % 999))" > bbid - sed -i -e s/BARBACK_ID="Barback"/BARBACK_ID=\"`cat bbid`\"/ sdkconfig - cat sdkconfig - idf.py build flash: stage: flash script: - idf.py flash