test except tags in CI script

This commit is contained in:
Wolfgang Hottgenroth 2019-05-30 17:34:56 +02:00
parent 0ba1232307
commit 11c40ceba2
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4
2 changed files with 6 additions and 3 deletions

View File

@ -15,6 +15,8 @@ build:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
paths: paths:
- sketch.esp8266.esp8266.nodemcu.bin - sketch.esp8266.esp8266.nodemcu.bin
except:
- tags
script: script:
- pushd $CI_PROJECT_DIR/libraries/esp8266boilerplate/ConfigGenerator && ./configGen.sh && popd - 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 - env ARDUINO_SKETCHBOOK_DIR=$CI_PROJECT_DIR arduino-cli compile --fqbn=esp8266:esp8266:nodemcu $CI_PROJECT_DIR/sketch
@ -31,7 +33,8 @@ release:
dependencies: dependencies:
- build - build
only: only:
- release refs:
- release
script: script:
- gitlabreleaseuploader.py -p $PRIVATE_TOKEN -i $CI_PROJECT_ID -u $CI_PROJECT_URL - gitlabreleaseuploader.py -p $PRIVATE_TOKEN -i $CI_PROJECT_ID -u $CI_PROJECT_URL
-f sketch.esp8266.esp8266.nodemcu.bin -F releaseInfo.json -T $CI_COMMIT_REF_NAME -f sketch.esp8266.esp8266.nodemcu.bin -F releaseInfo.json -T $CI_COMMIT_REF_NAME

View File

@ -1,7 +1,7 @@
{ {
"releaseTag": "v1.0", "releaseTag": "v1.0.1",
"createReleaseTag": "true", "createReleaseTag": "true",
"releaseName": "MQTT-without-SSL and Correct Colors Release", "releaseName": "MQTT-without-SSL and Correct Colors Release, just for CI test",
"description": "MQTT without SSL due to continuous errors, further investigation later required, also fixed color mixup" "description": "MQTT without SSL due to continuous errors, further investigation later required, also fixed color mixup"
} }