From 8dee1f16b5a1649000ecedac317beedca6e5bbcc Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 6 Jan 2025 13:49:44 -0500 Subject: [PATCH 1/5] Upgrade to 1.22.6; lint updates --- .ansible-lint | 3 --- gitea.yml | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index b6d3809..4bda88c 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,5 +1,2 @@ skip_list: - - yaml[colons] - - yaml[empty-lines] - - yaml[line-length] - no-changed-when diff --git a/gitea.yml b/gitea.yml index 46817b4..1bd9765 100644 --- a/gitea.yml +++ b/gitea.yml @@ -6,7 +6,7 @@ vars: - __gitea_version: 1.22.5 + __gitea_version: 1.22.6 __gitea_arch: amd64 __gitea_binary: "https://dl.gitea.io/gitea/{{ __gitea_version }}/\ gitea-{{ __gitea_version }}-linux-{{ __gitea_arch }}" @@ -31,7 +31,7 @@ register: r_check_gitea - name: Fetch Gitea binary and notify user - when : + when: - (r_check_gitea.rc == 1 or r_check_gitea.stdout is not search(__gitea_version)) block: - name: Gitea binary not found or version mismatch @@ -39,7 +39,7 @@ msg: "Gitea binary not found or version mismatch." - name: "Fetch Gitea {{ __gitea_version }}" - ansible.builtin.get_url : + ansible.builtin.get_url: url: "{{ __gitea_binary }}" dest: /usr/local/bin/gitea mode: "0755" From 004e8c70968ffc1853e9eb9dee5d6f4f2722d5f9 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 6 Jan 2025 13:54:41 -0500 Subject: [PATCH 2/5] CI updates --- .gitea/workflows/ansible-test.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ansible-test.yml b/.gitea/workflows/ansible-test.yml index 95ff249..b780eb5 100644 --- a/.gitea/workflows/ansible-test.yml +++ b/.gitea/workflows/ansible-test.yml @@ -17,12 +17,15 @@ jobs: - name: Ansible Environment Verify run: | - whoami - . ./.ci.env - env - git log -1 - ansible --version - ansible-lint --version + echo "BUILD_USER: $(whoami)" && echo + echo "PWD: $(pwd)" && echo + hostnamectl && echo + lscpu && echo + . ./.ci.env && echo + env && echo + git log -1 && echo + ansible --version && echo + ansible-lint --version --offline && echo - name: Install Ansible Galaxy Dependencies run: | From 91acfac6876fe76e2b97ae28c9acb0658ec4536c Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 6 Jan 2025 13:57:53 -0500 Subject: [PATCH 3/5] CI updates 2 --- .gitea/workflows/ansible-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ansible-test.yml b/.gitea/workflows/ansible-test.yml index b780eb5..e73e328 100644 --- a/.gitea/workflows/ansible-test.yml +++ b/.gitea/workflows/ansible-test.yml @@ -7,10 +7,7 @@ on: jobs: Ansible-Development-Pipeline: - strategy: - matrix: - os: [ ansible-dev-centos9, ansible-dev-fedora39, ansible-dev-debian12 ] - runs-on: ${{ matrix.os }} + runs-on: ansible-dev-centos9 steps: - name: Clone repository uses: actions/checkout@v3 @@ -19,7 +16,7 @@ jobs: run: | echo "BUILD_USER: $(whoami)" && echo echo "PWD: $(pwd)" && echo - hostnamectl && echo + lscpu && echo . ./.ci.env && echo env && echo From ed86f473d9316e97b0334cbebfa2b53d08204190 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 6 Jan 2025 13:58:53 -0500 Subject: [PATCH 4/5] CI updates 3 --- .gitea/workflows/ansible-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ansible-test.yml b/.gitea/workflows/ansible-test.yml index e73e328..5148049 100644 --- a/.gitea/workflows/ansible-test.yml +++ b/.gitea/workflows/ansible-test.yml @@ -16,7 +16,7 @@ jobs: run: | echo "BUILD_USER: $(whoami)" && echo echo "PWD: $(pwd)" && echo - + cat /etc/hostname && echo lscpu && echo . ./.ci.env && echo env && echo From 54f9da7fe2482a123abd736a359cf564976740ae Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 6 Jan 2025 14:01:15 -0500 Subject: [PATCH 5/5] CI updates 4 --- .gitea/workflows/ansible-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ansible-test.yml b/.gitea/workflows/ansible-test.yml index 5148049..15e9071 100644 --- a/.gitea/workflows/ansible-test.yml +++ b/.gitea/workflows/ansible-test.yml @@ -14,9 +14,9 @@ jobs: - name: Ansible Environment Verify run: | - echo "BUILD_USER: $(whoami)" && echo + echo "BUILD HOST: $(cat /etc/hostname)" && echo + echo "BUILD USER: $(whoami)" && echo echo "PWD: $(pwd)" && echo - cat /etc/hostname && echo lscpu && echo . ./.ci.env && echo env && echo