From 7499d6be5cb22a83a5a4fdd6ceeebbf1d7b1abdc Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 14 Mar 2025 11:26:11 +0100 Subject: Remove EOL distrib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It also takes into account that Ansible collections are already installed. Change-Id: I6bad704228c3e79f21e67f6590bee422fd4c4740 Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting-ci.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'jjb') diff --git a/jjb/functest/xtesting-ci.yaml b/jjb/functest/xtesting-ci.yaml index b8d8ed767..efd11eb1f 100644 --- a/jjb/functest/xtesting-ci.yaml +++ b/jjb/functest/xtesting-ci.yaml @@ -253,8 +253,7 @@ ansible-galaxy install -f git+https://github.com/collivier/ansible-role-xtesting.git,{release} && \ mv ~/.ansible/roles/ansible-role-xtesting ~/.ansible/roles/collivier.xtesting ;; \ esac && \ - ansible-galaxy collection install ansible.posix community.general community.grafana \ - community.kubernetes community.docker community.postgresql community.crypto && \ + ansible-galaxy collection install community.kubernetes && \ ansible-playbook -vvvv ~/.ansible/roles/collivier.xtesting/tests/{playbook}.yml" - job-template: @@ -305,9 +304,6 @@ apt update && DEBIAN_FRONTEND=noninteractive apt \ -o DPkg::Lock::Timeout=300 install docker.io vim iproute2 git sudo -y && \ case {ubuntu} in \ - bionic) \ - [ -z "$VIRTUAL_ENV" ] && sudo DEBIAN_FRONTEND=noninteractive apt \ - -o DPkg::Lock::Timeout=300 install python3-pip -y && sudo LC_CTYPE=C.UTF-8 pip3 install ansible ;; \ focal) \ [ -z "$VIRTUAL_ENV" ] && sudo DEBIAN_FRONTEND=noninteractive apt \ -o DPkg::Lock::Timeout=300 install python3-pip -y && sudo pip3 install ansible ;; \ @@ -326,8 +322,7 @@ ansible-galaxy install -f git+https://github.com/collivier/ansible-role-xtesting.git,{release} && \ mv ~/.ansible/roles/ansible-role-xtesting ~/.ansible/roles/collivier.xtesting ;; \ esac && \ - ansible-galaxy collection install ansible.posix community.general community.grafana \ - community.kubernetes community.docker community.postgresql community.crypto && \ + ansible-galaxy collection install community.kubernetes && \ case {ubuntu} in \ oracular) \ ansible-galaxy collection install -f community.docker ;; \ @@ -394,8 +389,7 @@ ansible-galaxy install -f git+https://github.com/collivier/ansible-role-xtesting.git,{release} && \ mv ~/.ansible/roles/ansible-role-xtesting ~/.ansible/roles/collivier.xtesting ;; \ esac && \ - ansible-galaxy collection install ansible.posix community.general community.grafana \ - community.kubernetes community.docker community.postgresql community.crypto && \ + ansible-galaxy collection install community.kubernetes && \ case {alpine} in \ "3.18") \ [ -z "$VIRTUAL_ENV" ] && apk add ansible git ;; \ -- cgit