mirror of
https://github.com/gsi-upm/soil
synced 2025-01-07 23:31:27 +00:00
Compare commits
5 Commits
c02e6ea2e8
...
42ddc02318
Author | SHA1 | Date | |
---|---|---|---|
|
42ddc02318 | ||
|
cab9a3440b | ||
|
db505da49c | ||
|
8eb8eb16eb | ||
|
3fc5ca8c08 |
@ -1,9 +1,10 @@
|
|||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- publish
|
||||||
|
- check_published
|
||||||
|
|
||||||
build:
|
docker:
|
||||||
stage: build
|
stage: publish
|
||||||
image:
|
image:
|
||||||
name: gcr.io/kaniko-project/executor:debug
|
name: gcr.io/kaniko-project/executor:debug
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
@ -16,13 +17,37 @@ build:
|
|||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
except:
|
|
||||||
- tags # Avoid running tests for tags, because they are already run for the branch
|
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
image: python:3.7
|
image: python:3.7
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- python setup.py test
|
- pip install -r requirements.txt -r test-requirements.txt
|
||||||
|
- python setup.py test
|
||||||
|
|
||||||
|
push_pypi:
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
image: python:3.7
|
||||||
|
stage: publish
|
||||||
|
script:
|
||||||
|
- echo $CI_COMMIT_TAG > soil/VERSION
|
||||||
|
- pip install twine
|
||||||
|
- python setup.py sdist bdist_wheel
|
||||||
|
- TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python -m twine upload dist/*
|
||||||
|
|
||||||
|
check_pypi:
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
image: python:3.7
|
||||||
|
stage: check_published
|
||||||
|
script:
|
||||||
|
- pip install soil==$CI_COMMIT_TAG
|
||||||
|
# Allow PYPI to update its index before we try to install
|
||||||
|
when: delayed
|
||||||
|
start_in: 2 minutes
|
||||||
|
@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [0.20.2]
|
||||||
|
### Fixed
|
||||||
|
* CI/CD testing issues
|
||||||
## [0.20.1]
|
## [0.20.1]
|
||||||
### Fixed
|
### Fixed
|
||||||
* Agents would run another step after dying.
|
* Agents would run another step after dying.
|
||||||
|
Loading…
Reference in New Issue
Block a user