Skip to content
Snippets Groups Projects
Commit 51c36d9e authored by Stanley Cheung's avatar Stanley Cheung
Browse files

add composer/auth.json env variable

parent b87663b3
No related branches found
No related tags found
No related merge requests found
...@@ -230,7 +230,10 @@ class PHPLanguage: ...@@ -230,7 +230,10 @@ class PHPLanguage:
return _SSL_CERT_ENV return _SSL_CERT_ENV
def global_env(self): def global_env(self):
return {} # need to manually copy to each jenkins machine if we run into github
# rate limit when running `composer install`
return {"BUILD_INTEROP_DOCKER_EXTRA_ARGS":
"-v /var/local/.composer/auth.json:/root/.composer/auth.json:ro"}
def __str__(self): def __str__(self):
return 'php' return 'php'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment