Make jenkins user own /opt/git for tripleo-ci builds
Altering the jjb configuration to set the current user as owner of /opt/git. This enables tripleo-ci to leverage the copies of openstack repos that live in that directory. Change-Id: Iebe3b5f194682e759266553b0f1e861f2958b048
This commit is contained in:
parent
8e0013ff90
commit
70d1428322
@ -21,6 +21,7 @@
|
||||
export DIB_COMMON_ELEMENTS="common-venv stackuser pypi-openstack"
|
||||
export TRIPLEO_TEST=seed
|
||||
export USE_IRONIC=1
|
||||
sudo chown -hR $(whoami) /opt/git
|
||||
function gate_hook {
|
||||
bash -xe /opt/stack/new/tripleo-ci/toci_gate_test.sh
|
||||
}
|
||||
@ -61,6 +62,7 @@
|
||||
export DIB_COMMON_ELEMENTS="common-venv stackuser pypi-openstack"
|
||||
export TRIPLEO_TEST=undercloud
|
||||
export USE_IRONIC=0
|
||||
sudo chown -hR $(whoami) /opt/git
|
||||
function gate_hook {
|
||||
bash -xe /opt/stack/new/tripleo-ci/toci_gate_test.sh
|
||||
}
|
||||
@ -101,6 +103,7 @@
|
||||
export DIB_COMMON_ELEMENTS="common-venv stackuser pypi-openstack"
|
||||
export TRIPLEO_TEST=undercloud
|
||||
export USE_IRONIC=1
|
||||
sudo chown -hR $(whoami) /opt/git
|
||||
function gate_hook {
|
||||
bash -xe /opt/stack/new/tripleo-ci/toci_gate_test.sh
|
||||
}
|
||||
@ -141,6 +144,7 @@
|
||||
export DIB_COMMON_ELEMENTS="common-venv stackuser pypi-openstack"
|
||||
export TRIPLEO_TEST=overcloud
|
||||
export USE_IRONIC=0
|
||||
sudo chown -hR $(whoami) /opt/git
|
||||
function gate_hook {
|
||||
bash -xe /opt/stack/new/tripleo-ci/toci_gate_test.sh
|
||||
}
|
||||
@ -180,6 +184,7 @@
|
||||
export GEARDSERVER=192.168.1.1
|
||||
export DIB_COMMON_ELEMENTS="common-venv stackuser pypi-openstack"
|
||||
export TRIPLEO_TEST=overcloud
|
||||
sudo chown -hR $(whoami) /opt/git
|
||||
function gate_hook {
|
||||
bash -xe /opt/stack/new/tripleo-ci/toci_gate_test.sh
|
||||
}
|
||||
@ -220,6 +225,7 @@
|
||||
export DIB_COMMON_ELEMENTS="common-venv stackuser pypi-openstack"
|
||||
export TRIPLEO_TEST=vlan
|
||||
export USE_IRONIC=1
|
||||
sudo chown -hR $(whoami) /opt/git
|
||||
function gate_hook {
|
||||
bash -xe /opt/stack/new/tripleo-ci/toci_gate_test.sh
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user