ci: Track testing stream
ContainerImages/gasket-driver/pipeline/head There was a failure building this commit Details

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.
master
Dustin 2024-01-18 08:14:57 -06:00
parent b6a7ed88b8
commit c173eec971
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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()