[U-Boot] [PATCH 1/2] gitlab-ci: Add USER environment variable to buildman/patman tests

Tom Rini trini at konsulko.com
Mon Aug 12 16:08:47 UTC 2019


The way that some of the tests here are designed, they expect USER to be
set in the environment.  This is not the case in the docker images, so
set a reasonable value.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0759561ce9a8..98e03d6ffb43 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -152,12 +152,14 @@ Run patman testsuite:
   script:
     - git config --global user.name "GitLab CI Runner"
     - git config --global user.email trini at konsulko.com
+    - export USER=gitlab
     - ./tools/patman/patman --test
 
 Run buildman testsuite:
   tags: [ 'all' ]
   stage: testsuites
   script:
+    - export USER=gitlab
     - ./tools/buildman/buildman -t
 
 Run binman and dtoc testsuite:
-- 
2.7.4



More information about the U-Boot mailing list