diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2024-01-28 06:09:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 06:09:06 -0500 |
commit | 0f61b7b176f76aeff0018144916d3abaa6885c4d (patch) | |
tree | c62e6aee50e8846d45f13fc91e9981e4cceba99f /scripts | |
parent | e9125500af158bc85b93463620b80f6dfa3fcf9f (diff) |
ci: update cirrus-ci FreeBSD versions (#1400)
* ci: update cirrus-ci FreeBSD versions
Looks like the newest available FreeBSD images are 13-2 and 14-0, and
the previously used ones aren't available anymore.
* comment
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/cirrus/build.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/scripts/cirrus/build.py b/scripts/cirrus/build.py index 27d93ccf..3e2667fd 100644 --- a/scripts/cirrus/build.py +++ b/scripts/cirrus/build.py @@ -18,8 +18,8 @@ from urllib.request import Request, urlopen, urlretrieve URL = "https://api.cirrus-ci.com/graphql" TASKS = [ - ("freebsd_12_3_build", "bottom_x86_64-unknown-freebsd-12-3.tar.gz"), - ("freebsd_13_1_build", "bottom_x86_64-unknown-freebsd-13-1.tar.gz"), + ("freebsd_12_3_build", "bottom_x86_64-unknown-freebsd-13-2.tar.gz"), + ("freebsd_13_1_build", "bottom_x86_64-unknown-freebsd-14-0.tar.gz"), ("macos_build", "bottom_aarch64-apple-darwin.tar.gz"), ] DL_URL_TEMPLATE = "https://api.cirrus-ci.com/v1/artifact/build/%s/%s/binaries/%s" @@ -31,9 +31,7 @@ def make_query_request(key: str, branch: str, build_type: str): # Dumb but if it works... config_override = ( - Path(".cirrus.yml") - .read_text() - .replace("# -PLACEHOLDER FOR CI-", 'BTM_BUILD_RELEASE_CALLER: "nightly"') + Path(".cirrus.yml").read_text().replace("# -PLACEHOLDER FOR CI-", 'BTM_BUILD_RELEASE_CALLER: "nightly"') ) query = """ mutation CreateCirrusCIBuild ( @@ -192,11 +190,7 @@ def main(): # Sleep for a minute if something went wrong, just in case. sleep(60) else: - print( - "Build failed to complete after {} minutes, bailing.".format( - MINUTES - ) - ) + print("Build failed to complete after {} minutes, bailing.".format(MINUTES)) if not success: exit(2) |