forked from theforeman/forklift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pulpcore pipelines to use puppet-pulpcore on nightly
- Loading branch information
Showing
7 changed files
with
69 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,34 @@ | ||
--- | ||
- name: run tests | ||
- name: run tests beaker | ||
become: True | ||
hosts: | ||
- "{{ forklift_name }}" | ||
vars_files: | ||
- ../vars/forklift_pulpcore.yml | ||
tasks: | ||
- name: Run acceptance tests | ||
command: bundle exec rake beaker | ||
args: | ||
chdir: /src/puppet-pulpcore | ||
environment: | ||
BEAKER_HYPERVISOR: "docker" | ||
BEAKER_provision: "yes" | ||
BEAKER_setfile: "centos8-64{hostname=centos8-64.example.com}" | ||
BEAKER_destroy: "no" | ||
BEAKER_FACTER_PULPCORE_VERSION: "{{ pipeline_version }}" | ||
ansible.builtin.include_role: | ||
name: beaker | ||
tasks_from: test | ||
when: | ||
- install_method is defined | ||
- install_method == "puppet" | ||
- pipeline_version == 'nightly' and pipeline_version is version('3.40, '>=' ) | ||
vars: | ||
beaker_puppet_module: "puppet-pulpcore" | ||
beaker_os: "{{ pipeline_os.replace('-stream', '') }}" | ||
beaker_environment: | ||
BEAKER_FACTER_PULPCORE_BASEURL: "https://stagingyum.theforeman.org/pulpcore/{{ pipeline_version }}/el{{ ansible_distribution_major_version }}/x86_64" | ||
|
||
- name: run tests ansible | ||
become: True | ||
hosts: | ||
- "{{ forklift_name }}" | ||
vars_files: | ||
- ../vars/install_base.yml | ||
- ../vars/forklift_{{ pipeline_type }}.yml | ||
roles: | ||
- role: pulp.pulp_installer.pulp_health_check | ||
when: | ||
- pipeline_version is defined | ||
- pipeline_version != 'nightly' and pipeline_version is version('3.39', '<=' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
collections: | ||
- name: pulp.pulp_installer | ||
version: 3.15.9-4 | ||
version: 3.22.0 |