<div dir="ltr"><div>Hello,</div><div><br></div><div>I just wrote a tool in go that is right now copying every 2 hours all the containers from rdo registry to <a href="http://quay.io" target="_blank">quay.io</a>.</div><div><br></div><div>Right now it's copying all branches: master, victoria, ussuri, train, stein, queens and rocky. You can see the containers in <a href="https://quay.io/tripleo%7Brelease%7D" target="_blank">https://quay.io/tripleo{release}</a> for example <a href="https://quay.io/tripleomaster" target="_blank">https://quay.io/tripleomaster</a></div><div><br></div><div>The
 tool basically searches for container build jobs with success status, 
parse the containers that was built, copy these containers to <a href="http://quay.io" target="_blank">quay.io</a> and tag it with current-tripleo and the built hash.</div><div><br></div><div>The code it's based on skopeo, and I did not use it, because there are some other stuff required on <a href="http://quay.io" target="_blank">quay.io</a> side that requires the use of <a href="http://quay.io" target="_blank">quay.io</a>
 api, like create an already public repository, parsing the tripleo 
container build job, tagging, etc. Also I wanted to play with go :)</div><div><br></div><div>Right now the code is under review at <a href="https://review.rdoproject.org/r/#/c/31133/" target="_blank">https://review.rdoproject.org/r/#/c/31133/</a> and I got it running on our toolbox, and he's an log example (without the --debug flag)</div><div><br></div><div>time="2020-11-19T12:06:17Z" level=info msg="Copying image centos-binary-horizon:4fad79713786f77292e59fa1c036f588 in tripleoussuri namespace"<br>time="2020-11-19T12:06:18Z" level=info msg="Tagging current-tripleo to sha256:db39e7d43d4c8eec82f61acd4956d7f165b595d515f270f8dabe0c9b009c95f2"<br>"Updated"<br><br>time="2020-11-19T12:06:19Z" level=info msg="Copying image centos-binary-ceilometer-base:4fad79713786f77292e59fa1c036f588 in tripleoussuri namespace"<br>time="2020-11-19T12:06:20Z" level=info msg="Tagging current-tripleo to sha256:5eee849a9f74d0107cbfd2f456f701be37256ea711079cffcc189d140e8f3176"<br>"Updated"<br><br>time="2020-11-19T12:06:21Z" level=info msg="Copying image centos-binary-gnocchi-base:4fad79713786f77292e59fa1c036f588 in tripleoussuri namespace"<br>time="2020-11-19T12:06:22Z" level=info msg="Tagging current-tripleo to sha256:5b46ea43d41e56dd81005a234631905a8ad594ef8432ae78542392114956f85e"<br>"Updated"<br></div><div><br></div><div>If you want to play around with this, feel free to do so, and any feedback is welcome :)</div><div><br></div><div>Kind regards,<font color="#888888"><br></font></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>
        <p style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
          <span>Arx</span> <span>Cruz</span><span style="color:rgb(170,170,170);margin:0px"></span>
        </p>
        
        <p style="font-weight:normal;font-size:12px;margin:0px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
          <span>Software Engineer</span>
        </p>
        <p style="font-weight:normal;margin:0px 0px 4px;font-size:12px;font-family:"RedHatText",sans-serif">
          <a style="color:rgb(0,136,206);font-size:12px;margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span>EMEA</span></a>
        </p>
    <div style="margin-bottom:4px">
      
      
    </div>
    <p style="font-weight:normal;margin:0px;font-size:12px;font-family:"RedHatText",sans-serif">
      <span style="margin:0px;padding:0px"><a style="color:rgb(0,0,0);font-size:12px;margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif" href="mailto:arxcruz@redhat.com" target="_blank">arxcruz@redhat.com</a>   </span>
      
      
    </p>
    
    <div style="font-weight:normal;font-size:12px;font-family:"RedHatText",sans-serif;margin-bottom:8px">
      <div>
        <a href="https://twitter.com/redhat" title="twitter" style="background:transparent url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/3780bd4ede961ef3cd4108b8c0e80186/web-icon-twitter.png") no-repeat scroll 0px 50%/13px auto;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:13px" target="_blank">
          <span style="margin-left:2px">@RedHat</span>
        </a>  
        <a href="https://www.linkedin.com/company/red-hat" title="LinkedIn" style="background:transparent url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/8d3507e3c6b6c9ad10e301accf1a4af0/web-icon-linkedin.png") no-repeat scroll 0px 50%/12px auto;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:12px;margin:0px 4px 0px 3px;padding-top:1px" target="_blank">
          <span style="margin-left:4px">Red Hat</span>
        </a> 
        <a href="https://www.facebook.com/RedHatInc" title="Facebook" style="background:transparent url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/220b85e2f100025e94cb1bcd993bd51d/web-icon-facebook.png") no-repeat scroll 0px 50%/11px auto;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:13px" target="_blank">
          <span>Red Hat</span>
        </a>
      </div>
      
    </div>

    <div style="margin-top:12px">
      <table border="0">
        <tbody><tr>
          <td width="100px"><a href="https://www.redhat.com" target="_blank"> <img src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png" width="90" height="auto"></a> </td>
          
        </tr>
      </tbody></table>
    </div>

  </div></div></div></div>