update ci images
All checks were successful
All checks were successful
This commit is contained in:
parent
5efac3de11
commit
417aca8aae
3 changed files with 11 additions and 11 deletions
|
@ -21,7 +21,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
#branch: master
|
#branch: master
|
||||||
event: tag
|
event: tag
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- hatch build
|
- hatch build
|
||||||
|
@ -31,7 +31,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
#branch: master
|
#branch: master
|
||||||
event: tag
|
event: tag
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
secrets:
|
secrets:
|
||||||
- source: pypi_username
|
- source: pypi_username
|
||||||
|
|
|
@ -21,7 +21,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
event: pull_request
|
event: pull_request
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- hatch build
|
- hatch build
|
||||||
|
@ -31,7 +31,7 @@ pipeline:
|
||||||
# when:
|
# when:
|
||||||
# branch: master
|
# branch: master
|
||||||
# event: pull_request
|
# event: pull_request
|
||||||
# image: cr.44net.ch/drone-plugins/test:1-linux-amd64
|
# image: cr.44net.ch/ci-plugins/tests:1-linux-amd64
|
||||||
# pull: true
|
# pull: true
|
||||||
# commands:
|
# commands:
|
||||||
# - tox
|
# - tox
|
||||||
|
@ -41,7 +41,7 @@ pipeline:
|
||||||
# when:
|
# when:
|
||||||
# branch: master
|
# branch: master
|
||||||
# event: pull_request
|
# event: pull_request
|
||||||
# image: cr.44net.ch/drone-plugins/test:1-linux-arm64
|
# image: cr.44net.ch/ci-plugins/tests:1-linux-arm64
|
||||||
# pull: true
|
# pull: true
|
||||||
# commands:
|
# commands:
|
||||||
# - tox
|
# - tox
|
||||||
|
|
|
@ -12,35 +12,35 @@ pipeline:
|
||||||
|
|
||||||
# check code style - shell
|
# check code style - shell
|
||||||
test-shfmt:
|
test-shfmt:
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- shfmt -d -i 4 -bn -ci -sr .
|
- shfmt -d -i 4 -bn -ci -sr .
|
||||||
|
|
||||||
# check code style - python
|
# check code style - python
|
||||||
test-black:
|
test-black:
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- black --check --diff .
|
- black --check --diff .
|
||||||
|
|
||||||
# check imports - python
|
# check imports - python
|
||||||
test-isort:
|
test-isort:
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- isort --check-only --diff .
|
- isort --check-only --diff .
|
||||||
|
|
||||||
# check static typing - python
|
# check static typing - python
|
||||||
test-mypy:
|
test-mypy:
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- mypy --install-types --non-interactive mangadlp/
|
- mypy --install-types --non-interactive mangadlp/
|
||||||
|
|
||||||
# test code and generate coverage report
|
# test code and generate coverage report
|
||||||
test-coverage-pytest:
|
test-coverage-pytest:
|
||||||
image: cr.44net.ch/drone-plugins/test
|
image: cr.44net.ch/ci-plugins/tests
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
@ -52,7 +52,7 @@ pipeline:
|
||||||
sonarqube-analysis:
|
sonarqube-analysis:
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
image: cr.44net.ch/drone-plugins/sonarqube
|
image: cr.44net.ch/ci-plugins/sonar-scanner
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
sonar_host: https://sonarqube.44net.ch
|
sonar_host: https://sonarqube.44net.ch
|
||||||
|
|
Loading…
Reference in a new issue