From 14e3c5a6e9a61a3e594c7258318a22e7b1319423 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 12 Nov 2020 20:57:25 +0100 Subject: [PATCH] update pipelines and docker base image to python3.9 --- .drone.jsonnet | 9 +++++---- .drone.yml | 27 ++++++++++++++++++++------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 0dd2f39..c6646cc 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -26,7 +26,7 @@ local PipelineLint = { steps: [ { name: 'flake8', - image: 'python:3.8', + image: 'python:3.9', pull: 'always', environment: { PY_COLORS: 1, @@ -55,6 +55,7 @@ local PipelineTest = { PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.8'), + PythonVersion(pyversion='3.9'), ], trigger: { ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], @@ -74,7 +75,7 @@ local PipelineSecurity = { steps: [ { name: 'bandit', - image: 'python:3.8', + image: 'python:3.9', pull: 'always', environment: { PY_COLORS: 1, @@ -104,7 +105,7 @@ local PipelineBuildPackage = { steps: [ { name: 'build', - image: 'python:3.8', + image: 'python:3.9', commands: [ 'python setup.py sdist bdist_wheel', ], @@ -162,7 +163,7 @@ local PipelineBuildContainer(arch='amd64') = { steps: [ { name: 'build', - image: 'python:3.8', + image: 'python:3.9', pull: 'always', commands: [ 'python setup.py bdist_wheel', diff --git a/.drone.yml b/.drone.yml index 76a8af6..8d9dc7e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ platform: steps: - name: flake8 pull: always - image: python:3.8 + image: python:3.9 commands: - pip install -r dev-requirements.txt -qq - pip install -qq . @@ -84,6 +84,19 @@ steps: depends_on: - clone +- name: python39-pytest + pull: always + image: python:3.9 + commands: + - pip install -r dev-requirements.txt -qq + - pip install -qq . + - git-batch --help + - git-batch --version + environment: + PY_COLORS: 1 + depends_on: + - clone + trigger: ref: - refs/heads/master @@ -104,7 +117,7 @@ platform: steps: - name: bandit pull: always - image: python:3.8 + image: python:3.9 commands: - pip install -r dev-requirements.txt -qq - pip install -qq . @@ -131,7 +144,7 @@ platform: steps: - name: build - image: python:3.8 + image: python:3.9 commands: - python setup.py sdist bdist_wheel @@ -188,7 +201,7 @@ platform: steps: - name: build pull: always - image: python:3.8 + image: python:3.9 commands: - python setup.py bdist_wheel @@ -266,7 +279,7 @@ platform: steps: - name: build pull: always - image: python:3.8 + image: python:3.9 commands: - python setup.py bdist_wheel @@ -344,7 +357,7 @@ platform: steps: - name: build pull: always - image: python:3.8 + image: python:3.9 commands: - python setup.py bdist_wheel @@ -506,6 +519,6 @@ depends_on: --- kind: signature -hmac: 2d40f7967d55df1f5e96b625062998a20f33a32d95f71912b17944f3525e77c6 +hmac: df44919980e20290304c17643e6b0f68a89a55e78c47d2bc401e697b59e2ce0d ...