Move release-tools out of jenkins/scripts
To not install these on the images, create a new scripts directory to hold them. Create new copy-release-tools-scripts role to copy the files over, we do not need using legacy-copy-project-config-scripts anymore since everything is copied elsewhere. Add the role to all playbooks that use release-tools scripts. Change-Id: I36c458e297fec58023799f625739b341c4d403cf
This commit is contained in:
parent
2f8ec146b9
commit
fbc1f58c30
@ -20,8 +20,9 @@
|
|||||||
user.name: OpenStack Proposal Bot
|
user.name: OpenStack Proposal Bot
|
||||||
user.email: openstack-infra@lists.openstack.org
|
user.email: openstack-infra@lists.openstack.org
|
||||||
gitreview.username: proposal-bot
|
gitreview.username: proposal-bot
|
||||||
- legacy-copy-project-config-scripts
|
|
||||||
- copy-proposal-common-scripts
|
- copy-proposal-common-scripts
|
||||||
|
# For propose-update-constraints
|
||||||
|
- copy-release-tools-scripts
|
||||||
- add-sshkey
|
- add-sshkey
|
||||||
- bindep
|
- bindep
|
||||||
- ensure-tox
|
- ensure-tox
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
user.signingkey: infra-root@openstack.org
|
user.signingkey: infra-root@openstack.org
|
||||||
gitreview.username: release
|
gitreview.username: release
|
||||||
- bindep
|
- bindep
|
||||||
- legacy-copy-project-config-scripts
|
- copy-release-tools-scripts
|
||||||
- add-sshkey
|
- add-sshkey
|
||||||
- add-launchpad-credentials
|
- add-launchpad-credentials
|
||||||
- add-gpgkey
|
- add-gpgkey
|
||||||
|
5
roles/copy-release-tools-scripts/README.rst
Normal file
5
roles/copy-release-tools-scripts/README.rst
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Copy release-tools scripts directory to remote hosts
|
||||||
|
|
||||||
|
The ``scripts/release-tools`` directory will be placed in the remote home
|
||||||
|
directory as ``scripts/release-tools``.
|
||||||
|
|
4
roles/copy-release-tools-scripts/tasks/main.yaml
Normal file
4
roles/copy-release-tools-scripts/tasks/main.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
- name: Copy the release-tools directory to the remote node
|
||||||
|
synchronize:
|
||||||
|
src: release-tools
|
||||||
|
dest: "{{ ansible_user_dir }}/scripts/release-tools"
|
Loading…
Reference in New Issue
Block a user