![Josh Gachnang](/assets/img/avatar_default.png)
This patch will build and upload the files required to boot the Ironic Python Agent ramdisk using CoreOS and a Docker container. The Ironic Python Agent is one of the methods to provision servers in Ironic. This will make testing the agent much easier. Change-Id: I34ea9a196c5ac1954a4ebd6d27850f6b6e56afa7 Co-Authored-By: Jay Faulkner <jay@jvf.cc>
29 lines
1003 B
YAML
29 lines
1003 B
YAML
- job:
|
|
name: 'ironic-python-agent-buildimage-coreos'
|
|
node: 'bare-trusty'
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
sudo apt-get update
|
|
sudo apt-get install docker.io
|
|
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
|
|
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
|
|
make
|
|
tar czf $WORKSPACE/ipa-coreos.tar.gz $HOME/UPLOAD/coreos_production_pxe_image-oem.cpio.gz $HOME/UPLOAD/coreos_production_pxe.vmlinuz
|
|
echo "CoreOS IPA image uploaded to: http://tarballs.openstack.org/ironic-python-agent/coreos/ipa-coreos.tar.gz"
|
|
|
|
|
|
publishers:
|
|
- scp:
|
|
site: 'tarballs.openstack.org'
|
|
files:
|
|
- source: 'ipa-coreos.tar.gz'
|
|
target: 'tarballs/ironic-python-agent/coreos/ipa-coreos.tar.gz'
|
|
keep-hierarchy: false
|
|
copy-after-failure: false
|
|
- console-log
|