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, PY_COLORS: 1,
}, },
commands: [ commands: [
'pip install .', 'pip install -qq .',
'docker-tidy --help', 'docker-tidy --help',
'docker-tidy --version',
], ],
depends_on: [ depends_on: [
'clone', 'clone',
@ -29,7 +30,7 @@ local PipelineLint = {
}, },
commands: [ commands: [
'pip install pipenv -qq', 'pip install pipenv -qq',
'pipenv install --dev --keep-outdated', 'pipenv --bare install --dev --keep-outdated',
'pipenv run flake8 ./dockertidy', 'pipenv run flake8 ./dockertidy',
], ],
}, },
@ -55,7 +56,7 @@ local PipelineDeps = {
}, },
commands: [ commands: [
'pip install pipenv -qq', 'pip install pipenv -qq',
'pipenv install --dev --keep-outdated', 'pipenv --bare install --dev --keep-outdated',
'pipenv check', 'pipenv check',
'pipenv run pipenv-setup check', 'pipenv run pipenv-setup check',
], ],
@ -106,7 +107,7 @@ local PipelineSecurity = {
}, },
commands: [ commands: [
'pip install pipenv -qq', 'pip install pipenv -qq',
'pipenv install --dev --keep-outdated', 'pipenv --bare install --dev --keep-outdated',
'pipenv run bandit -r ./dockertidy -x ./dockertidy/tests', 'pipenv run bandit -r ./dockertidy -x ./dockertidy/tests',
], ],
}, },
@ -335,7 +336,7 @@ local PipelineNotifications = {
DOCKERHUB_REPO_PREFIX: 'xoxys', DOCKERHUB_REPO_PREFIX: 'xoxys',
DOCKERHUB_REPO_NAME: '${DRONE_REPO_NAME}', DOCKERHUB_REPO_NAME: '${DRONE_REPO_NAME}',
README_PATH: 'README.md', 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 image: python:3.7
commands: commands:
- pip install pipenv -qq - pip install pipenv -qq
- pipenv install --dev --keep-outdated - pipenv --bare install --dev --keep-outdated
- pipenv run flake8 ./dockertidy - pipenv run flake8 ./dockertidy
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
@ -35,7 +35,7 @@ steps:
image: python:3.7 image: python:3.7
commands: commands:
- pip install pipenv -qq - pip install pipenv -qq
- pipenv install --dev --keep-outdated - pipenv --bare install --dev --keep-outdated
- pipenv check - pipenv check
- pipenv run pipenv-setup check - pipenv run pipenv-setup check
environment: environment:
@ -62,8 +62,9 @@ steps:
- name: python35-pytest - name: python35-pytest
image: python:3.5 image: python:3.5
commands: commands:
- pip install . - pip install -qq .
- docker-tidy --help - docker-tidy --help
- docker-tidy --version
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -72,8 +73,9 @@ steps:
- name: python36-pytest - name: python36-pytest
image: python:3.6 image: python:3.6
commands: commands:
- pip install . - pip install -qq .
- docker-tidy --help - docker-tidy --help
- docker-tidy --version
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -82,8 +84,9 @@ steps:
- name: python37-pytest - name: python37-pytest
image: python:3.7 image: python:3.7
commands: commands:
- pip install . - pip install -qq .
- docker-tidy --help - docker-tidy --help
- docker-tidy --version
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -92,8 +95,9 @@ steps:
- name: python38-pytest - name: python38-pytest
image: python:3.8 image: python:3.8
commands: commands:
- pip install . - pip install -qq .
- docker-tidy --help - docker-tidy --help
- docker-tidy --version
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -121,7 +125,7 @@ steps:
image: python:3.7 image: python:3.7
commands: commands:
- pip install pipenv -qq - pip install pipenv -qq
- pipenv install --dev --keep-outdated - pipenv --bare install --dev --keep-outdated
- pipenv run bandit -r ./dockertidy -x ./dockertidy/tests - pipenv run bandit -r ./dockertidy -x ./dockertidy/tests
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
@ -454,7 +458,7 @@ steps:
DOCKERHUB_USERNAME: DOCKERHUB_USERNAME:
from_secret: docker_username from_secret: docker_username
README_PATH: README.md 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 - name: matrix
image: plugins/matrix image: plugins/matrix
@ -482,6 +486,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 54ee5fed7470d61a767d1d774adb82c1eeda89ec78efcfeec59557202303a405 hmac: 5501ddb0ffd0774614b7a435cecf5297e3000bb1f1dac8018b1af1cb8787281c
... ...