fix drone config
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Robert Kaussow 2023-07-29 22:32:17 +02:00
parent 8f735b6fce
commit 43fa436919
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 1 additions and 16 deletions

View File

@ -6,7 +6,6 @@ local PythonVersion(pyversion='3.8') = {
}, },
commands: [ commands: [
'pip install poetry -qq', 'pip install poetry -qq',
'poetry config experimental.new-installer false',
'poetry install --all-extras', 'poetry install --all-extras',
'poetry run pytest', 'poetry run pytest',
], ],
@ -24,7 +23,6 @@ local AnsibleVersion(version='devel') = {
}, },
commands: [ commands: [
'pip install poetry -qq', 'pip install poetry -qq',
'poetry config experimental.new-installer false',
'poetry install', 'poetry install',
'poetry run pip install https://github.com/ansible/ansible/archive/' + gitversion + '.tar.gz --disable-pip-version-check', 'poetry run pip install https://github.com/ansible/ansible/archive/' + gitversion + '.tar.gz --disable-pip-version-check',
'poetry run ansible --version', 'poetry run ansible --version',
@ -52,7 +50,6 @@ local PipelineLint = {
commands: [ commands: [
'git fetch -tq', 'git fetch -tq',
'pip install poetry -qq', 'pip install poetry -qq',
'poetry config experimental.new-installer false',
'poetry install --all-extras', 'poetry install --all-extras',
'poetry run yapf -dr ./plugins', 'poetry run yapf -dr ./plugins',
], ],
@ -66,7 +63,6 @@ local PipelineLint = {
commands: [ commands: [
'git fetch -tq', 'git fetch -tq',
'pip install poetry -qq', 'pip install poetry -qq',
'poetry config experimental.new-installer false',
'poetry install --all-extras', 'poetry install --all-extras',
'poetry run ruff ./plugins', 'poetry run ruff ./plugins',
], ],
@ -136,7 +132,6 @@ local PipelineBuild = {
'GALAXY_VERSION=${DRONE_TAG##v}', 'GALAXY_VERSION=${DRONE_TAG##v}',
"sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml", "sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml",
'pip install poetry -qq', 'pip install poetry -qq',
'poetry config experimental.new-installer false',
'poetry install --all-extras', 'poetry install --all-extras',
'poetry run ansible-galaxy collection build --output-path dist/', 'poetry run ansible-galaxy collection build --output-path dist/',
], ],

View File

@ -12,7 +12,6 @@ steps:
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install --all-extras - poetry install --all-extras
- poetry run yapf -dr ./plugins - poetry run yapf -dr ./plugins
environment: environment:
@ -23,7 +22,6 @@ steps:
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install --all-extras - poetry install --all-extras
- poetry run ruff ./plugins - poetry run ruff ./plugins
environment: environment:
@ -48,7 +46,6 @@ steps:
image: python:3.8 image: python:3.8
commands: commands:
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install --all-extras - poetry install --all-extras
- poetry run pytest - poetry run pytest
environment: environment:
@ -60,7 +57,6 @@ steps:
image: python:3.9 image: python:3.9
commands: commands:
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install --all-extras - poetry install --all-extras
- poetry run pytest - poetry run pytest
environment: environment:
@ -72,7 +68,6 @@ steps:
image: python:3.10 image: python:3.10
commands: commands:
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install --all-extras - poetry install --all-extras
- poetry run pytest - poetry run pytest
environment: environment:
@ -84,7 +79,6 @@ steps:
image: python:3.11 image: python:3.11
commands: commands:
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install --all-extras - poetry install --all-extras
- poetry run pytest - poetry run pytest
environment: environment:
@ -117,7 +111,6 @@ steps:
image: python:3.9 image: python:3.9
commands: commands:
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install - poetry install
- poetry run pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check - poetry run pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check
- poetry run ansible --version - poetry run ansible --version
@ -131,7 +124,6 @@ steps:
image: python:3.9 image: python:3.9
commands: commands:
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install - poetry install
- poetry run pip install https://github.com/ansible/ansible/archive/stable-2.14.tar.gz --disable-pip-version-check - poetry run pip install https://github.com/ansible/ansible/archive/stable-2.14.tar.gz --disable-pip-version-check
- poetry run ansible --version - poetry run ansible --version
@ -145,7 +137,6 @@ steps:
image: python:3.9 image: python:3.9
commands: commands:
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install - poetry install
- poetry run pip install https://github.com/ansible/ansible/archive/stable-2.13.tar.gz --disable-pip-version-check - poetry run pip install https://github.com/ansible/ansible/archive/stable-2.13.tar.gz --disable-pip-version-check
- poetry run ansible --version - poetry run ansible --version
@ -179,7 +170,6 @@ steps:
- GALAXY_VERSION=${DRONE_TAG##v} - GALAXY_VERSION=${DRONE_TAG##v}
- "sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml" - "sed -i 's/version: 0.0.0/version: '\"$${GALAXY_VERSION:-0.0.0}\"'/g' galaxy.yml"
- pip install poetry -qq - pip install poetry -qq
- poetry config experimental.new-installer false
- poetry install --all-extras - poetry install --all-extras
- poetry run ansible-galaxy collection build --output-path dist/ - poetry run ansible-galaxy collection build --output-path dist/
@ -289,6 +279,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 984617116d21136e915bc5f1af838be713fe0f3442645a45ec7637e13ab890d1 hmac: 440b43b8ce15d152c7abdd936c77b25aeb978c5f63e7f7ac9895063afbdba384
... ...