add version output

This commit is contained in:
Robert Kaussow 2020-03-07 15:43:30 +01:00
parent 23a7806dde
commit 9f05344c85
2 changed files with 19 additions and 14 deletions

View File

@ -5,8 +5,9 @@ local PythonVersion(pyversion='3.5') = {
PY_COLORS: 1,
},
commands: [
'pip install .',
'pip install -qq .',
'docker-tidy --help',
'docker-tidy --version',
],
depends_on: [
'clone',
@ -29,7 +30,7 @@ local PipelineLint = {
},
commands: [
'pip install pipenv -qq',
'pipenv install --dev --keep-outdated',
'pipenv --bare install --dev --keep-outdated',
'pipenv run flake8 ./dockertidy',
],
},
@ -55,7 +56,7 @@ local PipelineDeps = {
},
commands: [
'pip install pipenv -qq',
'pipenv install --dev --keep-outdated',
'pipenv --bare install --dev --keep-outdated',
'pipenv check',
'pipenv run pipenv-setup check',
],
@ -106,7 +107,7 @@ local PipelineSecurity = {
},
commands: [
'pip install pipenv -qq',
'pipenv install --dev --keep-outdated',
'pipenv --bare install --dev --keep-outdated',
'pipenv run bandit -r ./dockertidy -x ./dockertidy/tests',
],
},
@ -335,7 +336,7 @@ local PipelineNotifications = {
DOCKERHUB_REPO_PREFIX: 'xoxys',
DOCKERHUB_REPO_NAME: '${DRONE_REPO_NAME}',
README_PATH: 'README.md',
SHORT_DESCRIPTION: 'docker-tidy - Simple annotation based documentation for your roles',
SHORT_DESCRIPTION: 'docker-tidy - Keep docker hosts tidy',
},
},
{

View File

@ -11,7 +11,7 @@ steps:
image: python:3.7
commands:
- pip install pipenv -qq
- pipenv install --dev --keep-outdated
- pipenv --bare install --dev --keep-outdated
- pipenv run flake8 ./dockertidy
environment:
PY_COLORS: 1
@ -35,7 +35,7 @@ steps:
image: python:3.7
commands:
- pip install pipenv -qq
- pipenv install --dev --keep-outdated
- pipenv --bare install --dev --keep-outdated
- pipenv check
- pipenv run pipenv-setup check
environment:
@ -62,8 +62,9 @@ steps:
- name: python35-pytest
image: python:3.5
commands:
- pip install .
- pip install -qq .
- docker-tidy --help
- docker-tidy --version
environment:
PY_COLORS: 1
depends_on:
@ -72,8 +73,9 @@ steps:
- name: python36-pytest
image: python:3.6
commands:
- pip install .
- pip install -qq .
- docker-tidy --help
- docker-tidy --version
environment:
PY_COLORS: 1
depends_on:
@ -82,8 +84,9 @@ steps:
- name: python37-pytest
image: python:3.7
commands:
- pip install .
- pip install -qq .
- docker-tidy --help
- docker-tidy --version
environment:
PY_COLORS: 1
depends_on:
@ -92,8 +95,9 @@ steps:
- name: python38-pytest
image: python:3.8
commands:
- pip install .
- pip install -qq .
- docker-tidy --help
- docker-tidy --version
environment:
PY_COLORS: 1
depends_on:
@ -121,7 +125,7 @@ steps:
image: python:3.7
commands:
- pip install pipenv -qq
- pipenv install --dev --keep-outdated
- pipenv --bare install --dev --keep-outdated
- pipenv run bandit -r ./dockertidy -x ./dockertidy/tests
environment:
PY_COLORS: 1
@ -454,7 +458,7 @@ steps:
DOCKERHUB_USERNAME:
from_secret: docker_username
README_PATH: README.md
SHORT_DESCRIPTION: docker-tidy - Simple annotation based documentation for your roles
SHORT_DESCRIPTION: docker-tidy - Keep docker hosts tidy
- name: matrix
image: plugins/matrix
@ -482,6 +486,6 @@ depends_on:
---
kind: signature
hmac: 54ee5fed7470d61a767d1d774adb82c1eeda89ec78efcfeec59557202303a405
hmac: 5501ddb0ffd0774614b7a435cecf5297e3000bb1f1dac8018b1af1cb8787281c
...