Last change
on this file since 2845 was
2801,
checked in by broder, 15 years ago
|
Superproject, not superrepo, is git's term for a repo that contains
submodules.
Make that replacement everywhere.
|
File size:
788 bytes
|
Rev | Line | |
---|
[2349] | 1 | |
---|
| 2 | |
---|
[2498] | 3 | on push to submodule: |
---|
| 4 | error on non-fast-forward |
---|
| 5 | error on pushing tag |
---|
[2349] | 6 | zephyr |
---|
| 7 | |
---|
[2801] | 8 | superproject heads are dev and prod |
---|
| 9 | on push to superproject: |
---|
| 10 | error - no pushes to superproject |
---|
[2358] | 11 | |
---|
[2498] | 12 | on remctl xvm repo (dev|prod) package SHA-1: |
---|
| 13 | use remctl ACLs to limit pushes to correct groups |
---|
| 14 | verify that new version number is greater than previous |
---|
| 15 | echo "(dev|prod) package SHA-1" > $build_queue/TIMESTAMP |
---|
| 16 | |
---|
| 17 | while build queue is not empty: |
---|
| 18 | find min(os.listdir($build_queue)) |
---|
| 19 | (as optimization: if same commit already in dev, just reprepro move) |
---|
| 20 | try to build submodule |
---|
[2350] | 21 | if fail: |
---|
[2498] | 22 | keep build around |
---|
| 23 | send mail with log |
---|
| 24 | zephyr |
---|
| 25 | upload to apt repo |
---|
| 26 | tag submodule with version |
---|
[2801] | 27 | commit superproject with updated submodule |
---|
[2498] | 28 | clean up build files |
---|
[2349] | 29 | zephyr |
---|
[2498] | 30 | rm $build_queue file |
---|
Note: See
TracBrowser
for help on using the repository browser.