Add artifact push interface to deployments
This change adds an artifact push task to deployments, which helps support operators to ensure they've a better overall user experience without needing to deploy an http server or running Swift on the undercloud. Depends-On: I5d18cf334c1bc4011db968fbeb4f9e41869611cd Change-Id: I7bef7c4c7613a2475784dde135d71232b412d79f Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
parent
da737aa20e
commit
9616f83e56
@ -148,7 +148,12 @@ parameters:
|
||||
type: boolean
|
||||
DeployArtifactURLs:
|
||||
default: []
|
||||
description: A list of HTTP URLs containing deployment artifacts.
|
||||
description: A list of HTTP URLs containing deployment artifacts to be pulled.
|
||||
Currently supports tarballs and RPM packages.
|
||||
type: comma_delimited_list
|
||||
DeployArtifactFILEs:
|
||||
default: []
|
||||
description: A list of files containing deployment artifacts to be pushed.
|
||||
Currently supports tarballs and RPM packages.
|
||||
type: comma_delimited_list
|
||||
HostsEntry:
|
||||
@ -369,6 +374,7 @@ outputs:
|
||||
stack_action: {get_param: StackAction}
|
||||
network_safe_defaults: {get_param: NetworkSafeDefaults}
|
||||
deploy_artifact_urls: {get_param: DeployArtifactURLs}
|
||||
deploy_artifact_files: {get_param: DeployArtifactFILEs}
|
||||
hosts_entry: {get_param: HostsEntry}
|
||||
primary_role_name: {{ primary_role_name }}
|
||||
deploy_identifier: {get_param: DeployIdentifier}
|
||||
@ -610,11 +616,13 @@ outputs:
|
||||
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
||||
tasks:
|
||||
{% raw %}
|
||||
- name: Deploy Artifacts
|
||||
- name: Deploy pull Artifacts
|
||||
tripleo_deploy_artifacts:
|
||||
artifact_urls: "{{ deploy_artifact_urls }}"
|
||||
artifact_urls: "{{ deploy_artifact_urls | default([]) }}"
|
||||
artifact_paths: "{{ deploy_artifact_files | default([]) }}"
|
||||
when:
|
||||
- deploy_artifact_urls|default([])|length > 0
|
||||
- ((deploy_artifact_urls | default([]) | length) > 0) or
|
||||
((deploy_artifact_files | default([]) | length) > 0)
|
||||
{% endraw %}
|
||||
{%- for role in roles %}
|
||||
- name: {{role.name}} Host prep block
|
||||
|
Loading…
x
Reference in New Issue
Block a user