CI is failing with conflictiong dependencies:
The conflict is caused by:
molecule[test] 3.2.4 depends on pluggy<1.0 and >=0.7.1
molecule[test] 3.2.3 depends on pluggy<1.0 and >=0.7.1
molecule[test] 3.2.2 depends on pluggy<1.0 and >=0.7.1
molecule[test] 3.2.1 depends on pluggy<1.0 and >=0.7.1
molecule[test] 3.2.0 depends on pluggy<1.0 and >=0.7.1
molecule[test] 3.2.0a2 depends on pluggy<1.0 and >=0.7.1
molecule[test] 3.2.0a1 depends on pluggy<1.0 and >=0.7.1
The user requested (constraint) pluggy===1.0.0
Let's try to use molecule[test] 3.5.x
Also set 'role_name' and 'namespace' in meta/main.yaml for
all roles. Namespace cannot container uppercase characters,
so computing fully qualified role name using author 'OpenStack'
does not work.
Also - fix tests in tripleo_overcloud_node_discover
Closes-Bug: #1943269
Change-Id: I1ab9764dd4d24c17c5ee2cb1f26fbc3c4b27d3d7
tripleo_container_image_push
A role to perform the container image push against a registry.
Requirements
None.
Role Variables
tripleo_container_image_push_append_tag: (String) Tag to append to the existing tag when pushing the container.tripleo_container_image_push_become: (Boolean) Run the command as root. This needs to be true when uploading to the local undercloud registry. Default: truetripleo_container_image_push_cleanup: (Boolean) Remove local copy of the image after uploading. Default: falsetripleo_container_image_push_debug: (Boolean) Flag to print out the push command. Default: Falsetripleo_container_image_push_dry_run: (Boolean) Perform a dry run upload which will exercise the authentication process but not upload the container. Default: falsetripleo_container_image_push_image: (String) REQUIRED. Container image to upload. Should be in the form of //:tag. If the tag is not provided, 'latest' is used.tripleo_container_image_push_local: (Boolean) Use this flag if the container image is already on the current system and does not need to be pulled from a remote registry. Default: falsetripleo_container_image_push_multi_arch: (Boolean) Enable multi arch support for the upload. Default: falsetripleo_container_image_push_password: (String) Password for the registrytripleo_container_image_push_registry_url: (String) URL of the destination registry in the form :.tripleo_container_image_push_timeout: (Number) Amount of time to wait for the command to complete. Default: 360tripleo_container_image_push_username: (String) Username for the registry
Output Variables
tripleo_container_image_push_result: Ansible shell execution results
Dependencies
None.
Example Playbook
Example container push execution playbook
- hosts: undercloud
gather_facts: true
tasks:
- name: Push a container
import_role:
name: tripleo_container_image_push
vars:
tripleo_container_image_push_image: docker.io/library/centos:7
- name: Print output
debug:
var: tripleo_container_image_push_output
License
Apache-2.0