This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
gitlabreleaseuploader/.gitlab-ci.yml

30 lines
937 B
YAML
Raw Permalink Normal View History

2019-05-30 14:35:35 +02:00
stages:
- check
- release
build:
stage: check
2020-08-26 18:26:05 +02:00
image: registry.hottis.de/dockerized/base-build-env:latest
2019-05-30 14:35:35 +02:00
tags:
- hottis
- linux
- docker
script:
2019-05-30 14:59:02 +02:00
- for I in *.py; do python -m py_compile $I; done
2020-08-26 18:49:04 +02:00
- for I in *.py; do python -m pycodestyle --ignore=E501 $I; done
2019-05-30 14:35:35 +02:00
release:
stage: release
2020-08-26 18:26:05 +02:00
image: registry.hottis.de/dockerized/base-build-env:latest
2019-05-30 14:35:35 +02:00
tags:
- hottis
- linux
- docker
only:
- release
2019-05-30 14:35:35 +02:00
script:
2020-08-26 18:27:30 +02:00
- zip GitlabReleaseTool.zip gitlabreleaseuploader.py deleterelease.py checksemver.py
2020-06-08 15:51:53 +00:00
- python gitlabreleaseuploader.py -p $PRIVATE_TOKEN -i $CI_PROJECT_ID -u $CI_PROJECT_URL -I $CI_SERVER_URL
2019-07-16 15:32:20 +02:00
-f GitlabReleaseTool.zip -F info.json -T $CI_COMMIT_REF_NAME
2019-05-30 14:35:35 +02:00