-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wire up test-minimal data plane adoption test target multinode tripleo
Wires up the test-minimal target from the data plane adoption tests repo for the new tripleo multinode job. The overcloud/tripleo deployment was added in the parent patch [1] and its depenencies. This is part of [2]. https://issues.redhat.com/browse/OSPRH-5754 Depends-On: openstack-k8s-operators/data-plane-adoption#397 [1] https://review.rdoproject.org/r/c/rdo-jobs/+/51916 [2] https://issues.redhat.com/browse/OSPRH-3038 Change-Id: I104399d783a46cd58b245a0aab0aa2e9ab6ffa0e
- Loading branch information
Showing
4 changed files
with
216 additions
and
5 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
26 changes: 26 additions & 0 deletions
26
playbooks/data_plane_adoption/undercloud_prepare_tests.yaml
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
- hosts: undercloud | ||
gather_facts: false | ||
tasks: | ||
- name: Pull the tripleo passwords from undercloud vm | ||
ansible.builtin.fetch: | ||
src: /home/zuul/overcloud-deploy/overcloud/overcloud-passwords.yaml | ||
dest: /home/zuul/tripleo-passwords.yaml | ||
flat: true | ||
|
||
- name: Pull the private key from undercloud | ||
ansible.builtin.fetch: | ||
src: /home/zuul/.ssh/id_rsa | ||
dest: /home/zuul/edpm_ssh_key | ||
flat: true | ||
|
||
- name: Slurp crc public key for ssh access to standalone | ||
delegate_to: localhost # localhost is the controller node in this case | ||
ansible.builtin.slurp: | ||
path: /home/zuul/.ssh/id_rsa.pub | ||
register: crc_ssh_key | ||
|
||
- name: Place crc public key to undercloud authorized_keys | ||
ansible.builtin.lineinfile: | ||
path: "/home/zuul/.ssh/authorized_keys" | ||
insertafter: "EOF" | ||
value: "{{ crc_ssh_key['content'] | b64decode | trim }}" |
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