Can't submit a git review from within the build container

Bug #1905789 reported by Scott Little
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Scott Little

Bug Description

Brief Description
-----------------
It is no longer possible to use git review from within a
build container due to the recent upgrade of the opendev gerrit server.

Git and git-review need to be upgraded to newer versions within the
build container.

It would also be nice to set a valid email address within the
'localrc' and have it reflected in the build container's .gitconfig.

Severity
--------
Provide the severity of the defect.
Major

Steps to Reproduce
------------------
tb.sh create
tb.sh run
tb.sh exec
cd $MY_REPO/...
git review -s
... edit some file ...
git add ...
git commit ...
git review

Expected Behavior
------------------
We can submit an update for review

Actual Behavior
----------------
git review failes.

Reproducibility
---------------
100%

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
2020-11-23

Last Pass
---------
2020-11-12

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Build

Workaround
----------
Manually uprev git and git-review after container is running.

Revision history for this message
Ghada Khalil (gkhalil) wrote :

stx.5.0 / medium - should be fixed to avoid the manual workaround for developers using the build container

tags: added: stx.build
Changed in starlingx:
importance: Undecided → Medium
assignee: nobody → Scott Little (slittle1)
status: New → Triaged
tags: added: stx.5.0
Revision history for this message
Scott Little (slittle1) wrote :
Changed in starlingx:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.