From a94874c6f33b902fc49378772e0a65a8fc461201 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Sun, 10 Mar 2024 20:19:31 -0400 Subject: [PATCH] remove test --- tests/vm/flatpaks.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 tests/vm/flatpaks.yml diff --git a/tests/vm/flatpaks.yml b/tests/vm/flatpaks.yml deleted file mode 100644 index e7c10be..0000000 --- a/tests/vm/flatpaks.yml +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env -S ansible-playbook -i ./ansible_inventory ---- -- name: Test for flatpaks - hosts: vm - gather_facts: no - - tasks: - - name: Get install GPG key - ansible.builtin.slurp: - src: /ostree/deploy/default/var/lib/flatpak/repo/flathub.trustedkeys.gpg - register: found_gpg - - - name: debug - ansible.builtin.debug: - var: found_gpg - - - name: Get gpg key - ansible.builtin.set_fact: - expected_gpg: "{{ lookup('ansible.builtin.url', 'https://flathub.org/repo/flathub.flatpakrepo', split_lines=True) | replace(',', '\n') | regex_search('^GPGKey=(.*)$', '\\1', multiline=True, ignorecase=True) }}" - - - name: debug - ansible.builtin.debug: - var: expected_gpg - - - name: Test GPG key - ansible.builtin.assert: - that: - - expected_gpg == found_gpg['content'] - fail_msg: "Installed GPG key does not match GPG key in flatpakrepo file" - success_msg: "GPG key matches" - - - name: Test updating flatpak packages - ansible.builtin.command: - cmd: /usr/bin/flatpak update -y