mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-01 08:00:04 +02:00
fix ci pipeline deps
This commit is contained in:
parent
de6ab91b83
commit
9310261b7d
|
@ -27,7 +27,7 @@ local PipelineLint = {
|
|||
steps: [
|
||||
{
|
||||
name: 'yapf',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
|
@ -41,7 +41,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',
|
||||
],
|
||||
|
@ -78,7 +78,7 @@ local PipelineTest = {
|
|||
PythonVersion(pyversion='3.11'),
|
||||
{
|
||||
name: 'codecov',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
CODECOV_TOKEN: { from_secret: 'codecov_token' },
|
||||
|
@ -88,9 +88,9 @@ local PipelineTest = {
|
|||
'codecov --required -X gcov',
|
||||
],
|
||||
depends_on: [
|
||||
'python38-pytest',
|
||||
'python39-pytest',
|
||||
'python310-pytest',
|
||||
'python311-pytest',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
@ -112,7 +112,7 @@ local PipelineSecurity = {
|
|||
steps: [
|
||||
{
|
||||
name: 'bandit',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
|
@ -142,7 +142,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',
|
||||
|
@ -188,7 +188,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',
|
||||
|
@ -214,7 +214,7 @@ local PipelineBuildPackage = {
|
|||
local PipelineBuildContainer(arch='amd64') = {
|
||||
local build = if arch == 'arm' then [{
|
||||
name: 'build',
|
||||
image: 'python:3.10-alpine',
|
||||
image: 'python:3.11-alpine',
|
||||
commands: [
|
||||
'apk add -Uq --no-cache build-base openssl-dev libffi-dev musl-dev python3-dev git cargo',
|
||||
'git fetch -tq',
|
||||
|
@ -226,7 +226,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',
|
||||
|
|
24
.drone.yml
24
.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
|
||||
|
@ -44,7 +44,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: fetch
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
|
||||
|
@ -91,7 +91,7 @@ steps:
|
|||
- fetch
|
||||
|
||||
- name: codecov
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- pip install codecov -qq
|
||||
- codecov --required -X gcov
|
||||
|
@ -100,9 +100,9 @@ steps:
|
|||
from_secret: codecov_token
|
||||
PY_COLORS: 1
|
||||
depends_on:
|
||||
- python38-pytest
|
||||
- python39-pytest
|
||||
- python310-pytest
|
||||
- python311-pytest
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
|
@ -123,7 +123,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: bandit
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
|
@ -151,7 +151,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
|
@ -190,7 +190,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
|
||||
|
@ -223,7 +223,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
|
@ -301,7 +301,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.10
|
||||
image: python:3.11
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
|
@ -379,7 +379,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.10-alpine
|
||||
image: python:3.11-alpine
|
||||
commands:
|
||||
- apk add -Uq --no-cache build-base openssl-dev libffi-dev musl-dev python3-dev git cargo
|
||||
- git fetch -tq
|
||||
|
@ -631,6 +631,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: e419f9f1cdb34994a5a2aa8d3bd179d0800001586896d79af7b8f4c17d6f1489
|
||||
hmac: 0e0718865f1e14ff4384bbdd577c85d1bcd023b8de6b413f50d13fae02ddc4ee
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user