Add job to automatically cleanup old images 47/53247/4
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 13 Mar 2017 20:31:26 +0000 (16:31 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 16 Mar 2017 22:01:23 +0000 (18:01 -0400)
commit6c67f2a9c4a299083680db689ceb7d678f3adfaf
tree636dcde507666982bb7f00d2b194e8d2cb5403f7
parentbb48891618e7c7511f2db51e6beecc1235580841
Add job to automatically cleanup old images

Depends on lftools>=0.0.8. Adds a jjb job to automatically cleanup
non-public images in the Private Cloud and Rackspace Public clouds.

Criteria:

    - Uses the sandbox account and checks only the sandbox tenant
    - Images 30 days or older
    - Non-public images

In ODL we mark images public when we want to allow the community to use
them. These are officially supported images that has passed testing
typically in the sandbox.

Change-Id: Id4ce204393408a087739ea18d1dd9700d346ad30
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/opendaylight-infra-cleanup-old-images.sh [new file with mode: 0644]
jjb/releng-jobs.yaml