Skip to content

Commit

Permalink
Merge pull request #221 from saschagrunert/new-obs
Browse files Browse the repository at this point in the history
Switch to new OBS subprojects
  • Loading branch information
openshift-merge-bot[bot] authored Feb 13, 2025
2 parents e8f90d7 + b133393 commit aee1b57
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 81 deletions.
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

0 comments on commit aee1b57

Please sign in to comment.