From 86268811e6297b1682ea84ee069faa4076cbfb51 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 13:43:50 +0200 Subject: [PATCH] ci: fix deprecated settings --- .woodpecker/lint.yaml | 2 +- .woodpecker/notify.yml | 14 +++++++------- .woodpecker/test.yaml | 5 ++--- molecule/default/molecule.yml | 2 +- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index ca4facd..36b1ec8 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -25,6 +25,6 @@ steps: image: docker.io/python:3.12 commands: - pip install -qq ruff - - ruff . + - ruff check . environment: PY_COLORS: "1" diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml index 9957125..45bc21e 100644 --- a/.woodpecker/notify.yml +++ b/.woodpecker/notify.yml @@ -13,14 +13,14 @@ steps: settings: homeserver: from_secret: matrix_homeserver - password: - from_secret: matrix_password - roomid: - from_secret: matrix_roomid - username: - from_secret: matrix_username + room_id: + from_secret: matrix_room_id + user_id: + from_secret: matrix_user_id + access_token: + from_secret: matrix_access_token when: - - status: [success, failure] + - status: [failure] depends_on: - docs diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index a4991f7..256ad91 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -9,11 +9,10 @@ variables: - &molecule_base image: quay.io/thegeeklab/molecule:6 group: molecule - secrets: - - source: molecule_hcloud_token - target: HCLOUD_TOKEN environment: PY_COLORS: "1" + HCLOUD_TOKEN: + from_secret: molecule_hcloud_token steps: - name: molecule-default diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index bddb98d..a2a2ea6 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -8,7 +8,7 @@ dependency: requirements-file: molecule/requirements.yml platforms: - name: "rocky9-lvm" - server_type: "cx11" + server_type: "CX22" image: "rocky-9" volumes: - name: volume-1