Use virtual host style S3 bucket names in tests.

This commit is contained in:
Matt Clay 2021-03-12 11:03:42 -08:00
parent 197e8f5640
commit 3a8c9242e1
6 changed files with 12 additions and 12 deletions

View file

@ -488,7 +488,7 @@
- name: try to install from non existing url - name: try to install from non existing url
dnf: dnf:
name: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/dnf/non-existing-1.0.0.fc26.noarch.rpm name: https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/dnf/non-existing-1.0.0.fc26.noarch.rpm
state: present state: present
register: dnf_result register: dnf_result
ignore_errors: yes ignore_errors: yes
@ -583,7 +583,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://s3.amazonaws.com/ansible-ci-files/test/integration/targets/dnf/banner-1.3.4-3.el7.ppc64le.rpm name: https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/dnf/banner-1.3.4-3.el7.ppc64le.rpm
state: present state: present
register: dnf_result register: dnf_result
ignore_errors: True ignore_errors: True

View file

@ -1,5 +1,5 @@
- name: download and install old version of hello - name: download and install old version of hello
apt: "deb=https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/dpkg_selections/hello_{{ hello_old_version }}_amd64.deb" apt: "deb=https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/dpkg_selections/hello_{{ hello_old_version }}_amd64.deb"
- name: freeze version for hello - name: freeze version for hello
dpkg_selections: dpkg_selections:

View file

@ -37,7 +37,7 @@
- name: Install RabbitMQ Server - name: Install RabbitMQ Server
apt: apt:
deb: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/setup_rabbitmq/rabbitmq-server_3.7.14-1_all.deb deb: https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/setup_rabbitmq/rabbitmq-server_3.7.14-1_all.deb
- name: Install RabbitMQ TLS dependencies - name: Install RabbitMQ TLS dependencies
apt: apt:

View file

@ -1,5 +1,5 @@
- name: Install EPEL - name: Install EPEL
yum: yum:
name: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/setup_epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm name: https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/setup_epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm
disable_gpg_check: true disable_gpg_check: true
when: ansible_facts.distribution in ['RedHat', 'CentOS'] when: ansible_facts.distribution in ['RedHat', 'CentOS']

View file

@ -2,7 +2,7 @@
block: block:
- name: install tinyproxy - name: install tinyproxy
yum: yum:
name: 'https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/yum/tinyproxy-1.10.0-3.el7.x86_64.rpm' name: 'https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/yum/tinyproxy-1.10.0-3.el7.x86_64.rpm'
state: installed state: installed
# systemd doesn't play nice with this in a container for some reason # systemd doesn't play nice with this in a container for some reason
@ -25,7 +25,7 @@
- name: install ninvaders with unauthenticated proxy - name: install ninvaders with unauthenticated proxy
yum: yum:
name: 'https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/yum/ninvaders-0.1.1-18.el7.x86_64.rpm' name: 'https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/yum/ninvaders-0.1.1-18.el7.x86_64.rpm'
state: installed state: installed
register: yum_proxy_result register: yum_proxy_result
@ -84,7 +84,7 @@
- name: install ninvaders with authenticated proxy - name: install ninvaders with authenticated proxy
yum: yum:
name: 'https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/yum/ninvaders-0.1.1-18.el7.x86_64.rpm' name: 'https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/yum/ninvaders-0.1.1-18.el7.x86_64.rpm'
state: installed state: installed
register: yum_proxy_result register: yum_proxy_result
@ -134,7 +134,7 @@
- name: install ninvaders with proxy, proxy_username, and proxy_password config in yum.conf - name: install ninvaders with proxy, proxy_username, and proxy_password config in yum.conf
yum: yum:
name: 'https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/yum/ninvaders-0.1.1-18.el7.x86_64.rpm' name: 'https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/yum/ninvaders-0.1.1-18.el7.x86_64.rpm'
state: installed state: installed
register: yum_proxy_result register: yum_proxy_result

View file

@ -532,7 +532,7 @@
- name: try to install from non existing url - name: try to install from non existing url
yum: yum:
name: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/yum/non-existing-1.0.0.fc26.noarch.rpm name: https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/yum/non-existing-1.0.0.fc26.noarch.rpm
state: present state: present
register: yum_result register: yum_result
ignore_errors: yes ignore_errors: yes
@ -580,7 +580,7 @@
- name: try to install uncompatible arch rpm on non-ppc64le, should fail - name: try to install uncompatible arch rpm on non-ppc64le, should fail
yum: yum:
name: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/yum/banner-1.3.4-3.el7.ppc64le.rpm name: https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/yum/banner-1.3.4-3.el7.ppc64le.rpm
state: present state: present
register: yum_result register: yum_result
ignore_errors: True ignore_errors: True
@ -597,7 +597,7 @@
- name: try to install uncompatible arch rpm on ppc64le, should fail - name: try to install uncompatible arch rpm on ppc64le, should fail
yum: yum:
name: https://s3.amazonaws.com/ansible-ci-files/test/integration/targets/yum/tinyproxy-1.10.0-3.el7.x86_64.rpm name: https://ansible-ci-files.s3.amazonaws.com/test/integration/targets/yum/tinyproxy-1.10.0-3.el7.x86_64.rpm
state: present state: present
register: yum_result register: yum_result
ignore_errors: True ignore_errors: True