[U-Boot,1/2] gitlab-ci: Add USER environment variable to buildman/patman tests
diff mbox series

Message ID 1565626128-2563-1-git-send-email-trini@konsulko.com
State Accepted
Commit edbe0d5664af28005f14bf02f48ca95bd334c0b7
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot,1/2] gitlab-ci: Add USER environment variable to buildman/patman tests
Related show

Commit Message

Tom Rini Aug. 12, 2019, 4:08 p.m. UTC
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@konsulko.com>
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

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@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: