Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to new OBS subprojects #221

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 89 additions & 71 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/reconcile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install_osc
setup_osc

PACKAGES=$(osc se --package cri-o)
PROJECT_PREFIX=isv:kubernetes:addons:cri-o
PROJECT_PREFIX=isv:cri-o
PROJECT_PRERELEASE_PREFIX=$PROJECT_PREFIX:prerelease
BUILD_PROJECT_SUFFIX=:build/cri-o
BRANCH_MAIN=main
Expand Down
2 changes: 1 addition & 1 deletion scripts/vars
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi

GIT_ROOT=$(git rev-parse --show-toplevel)
ARCHIVE_PATH="$GIT_ROOT/build/bundle"
PROJECT_ROOT=isv:kubernetes:addons:cri-o
PROJECT_ROOT=isv:cri-o
CRIO_MAIN_BRANCH=main
REVISION=${REVISION:-$CRIO_MAIN_BRANCH}

Expand Down
4 changes: 2 additions & 2 deletions test/deb/lima.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ provision:

curl -fsSL https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/ /" | tee /etc/apt/sources.list.d/kubernetes.list
curl -fsSL https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/"$PROJECT_PATH":/build/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/$PROJECT_PATH:/build/deb/ /" | tee /etc/apt/sources.list.d/cri-o.list
curl -fsSL https://download.opensuse.org/repositories/isv:/cri-o:/"$PROJECT_PATH":/build/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://download.opensuse.org/repositories/isv:/cri-o:/$PROJECT_PATH:/build/deb/ /" | tee /etc/apt/sources.list.d/cri-o.list
apt-get update

apt-get install -y cri-o kubelet kubeadm kubectl
Expand Down
4 changes: 2 additions & 2 deletions test/rpm/lima.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ provision:
cat <<EOF | tee /etc/yum.repos.d/cri-o.repo
[cri-o]
name=CRI-O
baseurl=https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/$PROJECT_PATH:/build/rpm/
baseurl=https://download.opensuse.org/repositories/isv:/cri-o:/$PROJECT_PATH:/build/rpm/
enabled=1
gpgcheck=1
gpgkey=https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/$PROJECT_PATH:/build/rpm/repodata/repomd.xml.key
gpgkey=https://download.opensuse.org/repositories/isv:/cri-o:/$PROJECT_PATH:/build/rpm/repodata/repomd.xml.key
EOF

# Official package dependencies
Expand Down
4 changes: 2 additions & 2 deletions test/scripts/install-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ if [ -z $CRIO_ONLY ]; then
curl -fsSL https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/ /" | tee /etc/apt/sources.list.d/kubernetes.list
fi
curl -fsSL https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/"$PROJECT_PATH":/build/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/$PROJECT_PATH:/build/deb/ /" | tee /etc/apt/sources.list.d/cri-o.list
curl -fsSL https://download.opensuse.org/repositories/isv:/cri-o:/"$PROJECT_PATH":/build/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://download.opensuse.org/repositories/isv:/cri-o:/$PROJECT_PATH:/build/deb/ /" | tee /etc/apt/sources.list.d/cri-o.list

apt-get update

Expand Down
4 changes: 2 additions & 2 deletions test/scripts/install-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ fi
cat <<EOF | tee /etc/yum.repos.d/cri-o.repo
[cri-o]
name=CRI-O
baseurl=https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/$PROJECT_PATH:/build/rpm/
baseurl=https://download.opensuse.org/repositories/isv:/cri-o:/$PROJECT_PATH:/build/rpm/
enabled=1
gpgcheck=1
gpgkey=https://download.opensuse.org/repositories/isv:/kubernetes:/addons:/cri-o:/$PROJECT_PATH:/build/rpm/repodata/repomd.xml.key
gpgkey=https://download.opensuse.org/repositories/isv:/cri-o:/$PROJECT_PATH:/build/rpm/repodata/repomd.xml.key
EOF

dnf install -y cri-o jq
Expand Down