summaryrefslogtreecommitdiffstats
path: root/build/opnfv-apex.spec
diff options
context:
space:
mode:
Diffstat (limited to 'build/opnfv-apex.spec')
-rw-r--r--build/opnfv-apex.spec88
1 files changed, 88 insertions, 0 deletions
diff --git a/build/opnfv-apex.spec b/build/opnfv-apex.spec
new file mode 100644
index 00000000..29cede8a
--- /dev/null
+++ b/build/opnfv-apex.spec
@@ -0,0 +1,88 @@
+Name: opnfv-apex
+Version: 2.2
+Release: %{release}
+Summary: RDO Manager disk images for deployment
+
+Group: System Environment
+License: Apache 2.0
+URL: https://gerrit.opnfv.org/gerrit/apex.git
+Source0: opnfv-apex.tar.gz
+
+BuildArch: noarch
+BuildRequires: openvswitch qemu-kvm
+Requires: openvswitch qemu-kvm bridge-utils libguestfs-tools
+
+%description
+These files are disk images used to launch the instack
+libvirt VM and to load into the instack undercloud machine
+to deploy an OpenStack overcloud.
+
+%prep
+%setup -q
+
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_bindir}/
+install ci/deploy.sh %{buildroot}%{_bindir}/opnfv-deploy
+install ci/clean.sh %{buildroot}%{_bindir}/opnfv-clean
+
+mkdir -p %{buildroot}%{_var}/opt/opnfv/stack/
+mkdir -p %{buildroot}%{_var}/opt/opnfv/nics/
+
+install build/instack.qcow2 %{buildroot}%{_var}/opt/opnfv/stack/
+install build/instack.xml %{buildroot}%{_var}/opt/opnfv/
+install build/baremetalbrbm_brbm1_*.xml %{buildroot}%{_var}/opt/opnfv/
+install build/brbm-net.xml %{buildroot}%{_var}/opt/opnfv/
+install build/brbm1-net.xml %{buildroot}%{_var}/opt/opnfv/
+install build/default-pool.xml %{buildroot}%{_var}/opt/opnfv/
+install build/network-environment.yaml %{buildroot}%{_var}/opt/opnfv/
+install build/nics/controller.yaml %{buildroot}%{_var}/opt/opnfv/nics/
+install build/nics/compute.yaml %{buildroot}%{_var}/opt/opnfv/nics/
+install build/opendaylight.yaml %{buildroot}%{_var}/opt/opnfv/
+install build/opendaylight.patch %{buildroot}%{_var}/opt/opnfv/
+
+install build/instackenv-virt.json %{buildroot}%{_var}/opt/opnfv/
+install build/stack/deploy-ramdisk-ironic.initramfs %{buildroot}%{_var}/opt/opnfv/stack/
+install build/stack/deploy-ramdisk-ironic.kernel %{buildroot}%{_var}/opt/opnfv/stack/
+install build/stack/ironic-python-agent.initramfs %{buildroot}%{_var}/opt/opnfv/stack/
+install build/stack/ironic-python-agent.kernel %{buildroot}%{_var}/opt/opnfv/stack/
+install build/stack/ironic-python-agent.vmlinuz %{buildroot}%{_var}/opt/opnfv/stack/
+install build/stack/overcloud-full.initrd %{buildroot}%{_var}/opt/opnfv/stack/
+install build/stack/overcloud-full.qcow2 %{buildroot}%{_var}/opt/opnfv/stack/
+install build/stack/overcloud-full.vmlinuz %{buildroot}%{_var}/opt/opnfv/stack/
+
+%files
+%{_bindir}/opnfv-deploy
+%{_bindir}/opnfv-clean
+%{_var}/opt/opnfv/stack/instack.qcow2
+%{_var}/opt/opnfv/instack.xml
+%{_var}/opt/opnfv/baremetalbrbm_brbm1_*.xml
+%{_var}/opt/opnfv/brbm-net.xml
+%{_var}/opt/opnfv/brbm1-net.xml
+%{_var}/opt/opnfv/default-pool.xml
+%{_var}/opt/opnfv/network-environment.yaml
+%{_var}/opt/opnfv/nics/controller.yaml
+%{_var}/opt/opnfv/nics/compute.yaml
+%{_var}/opt/opnfv/opendaylight.yaml
+%{_var}/opt/opnfv/opendaylight.patch
+%{_var}/opt/opnfv/instackenv-virt.json
+%{_var}/opt/opnfv/stack/deploy-ramdisk-ironic.initramfs
+%{_var}/opt/opnfv/stack/deploy-ramdisk-ironic.kernel
+%{_var}/opt/opnfv/stack/ironic-python-agent.initramfs
+%{_var}/opt/opnfv/stack/ironic-python-agent.kernel
+%{_var}/opt/opnfv/stack/ironic-python-agent.vmlinuz
+%{_var}/opt/opnfv/stack/overcloud-full.initrd
+%{_var}/opt/opnfv/stack/overcloud-full.qcow2
+%{_var}/opt/opnfv/stack/overcloud-full.vmlinuz
+
+%changelog
+* Thu Nov 12 2015 Dan Radez <dradez@redhat.com> - 2.2-1
+- OpenDaylight and Network Isolation support
+* Wed Oct 21 2015 Dan Radez <dradez@redhat.com> - 2.1-1
+- Initial deployment success using RPM packaging
+* Fri Sep 25 2015 Dan Radez <dradez@redhat.com> - 2.0-1
+- Migrated to RDO Manager
+* Fri Apr 24 2015 Dan Radez <dradez@redhat.com> - 0.1-1
+- Initial Packaging