pull/85847/merge
Abhijeet Kasurde 1 day ago committed by GitHub
commit b1dd40391d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1 +1,2 @@
hello_old_version: 2.10-2ubuntu2 hello_old_version: 2.10-2ubuntu2
ci_files_url: "https://ci-files.testing.ansible.com/test/integration/targets/apt"

@ -416,7 +416,7 @@
apt: pkg=hello state=absent purge=yes apt: pkg=hello state=absent purge=yes
- name: install deb file from URL - name: install deb file from URL
apt: "deb=https://ci-files.testing.ansible.com/test/integration/targets/apt/hello_{{ hello_old_version }}_{{ hello_architecture.stdout }}.deb" apt: "deb={{ ci_files_url }}/hello_{{ hello_old_version }}_{{ hello_architecture.stdout }}.deb"
register: apt_url register: apt_url
- name: verify installation of hello - name: verify installation of hello
@ -602,7 +602,7 @@
# https://github.com/ansible/ansible/issues/65325 # https://github.com/ansible/ansible/issues/65325
- name: Download and install old version of hello (to test allow_change_held_packages option) - name: Download and install old version of hello (to test allow_change_held_packages option)
apt: "deb=https://ci-files.testing.ansible.com/test/integration/targets/apt/hello_{{ hello_old_version }}_{{ hello_architecture.stdout }}.deb" apt: "deb={{ ci_files_url }}/hello_{{ hello_old_version }}_{{ hello_architecture.stdout }}.deb"
notify: notify:
- remove package hello - remove package hello

@ -8,7 +8,7 @@
- name: Install packageone from deb URL - name: Install packageone from deb URL
apt: apt:
deb: https://ci-files.testing.ansible.com/test/integration/targets/apt/packageone_1.0_all.deb deb: "{{ ci_files_url }}/packageone_1.0_all.deb"
register: packageone_installed register: packageone_installed
- name: Check if packagetwo is installed as part of packageone installation - name: Check if packagetwo is installed as part of packageone installation

@ -16,7 +16,7 @@
# https://ci-files.testing.ansible.com/test/integration/targets/apt/echo-hello-source.tar.gz # https://ci-files.testing.ansible.com/test/integration/targets/apt/echo-hello-source.tar.gz
- name: Install deb file with dependencies from URL (check_mode) - name: Install deb file with dependencies from URL (check_mode)
apt: apt:
deb: https://ci-files.testing.ansible.com/test/integration/targets/apt/echo-hello_1.0_all.deb deb: "{{ ci_files_url }}/echo-hello_1.0_all.deb"
check_mode: true check_mode: true
register: apt_url_deps_check_mode register: apt_url_deps_check_mode
@ -33,7 +33,7 @@
- name: Install deb file with dependencies from URL (for real this time) - name: Install deb file with dependencies from URL (for real this time)
apt: apt:
deb: https://ci-files.testing.ansible.com/test/integration/targets/apt/echo-hello_1.0_all.deb deb: "{{ ci_files_url }}/echo-hello_1.0_all.deb"
register: apt_url_deps register: apt_url_deps
- name: check to make sure we installed the package - name: check to make sure we installed the package

@ -0,0 +1 @@
ci_files_url: "https://ci-files.testing.ansible.com/test/integration/targets/apt_key"

@ -2,7 +2,7 @@
- name: Ensure import of binary key downloaded using URLs works - name: Ensure import of binary key downloaded using URLs works
apt_key: apt_key:
url: https://ci-files.testing.ansible.com/test/integration/targets/apt_key/apt-key-example-binary.gpg url: "{{ ci_files_url }}/apt-key-example-binary.gpg"
register: apt_key_binary_test register: apt_key_binary_test
- name: Validate the results - name: Validate the results

@ -1,5 +1,5 @@
- name: "Ensure import of a deliberately corrupted downloaded GnuPG binary key results in an 'inline data' occurrence in the message" - name: "Ensure import of a deliberately corrupted downloaded GnuPG binary key results in an 'inline data' occurrence in the message"
apt_key: apt_key:
url: https://ci-files.testing.ansible.com/test/integration/targets/apt_key/apt-key-corrupt-zeros-2k.gpg url: "{{ ci_files_url }}/apt-key-corrupt-zeros-2k.gpg"
register: gpg_inline_result register: gpg_inline_result
failed_when: "not ('inline data' in gpg_inline_result.msg)" failed_when: "not ('inline data' in gpg_inline_result.msg)"

@ -1,6 +1,6 @@
- name: Get Fedora GPG Key - name: Get Fedora GPG Key
get_url: get_url:
url: https://ci-files.testing.ansible.com/test/integration/targets/apt_key/fedora.gpg url: "{{ ci_files_url }}/fedora.gpg"
dest: /tmp/fedora.gpg dest: /tmp/fedora.gpg
- name: Ensure clean slate - name: Ensure clean slate
@ -42,7 +42,7 @@
- name: add key from url - name: add key from url
apt_key: apt_key:
url: https://ci-files.testing.ansible.com/test/integration/targets/apt_key/fedora.gpg url: "{{ ci_files_url }}/fedora.gpg"
register: apt_key_url register: apt_key_url
- name: verify key from url - name: verify key from url

