From 53e90a7fee493e3da43f655f8b38a7541fc924b5 Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Tue, 7 Jun 2016 11:56:33 +1000
Subject: [PATCH] Remove dib-buildimage-debian-ironic post job

I noticed that this job was failing [1].  It was added with
If9363bff535f9d1fc9692767ac9194923030cfe7 , but there doesn't seem to
be anything published for it [2].

This would have to be fixed by pip-installing dib as done with
I5950c772b380cab926fd707cfed25db219a96f62 , but as it seems unused,
let's just remove it.

[1] http://logs.openstack.org/a1/a10a664a2a329ed881cb35faeed7c96c7239d2f4/post/dib-buildimage-debian-ironic/1e307f1/console.html
[2] http://tarballs.openstack.org/diskimage-builder/images/ironic-agent/debian-jessie/

Change-Id: I4ac3b94dcbc7e40e35525adf24a37d423f758116
---
 jenkins/jobs/diskimage-builder.yaml | 57 -----------------------------
 zuul/layout.yaml                    |  3 --
 2 files changed, 60 deletions(-)

diff --git a/jenkins/jobs/diskimage-builder.yaml b/jenkins/jobs/diskimage-builder.yaml
index a785cbd111..55ecc28a8e 100644
--- a/jenkins/jobs/diskimage-builder.yaml
+++ b/jenkins/jobs/diskimage-builder.yaml
@@ -36,60 +36,3 @@
 
     publishers:
       - console-log
-
-- job:
-    name: 'dib-buildimage-debian-ironic'
-    node: ubuntu-trusty
-
-    wrappers:
-      - build-timeout:
-          timeout: 60
-      - timestamps
-
-    builders:
-      - link-logs
-      - net-info
-      - install-distro-packages
-      - shell: |
-          #!/bin/bash -eux
-          cd ~
-
-          /usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
-            git://git.openstack.org \
-            openstack/diskimage-builder \
-            openstack/dib-utils
-
-          export PATH=$PATH:$(pwd)/openstack/dib-utils/bin
-          export PATH=$PATH:$(pwd)/openstack/diskimage-builder/bin
-
-          ./openstack/diskimage-builder/tests/install_test_deps.sh
-
-          DIB_RELEASE="jessie" disk-image-create \
-            -o $WORKSPACE/debian-jessie-ironic-agent \
-            debian ironic-agent
-
-          DIB_RELEASE="jessie" disk-image-create \
-            -o $WORKSPACE/debian-jessie-simple-init \
-            debian vm simple-init enable-serial-console
-
-
-    publishers:
-      - scp:
-          site: 'tarballs.openstack.org'
-          files:
-            - source: 'debian-jessie-ironic-agent.vmlinuz'
-              target: >
-                'tarballs/diskimage-builder/images/ironic-agent/debian-jessie/'
-              keep-hierarchy: false
-              copy-after-failure: false
-            - source: 'debian-jessie-ironic-agent.initramfs'
-              target: >
-                'tarballs/diskimage-builder/images/ironic-agent/debian-jessie/'
-              keep-hierarchy: false
-              copy-after-failure: false
-            - source: 'debian-jessie-simple-init.qcow2'
-              target: >
-                'tarballs/diskimage-builder/images/simple-init/debian-jessie/'
-              keep-hierarchy: false
-              copy-after-failure: false
-      - console-log
diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index 91089d5deb..e1efdd865e 100755
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -5598,7 +5598,6 @@ projects:
       - gate-dib-utils-tox-func
     post:
       - dib-utils-branch-tarball
-      - dib-buildimage-debian-ironic
 
   - name: openstack/diskimage-builder
     template:
@@ -5619,8 +5618,6 @@ projects:
     gate:
       - gate-dib-dsvm-functests-ubuntu-trusty
       - gate-dib-dsvm-functests-centos-7
-    post:
-      - dib-buildimage-debian-ironic
 
   - name: openstack/distil
     template: