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 f8d9121..811f01a 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -8,7 +8,7 @@ dependency: requirements-file: molecule/requirements.yml platforms: - name: "rocky9-sudo" - server_type: "cx11" + server_type: "CX22" image: "rocky-9" provisioner: name: ansible