Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IronicDrivers
ci-project-config
Commits
fb900346
Commit
fb900346
authored
Mar 08, 2017
by
Ricardo Araujo
Browse files
Use ubuntu and pip mirrors and keep local.conf
parent
3cadd744
Changes
1
Hide whitespace changes
Inline
Side-by-side
jenkins/jobs/ironic.yaml
View file @
fb900346
...
...
@@ -243,8 +243,31 @@
export DEVSTACK_LOCAL_CONFIG=""
export NODEPOOL_MIRROR_HOST="nova.clouds.archive.ubuntu.com"
echo "NODEPOOL_MIRROR_HOST=\"nova.clouds.archive.ubuntu.com\"" >> /etc/nodepool/provider
export KEEP_LOCALRC=1
set +x
mkdir -p ~/.pip \
&& echo [global] >> ~/.pip/pip.conf \
&& echo index-url = http://10.11.4.24/root/pypi/+simple >> ~/.pip/pip.conf \
&& echo extra-index-url = http://10.11.4.24:3141/root/pypi/+simple >> ~/.pip/pip.conf \
&& echo [install] >> ~/.pip/pip.conf \
&& echo trusted-host = 10.11.4.24 >> ~/.pip/pip.conf
PIP_MIRROR_CONF="\
[global]
index-url = https://pypi.python.org/simple
extra-index-url = http://10.11.4.24:3141/root/pypi/+simple
[install]
trusted-host = 10.11.4.24"
echo "$PIP_MIRROR_CONF" >/tmp/pip.conf
sudo mv /tmp/pip.conf /etc/
sudo chown root:root /etc/pip.conf
sudo chmod 0644 /etc/pip.conf
set -x
# Tells devstack that we're going to use real hardware
if [ "{ironic-is-hardware}" == "1" ] ; then
# Deploy to hardware platform
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment