Skip to content

Commit

Permalink
CI: fix kubernetes repository
Browse files Browse the repository at this point in the history
The packages.cloud.google.com has been deprecated for a while.
See https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and openshift-merge-bot[bot] committed Mar 6, 2024
1 parent e40d805 commit a8e235a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/ci.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Docerfile is the environment where the test will be run in.
FROM registry.ci.openshift.org/openshift/release:golang-1.20
FROM registry.ci.openshift.org/openshift/release:golang-1.21

# Add kubernetes repository
ADD ci/kubernetes.repo /etc/yum.repos.d/
Expand Down
6 changes: 3 additions & 3 deletions ci/kubernetes.repo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
baseurl=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/
enabled=1
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/repodata/repomd.xml.key
exclude=kubelet kubeadm

0 comments on commit a8e235a

Please sign in to comment.