From 6fc5908761f9d58bc775b9781dab4a140d783aaf Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Sun, 7 Oct 2018 13:20:24 +0200 Subject: [PATCH] use release env in ci build --- .gitlab-ci.yml | 8 ++++---- platformio.ini | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bbae196..6a30905 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,8 +22,8 @@ firmware: script: - mv data/example.config.json data/config.json - pio run -t clean - - pio run - - pio run -t buildfs + - pio run -e release + - pio run -e release -t buildfs release: stage: release @@ -33,8 +33,8 @@ release: script: - pip install awscli - mkdir -p ${PROJECT_NAME}/${CI_COMMIT_TAG} - - mv .pioenvs/build/firmware.bin ${PROJECT_NAME}/${CI_COMMIT_TAG} - - mv .pioenvs/build/spiffs.bin ${PROJECT_NAME}/${CI_COMMIT_TAG} + - mv .pioenvs/release/firmware.bin ${PROJECT_NAME}/${CI_COMMIT_TAG} + - mv .pioenvs/release/spiffs.bin ${PROJECT_NAME}/${CI_COMMIT_TAG} - aws s3 --endpoint-url=https://$DO_SPACE_ENDPOINT cp ./ s3://$S3_BUCKET_NAME/ --recursive --exclude "*" --include "*.bin" artifacts: paths: diff --git a/platformio.ini b/platformio.ini index de10233..69b887e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -65,7 +65,7 @@ framework = ${common.framework} build_flags = -Wl,-Teagle.flash.4m1m.ld -DSPROCKET_PRINT=0 lib_deps = ${common.lib_deps} - https://gitlab.com/wirelos/sprocket-core.git#master + https://gitlab.com/wirelos/sprocket-core.git#develop [env:nodemcu]