Skip to content

Commit

Permalink
RHCOS: move to rhcos.mirror.openshift.com
Browse files Browse the repository at this point in the history
rhcos.mirror.openshift.com is the new formal location to download
RHCOS boot images. It is backed by CloudFront CDN, which should be
more reliable and faster than the rhcos-redirector.
  • Loading branch information
vfreex committed Jul 14, 2023
1 parent bfdba2d commit e3e0db1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions data/data/rhcos-amd64.json
Expand Up @@ -71,7 +71,7 @@
"image": "rhcos-47.84.202206131038-0-azure.x86_64.vhd",
"url": "https://rhcos.blob.core.windows.net/imagebucket/rhcos-47.84.202206131038-0-azure.x86_64.vhd"
},
"baseURI": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.7/47.84.202206131038-0/x86_64/",
"baseURI": "https://rhcos.mirror.openshift.com/art/storage/releases/rhcos-4.7/47.84.202206131038-0/x86_64/",
"buildid": "47.84.202206131038-0",
"gcp": {
"image": "rhcos-47-84-202206131038-0-gcp-x86-64",
Expand Down Expand Up @@ -166,4 +166,4 @@
},
"ostree-commit": "d1d016103377968db034641fd7430ac23c56779c78448932bbddd2ce738f66a6",
"ostree-version": "47.84.202206131038-0"
}
}
4 changes: 2 additions & 2 deletions data/data/rhcos-ppc64le.json
@@ -1,5 +1,5 @@
{
"baseURI": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.7-ppc64le/47.84.202206131039-0/ppc64le/",
"baseURI": "https://rhcos.mirror.openshift.com/art/storage/releases/rhcos-4.7-ppc64le/47.84.202206131039-0/ppc64le/",
"buildid": "47.84.202206131039-0",
"images": {
"live-initramfs": {
Expand Down Expand Up @@ -58,4 +58,4 @@
},
"ostree-commit": "4e8af1890c494412d2e81295bce5493bf74bb4bde931f49688e5740bcb32b99b",
"ostree-version": "47.84.202206131039-0"
}
}
4 changes: 2 additions & 2 deletions data/data/rhcos-s390x.json
@@ -1,5 +1,5 @@
{
"baseURI": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.7-s390x/47.84.202206131037-0/s390x/",
"baseURI": "https://rhcos.mirror.openshift.com/art/storage/releases/rhcos-4.7-s390x/47.84.202206131037-0/s390x/",
"buildid": "47.84.202206131037-0",
"images": {
"dasd": {
Expand Down Expand Up @@ -65,4 +65,4 @@
},
"ostree-commit": "5862c745055acc1cf6b639d0a5dd595617f574ab65967afc1c54d381623cc992",
"ostree-version": "47.84.202206131037-0"
}
}
4 changes: 2 additions & 2 deletions data/data/rhcos.json
Expand Up @@ -71,7 +71,7 @@
"image": "rhcos-47.84.202206131038-0-azure.x86_64.vhd",
"url": "https://rhcos.blob.core.windows.net/imagebucket/rhcos-47.84.202206131038-0-azure.x86_64.vhd"
},
"baseURI": "https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.7/47.84.202206131038-0/x86_64/",
"baseURI": "https://rhcos.mirror.openshift.com/art/storage/releases/rhcos-4.7/47.84.202206131038-0/x86_64/",
"buildid": "47.84.202206131038-0",
"gcp": {
"image": "rhcos-47-84-202206131038-0-gcp-x86-64",
Expand Down Expand Up @@ -166,4 +166,4 @@
},
"ostree-commit": "d1d016103377968db034641fd7430ac23c56779c78448932bbddd2ce738f66a6",
"ostree-version": "47.84.202206131038-0"
}
}
4 changes: 2 additions & 2 deletions hack/update-rhcos-bootimage.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python3
# Usage: ./hack/update-rhcos-bootimage.py https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.7/47.84.202109171532-0/x86_64/meta.json amd64
# Usage: ./hack/update-rhcos-bootimage.py https://rhcos.mirror.openshift.com/art/storage/releases/rhcos-4.7/47.84.202109171532-0/x86_64/meta.json amd64
import codecs,os,sys,json,argparse
import urllib.parse
import urllib.request

# An app running in the CI cluster exposes this public endpoint about ART RHCOS
# builds. Do not try to e.g. point to RHT-internal endpoints.
RHCOS_RELEASES_APP = 'https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com'
RHCOS_RELEASES_APP = 'https://rhcos.mirror.openshift.com'

parser = argparse.ArgumentParser()
parser.add_argument("meta", action='store')
Expand Down

0 comments on commit e3e0db1

Please sign in to comment.