]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gitlab-ci: Add USER environment variable to buildman/patman tests
authorTom Rini <trini@konsulko.com>
Mon, 12 Aug 2019 14:02:18 +0000 (10:02 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 12 Aug 2019 19:19:18 +0000 (15:19 -0400)
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

index 0759561ce9a85d605a20d06c70a51eb1e7f0b686..98e03d6ffb430ad4809545c53e00221d3b42821b 100644 (file)
@@ -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: