mirror of
https://github.com/thegeeklab/git-batch.git
synced 2024-11-21 10:30:39 +00:00
update pipelines and docker base image to python3.9
This commit is contained in:
parent
e21ea0ebaa
commit
14e3c5a6e9
@ -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',
|
||||
|
27
.drone.yml
27
.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
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user