21 lines
555 B
YAML
21 lines
555 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: espressif/idf:release-v4.1
|
|
commands:
|
|
- mkdir ~/.ssh
|
|
- ssh-keyscan -t rsa git.oit.cloud >> ~/.ssh/known_hosts
|
|
- git submodule update --init
|
|
- if [ -f sdkconfig ]; then
|
|
- rm sdkconfig
|
|
- fi
|
|
- ls
|
|
- . /opt/esp/idf/export.sh
|
|
- idf.py reconfigure
|
|
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
|
|
- sed -i -e s/BARBACK_ID=\"Barback\"/BARBACK_ID=\"`cat bbid`\"/ sdkconfig
|
|
- idf.py reconfigure
|
|
- idf.py build
|