From 5a034ea71ba8add35e4b4e17df436b8a0cbc1d9b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 21 Dec 2022 09:14:31 +0100 Subject: [PATCH] ci: switch to molecule v4 --- .drone.jsonnet | 8 ++++---- .drone.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 38334f9..fb7c62e 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -15,18 +15,18 @@ local PipelineLinting = { }, { name: 'python-format', - image: 'python:3.10', + image: 'python:3.11', environment: { PY_COLORS: 1, }, commands: [ 'pip install -qq yapf', - '[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)', + '[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)', ], }, { name: 'python-flake8', - image: 'python:3.10', + image: 'python:3.11', environment: { PY_COLORS: 1, }, @@ -58,7 +58,7 @@ local PipelineDeployment(scenario='centos7') = { steps: [ { name: 'ansible-molecule', - image: 'thegeeklab/molecule:3', + image: 'thegeeklab/molecule:4', environment: { HCLOUD_TOKEN: { from_secret: 'hcloud_token' }, }, diff --git a/.drone.yml b/.drone.yml index 15584a2..1ac06a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,15 +13,15 @@ steps: - ansible-later - name: python-format - image: python:3.10 + image: python:3.11 commands: - pip install -qq yapf - - "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)" + - "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)" environment: PY_COLORS: 1 - name: python-flake8 - image: python:3.10 + image: python:3.11 commands: - pip install -qq flake8 - flake8 @@ -51,7 +51,7 @@ workspace: steps: - name: ansible-molecule - image: thegeeklab/molecule:3 + image: thegeeklab/molecule:4 commands: - molecule test -s centos7 environment: @@ -84,7 +84,7 @@ workspace: steps: - name: ansible-molecule - image: thegeeklab/molecule:3 + image: thegeeklab/molecule:4 commands: - molecule test -s rocky8 environment: @@ -182,6 +182,6 @@ depends_on: --- kind: signature -hmac: 3c021da5eb935bc4c25f3c8798077f26dc370f4c310ad4c6fe948ae4d7152ad7 +hmac: 2018a1c8a7e701c341dfe2bbb9b1ded06fb17afb13734a0ebd71052d5dc39fe0 ...