From b4b1a15c8a9475e76eb2c9366ef7239bed27ca2e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 21 Dec 2022 09:14:36 +0100 Subject: [PATCH] ci: switch to molecule v4 --- .drone.jsonnet | 8 ++++---- .drone.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 987f040..8acf07c 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='rocky8') = { 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 3c88072..045a7ed 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 rocky8 environment: @@ -147,6 +147,6 @@ depends_on: --- kind: signature -hmac: 602b8adce8ee2268d2ded0ad9a26963461aaa5796b5a3f7e39cf5d38a4b325b0 +hmac: 6784db9f8341a57f7309c82a1b0fff7fe5980453235d3664f3bce87f1e77170d ...