From c173eec9711dce25c042f9d84627d9c6aac2207a Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 18 Jan 2024 08:14:57 -0600 Subject: [PATCH] ci: Track testing stream Apparently, the stream JSON file on the Fedora CoreOS website gets updated on the same day the release is made. If Zincati checks for and applies the update on the NVR machine before Jenkins has built the _gasket_driver_ container image, Frigate will fail to start. It seems like the *testing* stream tends to contain the same packages as the *stable* stream, but released one cycle ahead. Thus, the kernel package in one week's *testing* will be the same package in the following week's *stable*. We should be able to stay ahead of Zincati on the NVR machine, therefore, if we build the driver for the *testing* stream. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index df404a4..362ea76 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,7 @@ import groovy.json.JsonSlurper def get_fcos_release(arch) { def res = httpRequest( - url: 'https://builds.coreos.fedoraproject.org/streams/stable.json', + url: 'https://builds.coreos.fedoraproject.org/streams/testing.json', acceptType: 'APPLICATION_JSON', ) def json = new JsonSlurper() @@ -18,7 +18,7 @@ def get_fcos_release(arch) { def get_kernel_version(arch, fcos_release) { def res = httpRequest( - url: "https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/${fcos_release}/${arch}/commitmeta.json", + url: "https://builds.coreos.fedoraproject.org/prod/streams/testing/builds/${fcos_release}/${arch}/commitmeta.json", acceptType: 'APPLICATION_JSON', ) def json = new JsonSlurper()