[RELENG-80] Autorelease job should ensure HEAD of branch Created: 21/Feb/18 Updated: 01/Nov/18 Resolved: 01/Nov/18 |
|
| Status: | Closed |
| Project: | releng |
| Component/s: | Autorelease |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Medium |
| Reporter: | Thanh Ha (zxiiro) | Assignee: | Thanh Ha (zxiiro) |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Autorelease at the beginning of it's job run before it even tries to do anything should confirm the state of all branches in the repo. If necessary propose automated patch to update branch HEAD for projects that are behind. This will help us catch when a project is lagging behind in their commits. In theory Gerrit super-project subscriptions should be ensuring this but sometimes does get out of sync. |
| Comments |
| Comment by Anil Belur [ 22/Feb/18 ] |
|
So with Thanh's recommendation what we should be doing is as follows:
|
| Comment by Thanh Ha (zxiiro) [ 23/Aug/18 ] |
|
askb I hope you don't mind make taking this since it looks like it's not being worked on. |
| Comment by Thanh Ha (zxiiro) [ 23/Aug/18 ] |
|
Proposed patch works and is a very minimal code to implement however we need git 2.10+ for branch "." support. |
| Comment by Anil Belur [ 23/Aug/18 ] |
|
zxiiro as discussed on this thread, I thought you suggested not to use `git submodule update --remote`. Now you seem to be using this? https://lists.opendaylight.org/pipermail/release/2018-August/015844.html |
| Comment by Thanh Ha (zxiiro) [ 23/Aug/18 ] |
|
askb Right. We need a separate job to provide the update it shouldn't be done as part of the release job. |
| Comment by Thanh Ha (zxiiro) [ 23/Aug/18 ] |
|
I updated the patch so that it's run as a separate job. Ubunu 16.04 seems to also have an insufficient version of Git. We might be able to make this work when we get Ubunu 18.04 so we'll have to revisit the patch when that's available to us. Ubuntu 16.04's git version 2.7.4 |
| Comment by Thanh Ha (zxiiro) [ 01/Nov/18 ] |
|
I think we're done here. |