Upgrade to 1.22.6 #12
@ -1,5 +1,2 @@
|
||||
skip_list:
|
||||
- yaml[colons]
|
||||
- yaml[empty-lines]
|
||||
- yaml[line-length]
|
||||
- no-changed-when
|
||||
|
@ -7,22 +7,22 @@ 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
|
||||
|
||||
- name: Ansible Environment Verify
|
||||
run: |
|
||||
whoami
|
||||
. ./.ci.env
|
||||
env
|
||||
git log -1
|
||||
ansible --version
|
||||
ansible-lint --version
|
||||
echo "BUILD HOST: $(cat /etc/hostname)" && echo
|
||||
echo "BUILD USER: $(whoami)" && echo
|
||||
echo "PWD: $(pwd)" && 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: |
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user