Install proposal scripts only when needed
Move proposal scripts from jenkins/scripts to the proposal directory so that we can install them only for proposal scripts and do not need to bake them into nodes. Change-Id: I356906e4a43597cc913bfa539cac7c2c6dfce117
This commit is contained in:
parent
affdbab218
commit
3cbae461ad
@ -3,6 +3,17 @@
|
||||
- name: Install git-review
|
||||
command: pip install git-review
|
||||
become: yes
|
||||
|
||||
- name: Copy scripts to the script dir on the node
|
||||
copy:
|
||||
dest: '{{ ansible_user_dir }}/scripts/'
|
||||
src: '{{ item }}'
|
||||
mode: 0755
|
||||
with_items:
|
||||
- generate_puppetfile.sh
|
||||
- propose_update.sh
|
||||
- sync_openstack_ansible_common_files.sh
|
||||
|
||||
roles:
|
||||
- role: configure-git
|
||||
git_config:
|
||||
|
@ -65,14 +65,14 @@ elif [ "$OWN_PROJECT" == "puppet-openstack-constraints" ] ; then
|
||||
TOPIC="openstack/puppet/constraints"
|
||||
PROJECTS=openstack/puppet-openstack-integration
|
||||
function update {
|
||||
bash /usr/local/jenkins/slave_scripts/generate_puppetfile.sh
|
||||
bash /home/zuul/scripts/generate_puppetfile.sh
|
||||
}
|
||||
elif [ "$OWN_PROJECT" == "openstack-ansible-tests" ] ; then
|
||||
INITIAL_COMMIT_MSG="Updated from OpenStack Ansible Tests"
|
||||
TOPIC="openstack/openstack-ansible-tests/sync-tests"
|
||||
PROJECTS=$(./gen-projects-list.sh)
|
||||
function update {
|
||||
bash /usr/local/jenkins/slave_scripts/sync_openstack_ansible_common_files.sh $1
|
||||
bash /home/zuul/scripts/sync_openstack_ansible_common_files.sh $1
|
||||
}
|
||||
elif [ "$OWN_PROJECT" == "os-service-types" ] ; then
|
||||
INITIAL_COMMIT_MSG="Updated from OpenStack Service Type Authority"
|
Loading…
Reference in New Issue
Block a user