mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 17:58:20 +01:00
pin versions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
image: python:2.7-stretch
|
||||
image: python:3.12.10
|
||||
|
||||
variables:
|
||||
S3_BUCKET_NAME: "wirelos"
|
||||
@@ -12,16 +12,16 @@ stages:
|
||||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- .pioenvs/
|
||||
- .pio/
|
||||
|
||||
firmware:
|
||||
stage: build
|
||||
image: python:2.7-stretch
|
||||
image: python:3.12.10
|
||||
before_script:
|
||||
- pip install -U platformio
|
||||
script:
|
||||
- pio run -t clean
|
||||
- pio run
|
||||
- pio run -e release
|
||||
- pio run -t buildfs
|
||||
|
||||
release:
|
||||
@@ -30,11 +30,11 @@ release:
|
||||
- /^release-.*$/
|
||||
image: python:latest
|
||||
script:
|
||||
- pip install awscli
|
||||
#- pip install awscli
|
||||
- mkdir -p ${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"
|
||||
- mv .pio/build/release/firmware.bin ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
||||
- mv .pio/build/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:
|
||||
- ${PROJECT_NAME}/${CI_COMMIT_TAG}
|
||||
|
||||
Reference in New Issue
Block a user