[RELENG-69] Create autorelease job to verify non SR projects upstream changes Created: 30/Nov/17 Updated: 24/Aug/18 Resolved: 24/Aug/18 |
|
| Status: | Closed |
| Project: | releng |
| Component/s: | Autorelease |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | High |
| Reporter: | Luis Gomez | Assignee: | Anil Belur |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We need an autorelease job to verify non-SR projects (odlparent, yangtools) changes before they get released and consumed by downstream:
|
| Comments |
| Comment by Luis Gomez [ 30/Nov/17 ] |
|
As discussed during integration call, we need this job but we can wait until we get new cloud infra. |
| Comment by Luis Gomez [ 09/Jan/18 ] |
|
I start to think this kind of job will be much more stable and usable once we streamline the Core distribution (hopefully in Flourine). |
| Comment by Thanh Ha (zxiiro) [ 08/Feb/18 ] |
|
askb The Oxygen release is fast approaching. I think we should try to get this task going if we want to have it available for the upcoming Flourine release. |
| Comment by Anil Belur [ 09/Feb/18 ] |
|
Here is a summary of points as discussed with ecelgp:
|
| Comment by Anil Belur [ 18/Mar/18 ] |
|
ecelgp Here is an initial version (WIP) of the job being tested on the sandbox https://jenkins.opendaylight.org/sandbox/job/autorelease-verify-sr-projects-oxygen/9 Here is the link to log server which is working |
| Comment by Anil Belur [ 18/Mar/18 ] |
|
Tested with the change [x.] which bumps yangtools to 2.0.3-SNAPSHOT |
| Comment by Anil Belur [ 19/Mar/18 ] |
|
[WIP] Verify non SR projects changes upstream |
| Comment by Anil Belur [ 19/Mar/18 ] |
|
ecelgp Please provide a odlparent version bump change for testing the job. |
| Comment by Luis Gomez [ 19/Mar/18 ] |
|
I think for oxygen you can try any odlparent patch in 3.0.x branch (3.0.3-SNAPSHOT): For example: https://git.opendaylight.org/gerrit/#/c/69609/ For master (fluorine) you can try any odlparent patch in 3.1.x branch (3.1.0-SNAPSHOT) but I do not see any opened patch right now. Would it be possible to build the 3.1.x branch head instead? |
| Comment by Anil Belur [ 20/Mar/18 ] |
|
ecelgp I tried with both the patches, but unfortunately the pom files are not standard between the SR projects which makes it difficult to read the SR SNAPSHOT VERSION. For ex odlparent has: https://jenkins.opendaylight.org/sandbox/job/autorelease-verify-sr-projects-oxygen/14/consoleText
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
<version>4.0.0-SNAPSHOT</version>
<relativePath>odlparent-lite</relativePath>
</parent>
While yangtools has: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>org.opendaylight.odlparent</groupId> <artifactId>odlparent-lite</artifactId> <version>3.0.2</version> <relativePath/> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.opendaylight.yangtools</groupId> <artifactId>yangtools-aggregator</artifactId> <version>2.0.3-SNAPSHOT</version> <name>yangtools</name> <!-- Used by Sonar to set project name --> <packaging>pom</packaging> |
| Comment by Anil Belur [ 20/Mar/18 ] |
|
Retrigger the job along with handling diff pom file structures. https://jenkins.opendaylight.org/sandbox/job/autorelease-verify-sr-projects-oxygen/14 |
| Comment by Luis Gomez [ 20/Mar/18 ] |
|
I guess if it is difficult to extract odlparent/yangtools version from a patch, we could pass those directly to the job as the most important thing (at least in the beginning) is to do the version bump and build of all projects that are in AR. |
| Comment by Anil Belur [ 20/Mar/18 ] |
|
ecelgp No worries, I have made some improvement to the scripts to handle that part too. However, I am unable to figure some inconsistencies in the pom.xml in controller project [x.] file which is causing parsing errors in [y.]: [x.]https://github.com/opendaylight/controller/blob/master/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/artifacts/pom.xml `controller/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/artifacts/pom.xml` #set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright © ${copyrightYear} ${copyright} and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.htm
|
| Comment by Luis Gomez [ 24/Apr/18 ] |
|
So today in Kernel call Robert brought a totally different approach on how to do the verification of Release-Integrated project (odlparent, yangtools) changes before they get released and consumed by downstream: Instead of straight build an odlparent/yangtools patch and then bump all Managed projects to use this version, we could simply: 1) download odlparent/yangtools patch. This way we do not need to change version in all AR projects but just the ones we want to test (odlparent/yangtools). |
| Comment by Anil Belur [ 24/Aug/18 ] |
|
As discussed over the int-dist call, this is implemented in the multipatch job, therefore not required any longer. |