From 191476ae949c4168c72d6c2249f6bcdaaccaa8d5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 16:28:26 +0200 Subject: [PATCH 01/11] fix: fix ansible temp dir --- .woodpecker/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index d332edc..5d261b9 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -11,6 +11,7 @@ variables: group: molecule environment: PY_COLORS: "1" + ANSIBLE_LOCAL_TEMP: /tmp HCLOUD_TOKEN: from_secret: molecule_hcloud_token -- 2.45.2 From e9d11ae6de65a2f2739f74c3fa859f224ff02036 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 16:29:30 +0200 Subject: [PATCH 02/11] fix --- .woodpecker/lint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index 59b112b..41e6fe3 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -12,6 +12,7 @@ steps: - ansible-lint environment: FORCE_COLOR: "1" + ANSIBLE_LOCAL_TEMP: /tmp - name: python-format image: docker.io/python:3.12 -- 2.45.2 From c02b551a060af1b9202908a8428d63b183a7a2f1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 16:43:40 +0200 Subject: [PATCH 03/11] debug --- .woodpecker/lint.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index 41e6fe3..3bf7a5b 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -9,6 +9,11 @@ steps: - name: ansible-lint image: ghcr.io/ansible/community-ansible-dev-tools commands: + - pwd + - id + - echo $PATH + - which ansible-lint + - ansible-lint --help - ansible-lint environment: FORCE_COLOR: "1" -- 2.45.2 From 68a07e6ea8e99f967ff88c8a066b44f2b90ad3cb Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 16:50:18 +0200 Subject: [PATCH 04/11] debug --- .woodpecker/lint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index 3bf7a5b..380d8a3 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -11,6 +11,7 @@ steps: commands: - pwd - id + - echo $HOME - echo $PATH - which ansible-lint - ansible-lint --help -- 2.45.2 From f451265e3397132583fae1dbd16d363e206f3552 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 20:25:42 +0200 Subject: [PATCH 05/11] debug --- .woodpecker/lint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index 380d8a3..b45a2db 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -9,6 +9,7 @@ steps: - name: ansible-lint image: ghcr.io/ansible/community-ansible-dev-tools commands: + - sleep 10000 - pwd - id - echo $HOME -- 2.45.2 From 545f8ef368733b37bc80d610dd50db7c7134dc85 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 20:47:50 +0200 Subject: [PATCH 06/11] debug --- .woodpecker/lint.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index b45a2db..e4297c9 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -9,17 +9,11 @@ steps: - name: ansible-lint image: ghcr.io/ansible/community-ansible-dev-tools commands: - - sleep 10000 - - pwd - - id - - echo $HOME - - echo $PATH - - which ansible-lint - - ansible-lint --help - ansible-lint environment: + # TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552 + HOME: "/home/podman" FORCE_COLOR: "1" - ANSIBLE_LOCAL_TEMP: /tmp - name: python-format image: docker.io/python:3.12 -- 2.45.2 From 20050319581e0abbce03bda5bda38a86f9de804d Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 20:50:33 +0200 Subject: [PATCH 07/11] debug --- .woodpecker/lint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index e4297c9..e0a10a9 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -9,6 +9,7 @@ steps: - name: ansible-lint image: ghcr.io/ansible/community-ansible-dev-tools commands: + - sleep 10000 - ansible-lint environment: # TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552 -- 2.45.2 From 09b43e86934a5ab88420668a8818c0bd44acb439 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 20:52:33 +0200 Subject: [PATCH 08/11] debug --- .woodpecker/lint.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index e0a10a9..5cd89e7 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -9,11 +9,10 @@ steps: - name: ansible-lint image: ghcr.io/ansible/community-ansible-dev-tools commands: - - sleep 10000 + # TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552 + - export HOME=/home/podman - ansible-lint environment: - # TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552 - HOME: "/home/podman" FORCE_COLOR: "1" - name: python-format -- 2.45.2 From 0ef0e0e7692726a95eba39a94042868d1171b013 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Aug 2024 20:56:16 +0200 Subject: [PATCH 09/11] debug --- .woodpecker/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index 5d261b9..81680a4 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -11,7 +11,6 @@ variables: group: molecule environment: PY_COLORS: "1" - ANSIBLE_LOCAL_TEMP: /tmp HCLOUD_TOKEN: from_secret: molecule_hcloud_token @@ -19,6 +18,8 @@ steps: - name: molecule-default <<: *molecule_base commands: + # TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552 + - export HOME=/home/podman - molecule test -s default depends_on: -- 2.45.2 From 1e985163ed4ebeba5b6894ff2c3f425bfa74e988 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 19 Aug 2024 08:33:00 +0200 Subject: [PATCH 10/11] switch to ansible-dev-tools image --- .woodpecker/lint.yaml | 4 +--- .woodpecker/test.yaml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.woodpecker/lint.yaml b/.woodpecker/lint.yaml index 5cd89e7..c48a8e4 100644 --- a/.woodpecker/lint.yaml +++ b/.woodpecker/lint.yaml @@ -7,10 +7,8 @@ when: steps: - name: ansible-lint - image: ghcr.io/ansible/community-ansible-dev-tools + image: quay.io/thegeeklab/ansible-dev-tools:1 commands: - # TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552 - - export HOME=/home/podman - ansible-lint environment: FORCE_COLOR: "1" diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index 81680a4..661dc8b 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -7,7 +7,7 @@ when: variables: - &molecule_base - image: ghcr.io/ansible/community-ansible-dev-tools + image: quay.io/thegeeklab/ansible-dev-tools:1 group: molecule environment: PY_COLORS: "1" @@ -18,8 +18,6 @@ steps: - name: molecule-default <<: *molecule_base commands: - # TODO: https://github.com/woodpecker-ci/woodpecker/issues/3552 - - export HOME=/home/podman - molecule test -s default depends_on: -- 2.45.2 From 4d1b60599d6e5dc434324353bd48936a09158b82 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 19 Aug 2024 09:12:28 +0200 Subject: [PATCH 11/11] fix doctor --- .woodpecker/docs.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.woodpecker/docs.yaml b/.woodpecker/docs.yaml index f053ca8..857444b 100644 --- a/.woodpecker/docs.yaml +++ b/.woodpecker/docs.yaml @@ -9,11 +9,11 @@ steps: - name: generate image: quay.io/thegeeklab/ansible-doctor environment: - ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/ - ANSIBLE_DOCTOR_FORCE_OVERWRITE: "true" - ANSIBLE_DOCTOR_LOG_LEVEL: INFO - ANSIBLE_DOCTOR_ROLE_NAME: ${CI_REPO_NAME} - ANSIBLE_DOCTOR_TEMPLATE: readme + ANSIBLE_DOCTOR_EXCLUDE_FILES: "['molecule/']" + ANSIBLE_DOCTOR_RENDERER__FORCE_OVERWRITE: "true" + ANSIBLE_DOCTOR_LOGGING__LEVEL: info + ANSIBLE_DOCTOR_ROLE__NAME: ${CI_REPO_NAME} + ANSIBLE_DOCTOR_TEMPLATE__NAME: readme - name: format image: quay.io/thegeeklab/alpine-tools -- 2.45.2