From 922a7c46d180576bee726e362ee478725ffd2b44 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 19 Feb 2021 13:47:26 +0100 Subject: [PATCH] ci: use python3.9 for pipeline steps and remove python3.5 --- .drone.jsonnet | 8 ++++---- .drone.yml | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 69c9d8a..8d80f11 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,4 +1,4 @@ -local PythonVersion(pyversion='3.5') = { +local PythonVersion(pyversion='3.6') = { name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest', image: 'python:' + pyversion, environment: { @@ -24,7 +24,7 @@ local PipelineLint = { steps: [ { name: 'flake8', - image: 'python:3.8', + image: 'python:3.9', environment: { PY_COLORS: 1, }, @@ -47,10 +47,10 @@ local PipelineTest = { arch: 'amd64', }, steps: [ - PythonVersion(pyversion='3.5'), PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.8'), + PythonVersion(pyversion='3.9'), ], depends_on: [ 'lint', @@ -70,7 +70,7 @@ local PipelineBuild = { steps: [ { name: 'build', - image: 'python:3.8', + image: 'python:3.9', commands: [ 'pip install ansible -qq', 'ansible-galaxy collection build --output-path dist/', diff --git a/.drone.yml b/.drone.yml index 3d8a66b..18934e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: flake8 - image: python:3.8 + image: python:3.9 commands: - pip install -r dev-requirements.txt -qq - flake8 @@ -30,8 +30,8 @@ platform: arch: amd64 steps: -- name: python35-pytest - image: python:3.5 +- name: python36-pytest + image: python:3.6 commands: - pip install -r dev-requirements.txt -qq - pip install -r test/unit/requirements.txt -qq @@ -41,8 +41,8 @@ steps: depends_on: - clone -- name: python36-pytest - image: python:3.6 +- name: python37-pytest + image: python:3.7 commands: - pip install -r dev-requirements.txt -qq - pip install -r test/unit/requirements.txt -qq @@ -52,8 +52,8 @@ steps: depends_on: - clone -- name: python37-pytest - image: python:3.7 +- name: python38-pytest + image: python:3.8 commands: - pip install -r dev-requirements.txt -qq - pip install -r test/unit/requirements.txt -qq @@ -63,8 +63,8 @@ steps: depends_on: - clone -- name: python38-pytest - image: python:3.8 +- name: python39-pytest + image: python:3.9 commands: - pip install -r dev-requirements.txt -qq - pip install -r test/unit/requirements.txt -qq @@ -93,7 +93,7 @@ platform: steps: - name: build - image: python:3.8 + image: python:3.9 commands: - pip install ansible -qq - ansible-galaxy collection build --output-path dist/ @@ -199,6 +199,6 @@ depends_on: --- kind: signature -hmac: ccd6854d77f9c42527ab5ca2b8337c8ee904fc917b9b229e2761352f578b35e6 +hmac: 1bd261fd58a56939db7b1e2cbccf52a5d3d43e04329da9222524fa924c9de9dc ...