Skip to content

Commit

Permalink
Build shouldn't make repos public (resolves #94)
Browse files Browse the repository at this point in the history
... since it requires admin privileges which a bot user shouldn't possess.
  • Loading branch information
hannes-ucsc committed Mar 6, 2016
1 parent bafadd6 commit ca5b0d8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions jenkins.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ def main():
errs.append('Tool: {}, failed push to quay.io')
for cmd, err in zip(*[cmds, errs]):
run_make(tools_to_build, cmd, err)
credentials = os.path.join(os.path.expanduser('~'), '.cgl-docker-lib')
make_repos_public(tools_to_build, credentials=credentials)
# TBD: Making repos public requires admin privileges which I'd rather not grant Jenkins
if False:
credentials = os.path.join(os.path.expanduser('~'), '.cgl-docker-lib')
make_repos_public(tools_to_build, credentials=credentials)


if __name__ == '__main__':
main()
main()

0 comments on commit ca5b0d8

Please sign in to comment.