Closed aandvalenzuela closed 8 months ago
A new Pull Request was created by @aandvalenzuela for branch master.
@smuzaffar, @iarspider, @aandvalenzuela, @cmsbuild can you please review it and eventually sign? Thanks. @rappoccio, @sextonkennedy, @antoniovilela you are the release manager for this. cms-bot commands are listed here
cms-bot internal usage
Also, do we really need this logout()
call? why not just remove it?
Right, removing it works as well. I did not remove it because I could not find any deprecation or change in the documentation.
I think when we started this then there was no api documentation for docker hub. We just see what docker hub was doing and just converted those to our api implementation :-)
Ahh I see :) Let me remove the call then!
Pull request #280 was updated.
@aandvalenzuela , please also cleanup the script to avoid doing from docker_utils import logout
Pull request #280 was updated.
Dump
response.text
in case response is not a json object to workaround server error.Fixes https://cmssdt.cern.ch/jenkins/job/dockerhub_synchronization/ and https://cmssdt.cern.ch/jenkins/job/cleanup-docker-tags/ jobs when dockerhub cannot logout and returns http 500 server error.