Skip to content

Latest commit

 

History

History

images

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

project-infra images

Contains configurations for container images that are used by KubeVirt CI Prow jobs. Most of the images have corresponding build jobs that are executed after the configuration of an image in one of the subdirectories is changed. The job then will build and push the image to quay.io/kubevirtci image registry.

publish_image.sh

You can use the above script to build and publish images to quay.io (provided you have the quay credentials)

Example:

./publish_image.sh -b golang quay.io kubevirtci

builds the image in folder images/golang and tags it with quay.io/kubevirtci/golang:v20211232-abcdefgh where the tag is calculated from date and current git commit id when building

Updating published images

See

update-jobs-with-latest-image.sh

if you want to update an image to the latest version, you can use the script `update-jobs-with-latest-image.sh like this:

./hack/update-jobs-with-latest-image.sh gcr.io/k8s-testimages/bootstrap ./github/ci/prow-deploy/files/jobs/kubevirt/cluster-network-addons-operator

which then would produce this

diff --git a/github/ci/prow-deploy/files/jobs/kubevirt/cluster-network-addons-operator/cluster-network-addons-operator-presubmits.yaml b/github/ci/prow-deploy/files/jobs/kubevirt/cluster-network-addons-operator/cluster-network-addons-operator-presubmits.yaml
index 89e2b8b2..43a5b7f9 100644
--- a/github/ci/prow-deploy/files/jobs/kubevirt/cluster-network-addons-operator/cluster-network-addons-operator-presubmits.yaml
+++ b/github/ci/prow-deploy/files/jobs/kubevirt/cluster-network-addons-operator/cluster-network-addons-operator-presubmits.yaml
@@ -54,7 +54,7 @@ presubmits:
nodeSelector:
type: bare-metal-external
containers:
-          - image: gcr.io/k8s-testimages/bootstrap:v20190516-c6832d9
+          - image: gcr.io/k8s-testimages/bootstrap:v20210913-fc7c4e8
             securityContext:
               privileged: true
             resources:
@@ -86,7 +86,7 @@ presubmits:
nodeSelector:
type: bare-metal-external
containers:
-          - image: gcr.io/k8s-testimages/bootstrap:v20190516-c6832d9
+          - image: gcr.io/k8s-testimages/bootstrap:v20210913-fc7c4e8
             securityContext:
               privileged: true
             resources:
@@ -118,7 +118,7 @@ presubmits:
nodeSelector:
type: bare-metal-external
containers:
-          - image: gcr.io/k8s-testimages/bootstrap:v20190516-c6832d9
+          - image: gcr.io/k8s-testimages/bootstrap:v20210913-fc7c4e8
             securityContext:
               privileged: true
             resources:

bump-prow-job-images.sh

Used by the prow job periodic-project-infra-prow-job-image-bump to regularly update the image references in the prow job configurations.