mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-25 06:10:43 +00:00
ci: use python311 base image on ci (#409)
This commit is contained in:
parent
e706eff80c
commit
e43b33c96d
@ -26,7 +26,7 @@ local PipelineLint = {
|
||||
steps: [
|
||||
{
|
||||
name: 'yapf',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
@ -40,7 +40,7 @@ local PipelineLint = {
|
||||
},
|
||||
{
|
||||
name: 'flake8',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
@ -68,7 +68,7 @@ local PipelineTest = {
|
||||
steps: [
|
||||
{
|
||||
name: 'fetch',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
commands: [
|
||||
'git fetch -tq',
|
||||
],
|
||||
@ -97,7 +97,7 @@ local PipelineSecurity = {
|
||||
steps: [
|
||||
{
|
||||
name: 'bandit',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
@ -128,7 +128,7 @@ local PipelineBuildPackage = {
|
||||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
commands: [
|
||||
'git fetch -tq',
|
||||
'pip install poetry poetry-dynamic-versioning -qq',
|
||||
@ -174,7 +174,7 @@ local PipelineBuildPackage = {
|
||||
},
|
||||
{
|
||||
name: 'publish-pypi',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
commands: [
|
||||
'git fetch -tq',
|
||||
'pip install poetry poetry-dynamic-versioning -qq',
|
||||
@ -212,7 +212,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
||||
},
|
||||
}] else [{
|
||||
name: 'build',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
commands: [
|
||||
'git fetch -tq',
|
||||
'pip install poetry poetry-dynamic-versioning -qq',
|
||||
|
18
.drone.yml
18
.drone.yml
@ -8,7 +8,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: yapf
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
@ -19,7 +19,7 @@ steps:
|
||||
PY_COLORS: 1
|
||||
|
||||
- name: flake8
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
@ -45,7 +45,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: fetch
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
|
||||
@ -133,7 +133,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: bandit
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
@ -162,7 +162,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
@ -201,7 +201,7 @@ steps:
|
||||
- refs/tags/**
|
||||
|
||||
- name: publish-pypi
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
@ -234,7 +234,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
@ -312,7 +312,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
@ -642,6 +642,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 473ac51715039c556f5dc1121536f9312b30bde457e3d2be0fe71e6a50d1cc53
|
||||
hmac: 9dca9cb81252f9cb9030696ec4e3cdd05248c65ce56d07727f1c9443377fa935
|
||||
|
||||
...
|
||||
|
@ -14,6 +14,7 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Topic :: Utilities",
|
||||
"Topic :: Software Development",
|
||||
"Topic :: Software Development :: Documentation",
|
||||
|
Loading…
Reference in New Issue
Block a user