mirror of
https://github.com/thegeeklab/docker-tidy.git
synced 2024-06-14 06:10:52 +02:00
use pip installation for run verification
This commit is contained in:
parent
95d7cb820d
commit
23a7806dde
|
@ -5,9 +5,8 @@ local PythonVersion(pyversion='3.5') = {
|
||||||
PY_COLORS: 1,
|
PY_COLORS: 1,
|
||||||
},
|
},
|
||||||
commands: [
|
commands: [
|
||||||
'pip install pipenv -qq',
|
'pip install .',
|
||||||
'pipenv install --dev --keep-outdated',
|
'docker-tidy --help',
|
||||||
'pipenv run docker-tidy --help',
|
|
||||||
],
|
],
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'clone',
|
'clone',
|
||||||
|
@ -72,7 +71,7 @@ local PipelineDeps = {
|
||||||
|
|
||||||
local PipelineTest = {
|
local PipelineTest = {
|
||||||
kind: 'pipeline',
|
kind: 'pipeline',
|
||||||
name: 'test',
|
name: 'verify',
|
||||||
platform: {
|
platform: {
|
||||||
os: 'linux',
|
os: 'linux',
|
||||||
arch: 'amd64',
|
arch: 'amd64',
|
||||||
|
@ -113,7 +112,7 @@ local PipelineSecurity = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'test',
|
'verify',
|
||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
||||||
|
|
26
.drone.yml
26
.drone.yml
|
@ -52,7 +52,7 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: test
|
name: verify
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -62,9 +62,8 @@ steps:
|
||||||
- name: python35-pytest
|
- name: python35-pytest
|
||||||
image: python:3.5
|
image: python:3.5
|
||||||
commands:
|
commands:
|
||||||
- pip install pipenv -qq
|
- pip install .
|
||||||
- pipenv install --dev --keep-outdated
|
- docker-tidy --help
|
||||||
- pipenv run docker-tidy --help
|
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -73,9 +72,8 @@ steps:
|
||||||
- name: python36-pytest
|
- name: python36-pytest
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
commands:
|
commands:
|
||||||
- pip install pipenv -qq
|
- pip install .
|
||||||
- pipenv install --dev --keep-outdated
|
- docker-tidy --help
|
||||||
- pipenv run docker-tidy --help
|
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -84,9 +82,8 @@ steps:
|
||||||
- name: python37-pytest
|
- name: python37-pytest
|
||||||
image: python:3.7
|
image: python:3.7
|
||||||
commands:
|
commands:
|
||||||
- pip install pipenv -qq
|
- pip install .
|
||||||
- pipenv install --dev --keep-outdated
|
- docker-tidy --help
|
||||||
- pipenv run docker-tidy --help
|
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -95,9 +92,8 @@ steps:
|
||||||
- name: python38-pytest
|
- name: python38-pytest
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
commands:
|
commands:
|
||||||
- pip install pipenv -qq
|
- pip install .
|
||||||
- pipenv install --dev --keep-outdated
|
- docker-tidy --help
|
||||||
- pipenv run docker-tidy --help
|
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -137,7 +133,7 @@ trigger:
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- verify
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -486,6 +482,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 6895442dc05e0774292f058639bc483ca93f5404107e5294209d38ae894936a9
|
hmac: 54ee5fed7470d61a767d1d774adb82c1eeda89ec78efcfeec59557202303a405
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user