Adds new build script

Registered by Sam Yaple

The bash build script have servered us well, but they are gangly and have outgrown themselves. Recent attemps to have the docker images build in parallel simply make them more confusing to read and understand, much less extend.

A new python build script is underway that supports parallel building and should be much easier to read and understand. Additionally, this should make the transition to templated Dockerfiles much easier when we eventually get there

Blueprint information

Status:
Complete
Approver:
Sam Yaple
Priority:
Essential
Drafter:
Sam Yaple
Direction:
Approved
Assignee:
Sam Yaple
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon liberty-3
Started by
Steven Dake
Completed by
Sam Yaple

Related branches

Sprints

Whiteboard

TODO: make git work with python

Gerrit topic: https://review.openstack.org/#q,topic:bp/build-script,n,z

Addressed by: https://review.openstack.org/196617
    Add new build script

Addressed by: https://review.openstack.org/201433
    Improve build.py

Addressed by: https://review.openstack.org/202216
    Improve logging and prepare for gate

This blueprint in my mind is complete, and just needs some tidy, but Sam suggested to just bounce it to l3 to address the remaining items (like push and build per image). -sdake

Addressed by: https://review.openstack.org/208266
    Adds push to build script

Addressed by: https://review.openstack.org/212040
    Add new test script for parallel builds

Addressed by: https://review.openstack.org/211954
    Implement source fetching for build.py

Addressed by: https://review.openstack.org/213489
    Update TODO in build.py

Addressed by: https://review.openstack.org/215149
    Allow Docker to make better use of cache

Addressed by: https://review.openstack.org/215323
    Add options for selective build and listing images

Gerrit topic: https://review.openstack.org/#q,topic:bp/rhel-based-image-support,n,z

Addressed by: https://review.openstack.org/215541
    Add custom code to base docker templates

Addressed by: https://review.openstack.org/216036
    Add retries to build.py

Gerrit topic: https://review.openstack.org/#q,topic:build-single-container,n,z

Addressed by: https://review.openstack.org/215504
    build.py refactor

Gerrit topic: https://review.openstack.org/#q,topic:build-script,n,z

Addressed by: https://review.openstack.org/216395
    Fix regression in build-script

Addressed by: https://review.openstack.org/216655
    Add ability to make tarballs from Git clones

Addressed by: https://review.openstack.org/216691
    Remove tiered building in build.py

Addressed by: https://review.openstack.org/217646
    Fixes any() in an if statement build-py

Addressed by: https://review.openstack.org/217774
    Make logging more better

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.