This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
octopus:releasepipeline [2016/02/23 16:59] Fatih Degirmenci update with Brahmaputra process proposal |
octopus:releasepipeline [2016/02/24 18:44] (current) Aric Gardner |
||
---|---|---|---|
Line 35: | Line 35: | ||
SHA1s of the repos are identified by PTLs. If the project is integrated to other projects (such as installer projects) it is important to communicate with these projects as well. | SHA1s of the repos are identified by PTLs. If the project is integrated to other projects (such as installer projects) it is important to communicate with these projects as well. | ||
+ | |||
+ | To select the SHA1 to apply the tag for, you can use Gerrit web interface or the git commands as listed below. | ||
+ | |||
+ | * Using Gerrit Web Interface: | ||
+ | * https://gerrit.opnfv.org/gerrit/gitweb?p=<**YOUR PROJECT NAME**>.git;a=shortlog;h=refs/heads/stable/brahmaputra | ||
+ | * Click one of the commits listed on the page. The SHA1 is the one listed in commit field. | ||
+ | * Using Git command | ||
+ | * git checkout stable/brahmaputra | ||
+ | * git log --graph | ||
+ | |||
+ | |||
===== Tagging ===== | ===== Tagging ===== | ||
* git fetch origin | * git fetch origin | ||
+ | * git checkout stable/brahmaputra | ||
* git checkout <**SHA1**> | * git checkout <**SHA1**> | ||
* git tag -am "brahmaputra.1.0" brahmaputra.1.0 | * git tag -am "brahmaputra.1.0" brahmaputra.1.0 | ||
* git push origin brahmaputra.1.0 | * git push origin brahmaputra.1.0 | ||
+ | |||
+ | If you get the error | ||
+ | ! [remote rejected] brahmaputra.1.0 -> brahmaputra.1.0 (prohibited by Gerrit) | ||
+ | This is because you are not the author of the commit being tagged. email helpdesk and I will add forge rights to refs/tags/* on your repo. | ||
+ | |||
+ | |||
Please contact aricg and/or other Octopus members on #opnfv-octopus channel if you experience any issues. | Please contact aricg and/or other Octopus members on #opnfv-octopus channel if you experience any issues. |