Merge pull request #5760 from sjackman/dockerfile-test

Dockerfile.test.yml: Run brew test-bot as linuxbrew
This commit is contained in:
Shaun Jackman 2019-02-17 00:05:59 -05:00 committed by GitHub
commit 2864ed9126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -37,4 +37,5 @@ ENV PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH \
# Install portable-ruby and tap homebrew/core.
RUN HOMEBREW_NO_ANALYTICS=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap homebrew/core \
&& chown -R linuxbrew: /home/linuxbrew/.linuxbrew \
&& rm -rf ~/.cache

View File

@ -1,3 +1,3 @@
sut:
build: .
command: env USER=root brew test-bot
command: "sudo -i -u linuxbrew /home/linuxbrew/.linuxbrew/bin/brew test-bot"