From c984a4a63f1d92704d63b1be3d6cc2f2aaacacbc Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Mon, 24 Sep 2018 13:42:36 +0200 Subject: [PATCH] add prod stage --- .gitlab-ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8907962..fac43a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,18 +3,22 @@ image: python:2.7-stretch stages: - test - build + - production -before_script: - - "pip install -U platformio" -firmware-build: +firmware: stage: build image: python:2.7-stretch + before_script: + - "pip install -U platformio" script: - mv data/example.config.json data/config.json - pio run -t clean - pio run - pio run -t buildfs + +release: + stage: production artifacts: paths: - .pioenvs/build/firmware.bin