stages: - build - release build: stage: build image: registry.gitlab.com/wolutator/build-env-arduino:latest tags: - hottis - linux - docker variables: GIT_SUBMODULE_STRATEGY: recursive artifacts: name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" paths: - sketch.esp8266.esp8266.nodemcu.bin - sketch.esp8266.esp8266.nodemcu.elf script: - pushd $CI_PROJECT_DIR/libraries/esp8266boilerplate/ConfigGenerator && ./configGen.sh && popd - env ARDUINO_SKETCHBOOK_DIR=$CI_PROJECT_DIR arduino-cli compile --fqbn=esp8266:esp8266:nodemcu $CI_PROJECT_DIR/sketch - cp sketch/sketch.esp8266.esp8266.nodemcu.* . release: stage: release image: registry.gitlab.com/wolutator/base-build-env tags: - hottis - linux - docker dependencies: - build # variables: # GIT_STRATEGY: none script: - git tag X - git push --tags - gitlabreleaseuploader.py -p $PRIVATE_TOKEN -i 10877064 -u https://gitlab.com/wolutator/rgbled -f sketch.esp8266.esp8266.nodemcu.elf -n NewRelease -t X -d "blablabla"