Update galaxy publish test for non-erroring Pulp

pull/82396/head
Sloane Hertel 11 months ago committed by Sviatoslav Sydorenko
parent 7470cf29d0
commit cd327651ab
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455

@ -31,6 +31,21 @@
chdir: '{{ galaxy_dir }}'
register: fail_publish_existing
failed_when: fail_publish_existing is not failed
ignore_errors: true
- name: get result of publish collection - {{ test_name }}
uri:
url: '{{ test_api_server }}v3/plugin/ansible/content/primary/collections/index/ansible_test/my_collection/versions/1.0.0/'
return_content: yes
user: '{{ pulp_user }}'
password: '{{ pulp_password }}'
force_basic_auth: true
register: publish_collection_update
when: fail_publish_existing is not failed
- assert:
that:
- fail_publish_existing is failed or publish_collection_update["json"]["updated_at"] == publish_collection_actual["json"]["updated_at"]
- name: reset published collections - {{ test_name }}
include_tasks: pulp.yml

Loading…
Cancel
Save