From 2d1bf6cba9bdca7a73a0baafbe929b2489b001e5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 21 Dec 2022 09:13:51 +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 c9655f5..0b6aeec 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: 8cc03d7f81ae233dfaec11d20338cbf0cb20f6c4e297525fc40d7439382b4b6e +hmac: f43433c632531087fbb23caeaa43f28d1ab4882fc85d2fbc45f02261d4349cc8 ...