Bump CoreOS to 1010.6.0 (last current stable)
This approach was used instead of fetching the latest version number at build time because that meant a CoreOS update could break our gates at any given time. A new CoreOS make target, 'pin_latest', was made available. This target bumps the "pinned" version to the latest. An eventual proposal bot will call this target to ensure we stay up to date. This also offers the possibility for downstream operators that want to build the latest version to call this target before building. This leads to the same result as fetching directly in the python build script, but with more flexibility. This is a second attempt to merge this change, as before it caused frequent CI failures/timeouts. The expectation is that with CoreOS only gating on IPA, this would be lower impact and easier to mitigate. Change-Id: I78cb2efff2293b1591b30b7e39df9fc2af98d0b2 Closes-bug: 1581673 Co-Authored-By: Arun S A G <sagarun@gmail.com> Co-Authored-By: Jim Rollenhagen <jim@jimrollenhagen.com>
This commit is contained in:
parent
b139dccf3c
commit
5df024e716
@ -23,3 +23,6 @@ docker_clean:
|
||||
|
||||
iso: docker coreos
|
||||
./iso-image-create -o $(BUILD_DIR)/ipa-coreos.iso -i $(INITRD) -k $(KERNEL)
|
||||
|
||||
pin_latest:
|
||||
./pin_latest_coreos.sh
|
||||
|
@ -21,10 +21,20 @@ import time
|
||||
|
||||
import requests
|
||||
|
||||
COREOS_VERSION = "367.1.0"
|
||||
|
||||
def get_coreos_version(version_file, key='COREOS_VERSION_ID'):
|
||||
with open(version_file) as f:
|
||||
for line in f:
|
||||
if line.startswith("%s=" % key):
|
||||
return line.strip().split("=")[1]
|
||||
raise ValueError('Could not read CoreOS version number from file')
|
||||
|
||||
COREOS_VERSION_FILE = os.path.join(os.path.dirname(__file__), 'version.txt')
|
||||
COREOS_VERSION = os.environ.get('COREOS_VERSION',
|
||||
get_coreos_version(COREOS_VERSION_FILE))
|
||||
|
||||
COREOS_ARCH = "amd64-usr"
|
||||
COREOS_BASE_URL = ("http://storage.core-os.net/coreos/{arch}/{ver}"
|
||||
COREOS_BASE_URL = ("http://stable.release.core-os.net/{arch}/{ver}"
|
||||
.format(arch=COREOS_ARCH, ver=COREOS_VERSION))
|
||||
COREOS_PXE_DIGESTS = "coreos_production_pxe_image.cpio.gz.DIGESTS.asc"
|
||||
COREOS_PXE_KERNEL = "coreos_production_pxe.vmlinuz"
|
||||
@ -282,10 +292,122 @@ XUhbqhm9xWV8NdmItO3BBSlIEksFunykzz1HM6shvzw77sM5+TEtSsxoOxxys+9N
|
||||
ItCl8L6yf84A5333pLaUWh5HON1J+jGGbKnUzXKBsDxGSvgDcFlyVloBRQShUkv3
|
||||
FMem+FWqt7aA3/YFCPgyLp7818VhfM70bqIxLi0/BJHp6ltGN5EH+q7Ewz210VAB
|
||||
ju5IO7bjgCqTFeR3YYUN87l8ofdARx3shApXS6TkVcwaTv5eqzdFO9fZeRqHj4L9
|
||||
Pg==
|
||||
=LY4G
|
||||
PrkCDQRV5KHhARAAz9Qk17qaFi2iOlRgA4WXhn5zkr9ed1F1HGIJmFB4J8NIVkTZ
|
||||
dt2UfRBWw0ykOB8m1sWLEfimP2FN5urnfsndtc1wEVrcuc7YAMbfUgxbTc/o+gTy
|
||||
dpVCKmGrL10mZeOmioFQuVT9s1qzIII/gDbiSLRVDb75F6/aag7mDsJFGtUqStpN
|
||||
mR0AHyrLOY/jYVLlTr8dAfX2Z2aBifpJ/nPaw29FkTBCQvyC84+cReTT3RiUOXQ3
|
||||
EL4zLaYm/VTtLlAnZ4IYADpGijFHw2c4jcBWZ/72Wb6TUk9lg2b6M6THfCwNieJB
|
||||
CwCf6VHyKBebbYZYHiuZB5GILfdm4aSclRACVXT3seTZQh8yeCYLMYyieceeHesO
|
||||
M/4rC5iLujbNsVN+95z0SuRMPlpd3mfExFYeeH6SO/EgTL5cCXwP6L2R2vP67gSs
|
||||
P01HBTOAOzEzXQQ4IY1kK2zUjbJJBx8HylvcYLlbsRce1uvMmCR/b7QWJEXR/7VX
|
||||
qjCtmYIwroxhGiMpH5Fssh0z62BiBXDLc0iSKVBD3P36Uv++o51aDOg/V928ve/D
|
||||
4ISf28IiNnVIg1/zrUy2+LpFSUkU+Szjd77leUSjOTFnpyHQhlsZuG02S4SO1opX
|
||||
O6HblhuEjCE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qTS12By95po4avzgqaV3PFYi9Rx6tBvzwnD7x2UeGk4
|
||||
wzFdb2V4LWoe6bqMokxbUMWJgP5faWDT6/urhBt4GYcBxX0b3l9qBs20hP5JVHGX
|
||||
208gOW5cjfHrTNiHiY4/CbQrbAdO24CUYZtYEmDNdHN+KHrlLLjkf0v5yGjVK2XB
|
||||
qs8l6upA7xBGHAF7U/XkLYrvyusqqWdvdGHGHthbLBzjceO+4N+lb6RyHRuF6kgb
|
||||
LdCcaKfCMUs/v1ZXgYGhdk7NWFHFDoF8DByHwluoihd10OudGPFg7ydTc6+V3kt9
|
||||
SN1/iQbk2/rHffI1tm28MfBvN+K/Da+Y+EAqTbUDHl6O30mSGZjLl1xJxvWoezU9
|
||||
8TdPCxy7L9XRFfqZlBJAo8cxRIPHpqKIaRy0wn616xCDfUSQ9NBLlDITL4d7tNvD
|
||||
C9hLpehFKMKIEct5WDfaQIWQe2o1fjVsU2Is2wXVmdi9A7X3q7yWVA766zQTxQO6
|
||||
1TcgyoJM9k2DxncsmwXIa8oD6KP4VYtrtsx8r4VXPEjHucCjPe+qgyY65wBPXSl5
|
||||
U21AiUuGGegFQwRD6L7ZqT3K5JLDlK/kkaV3l8i0onfJ+5CytOB2T6QPQnJ4Ynch
|
||||
K9w3EiyDrgzl0IpotQXxOBGHoCtcxUZvkNeOIxAb8QwkWnhgkljMyQ==
|
||||
=nV4h
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
"""
|
||||
"""
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
11
imagebuild/coreos/pin_latest_coreos.sh
Executable file
11
imagebuild/coreos/pin_latest_coreos.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
HERE=$(dirname $0)
|
||||
|
||||
CHANNEL="stable"
|
||||
ARCH="amd64-usr"
|
||||
VERSION="current"
|
||||
|
||||
URL="https://${CHANNEL}.release.core-os.net/${ARCH}/${VERSION}/version.txt"
|
||||
|
||||
wget $URL -O "${HERE}/version.txt"
|
7
imagebuild/coreos/version.txt
Normal file
7
imagebuild/coreos/version.txt
Normal file
@ -0,0 +1,7 @@
|
||||
COREOS_BUILD=1010
|
||||
COREOS_BRANCH=6
|
||||
COREOS_PATCH=0
|
||||
COREOS_VERSION=1010.6.0
|
||||
COREOS_VERSION_ID=1010.6.0
|
||||
COREOS_BUILD_ID="2016-06-28-0910"
|
||||
COREOS_SDK_VERSION=1010.5.0
|
Loading…
x
Reference in New Issue
Block a user