Remove EOL distrib 22/74822/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 14 Mar 2025 10:26:11 +0000 (11:26 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 14 Mar 2025 10:26:11 +0000 (11:26 +0100)
It also takes into account that Ansible collections
are already installed.

Change-Id: I6bad704228c3e79f21e67f6590bee422fd4c4740
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/functest/xtesting-ci.yaml

index b8d8ed7..efd11eb 100644 (file)
             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:
           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 ;; \
             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 ;; \
             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 ;; \