@ -0,0 +1 @@
ci_files_url: "https://ci-files.testing.ansible.com/test/integration/targets/apt_key"

@ -179,7 +179,7 @@
- main - main
- contrib - contrib
- non-free - non-free
signed_by: https://ci-files.testing.ansible.com/test/integration/targets/apt_key/apt-key-example-binary.gpg signed_by: "{{ ci_files_url }}/apt-key-example-binary.gpg"
register: signed_by_url register: signed_by_url
- assert: - assert:

@ -0,0 +1,2 @@
ci_files_url: "https://ci-files.testing.ansible.com/test/integration/targets/dnf"
updateinfo_repo: "https://ci-files.testing.ansible.com/test/integration/targets/setup_rpm_repo/repo-with-updateinfo"

@ -501,7 +501,7 @@
- name: try to install from non existing url - name: try to install from non existing url
dnf: dnf:
name: https://ci-files.testing.ansible.com/test/integration/targets/dnf/non-existing-1.0.0.fc26.noarch.rpm name: "{{ ci_files_url }}/non-existing-1.0.0.fc26.noarch.rpm"
state: present state: present
register: dnf_result register: dnf_result
ignore_errors: yes ignore_errors: yes
@ -607,7 +607,7 @@
- name: try to install not compatible arch rpm, should fail - name: try to install not compatible arch rpm, should fail
dnf: dnf:
name: https://ci-files.testing.ansible.com/test/integration/targets/dnf/banner-1.3.4-3.el7.ppc64le.rpm name: "{{ ci_files_url }}/banner-1.3.4-3.el7.ppc64le.rpm"
state: present state: present
register: dnf_result register: dnf_result
ignore_errors: True ignore_errors: True

@ -1,9 +1,6 @@
# We have a test repo set up with a valid updateinfo.xml which is referenced # We have a test repo set up with a valid updateinfo.xml which is referenced
# from its repomd.xml. # from its repomd.xml.
- block: - block:
- set_fact:
updateinfo_repo: https://ci-files.testing.ansible.com/test/integration/targets/setup_rpm_repo/repo-with-updateinfo
- name: Install the test repo - name: Install the test repo
yum_repository: yum_repository:
name: test-repo-with-updateinfo name: test-repo-with-updateinfo

@ -1,9 +1,6 @@
# We have a test repo set up with a valid updateinfo.xml which is referenced # We have a test repo set up with a valid updateinfo.xml which is referenced
# from its repomd.xml. # from its repomd.xml.
- block: - block:
- set_fact:
updateinfo_repo: https://ci-files.testing.ansible.com/test/integration/targets/setup_rpm_repo/repo-with-updateinfo
- name: Install the test repo - name: Install the test repo
yum_repository: yum_repository:
name: test-repo-with-updateinfo name: test-repo-with-updateinfo

@ -1 +1,2 @@
hello_old_version: 2.10-2ubuntu2 hello_old_version: 2.10-2ubuntu2
ci_files_url: https://ci-files.testing.ansible.com/test/integration/targets/dpkg_selections

@ -3,7 +3,7 @@
register: default_arch register: default_arch
- name: download and install old version of hello - name: download and install old version of hello
apt: "deb=https://ci-files.testing.ansible.com/test/integration/targets/dpkg_selections/hello_{{ hello_old_version }}_{{ default_arch.stdout }}.deb" apt: "deb={{ ci_files_url }}/hello_{{ hello_old_version }}_{{ default_arch.stdout }}.deb"
- name: freeze version for hello - name: freeze version for hello
dpkg_selections: dpkg_selections:

@ -0,0 +1 @@
ci_files_url: "https://ci-files.testing.ansible.com/test/integration/targets/setup_win_printargv"

@ -1,7 +1,7 @@
--- ---
- name: download the PrintArgv.exe binary to temp location - name: download the PrintArgv.exe binary to temp location
win_get_url: win_get_url:
url: https://ci-files.testing.ansible.com/test/integration/targets/setup_win_printargv/PrintArgv.exe url: "{{ ci_files_url }}/PrintArgv.exe"
dest: '{{ remote_tmp_dir }}\PrintArgv.exe' dest: '{{ remote_tmp_dir }}\PrintArgv.exe'
- name: set fact containing PrintArgv binary path - name: set fact containing PrintArgv binary path

@ -0,0 +1 @@
ci_files_url: "https://ci-files.testing.ansible.com/test/integration/targets/apt"

@ -8,7 +8,7 @@
block: block:
- name: unarchive a tar from an URL - name: unarchive a tar from an URL
unarchive: unarchive:
src: "https://ci-files.testing.ansible.com/test/integration/targets/apt/echo-hello-source.tar.gz" src: "{{ ci_files_url }}/echo-hello-source.tar.gz"
dest: "{{ remote_tmp_dir }}/test-unarchive-tar-gz" dest: "{{ remote_tmp_dir }}/test-unarchive-tar-gz"
mode: "0700" mode: "0700"
remote_src: yes remote_src: yes

Loading…
Cancel
Save