From 610f32b70958baf568ac71e522d441094c5bf6a1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 21 Dec 2022 09:14:08 +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 2af2d3e..502609d 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 dbb3aba..8ef89b1 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: @@ -147,6 +147,6 @@ depends_on: --- kind: signature -hmac: cfcf9451be440dbd0224516a9f2f773306f727a9cd146da832d791d71233a1c6 +hmac: 14e1f1282e2097c91f14c7066067ce2ed6278b97f844f345173cfad536e16707 ...