Skip to content

Commit

Permalink
Merge pull request #1322 from justaugustus/ba-cri-tools
Browse files Browse the repository at this point in the history
Use k8s-artifacts-cri-tools GCS bucket as source for CRI tools
  • Loading branch information
k8s-ci-robot authored May 29, 2020
2 parents 7eb9247 + 1ec1690 commit 14701fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/bionic/cri-tools/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build:
binary:
mkdir -p ./bin
curl -sSL --fail --retry 5 \
"https://github.com/kubernetes-sigs/cri-tools/releases/download/v$(CRI_TOOLS_VERSION)/crictl-v$(CRI_TOOLS_VERSION)-linux-{{ .Arch }}.tar.gz" \
"https://storage.googleapis.com/k8s-artifacts-cri-tools/release/v$(CRI_TOOLS_VERSION)/crictl-v$(CRI_TOOLS_VERSION)-linux-{{ .Arch }}.tar.gz" \
| tar -C ./bin -xz
dh_testroot
dh_auto_install
Expand Down
6 changes: 5 additions & 1 deletion rpm/kubelet.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Source3: https://dl.k8s.io/v%{KUBE_VERSION}/bin/linux/%{ARCH}/kubeadm
Source4: 10-kubeadm.conf
Source5: https://dl.k8s.io/network-plugins/cni-plugins-%{ARCH}-v%{CNI_VERSION}.tgz
Source6: kubelet.env
Source7: https://github.com/kubernetes-sigs/cri-tools/releases/download/v%{CRI_TOOLS_VERSION}/crictl-v%{CRI_TOOLS_VERSION}-linux-%{ARCH}.tar.gz
Source7: https://storage.googleapis.com/k8s-artifacts-cri-tools/release/v%{CRI_TOOLS_VERSION}/crictl-v%{CRI_TOOLS_VERSION}-linux-%{ARCH}.tar.gz

BuildRequires: systemd
BuildRequires: curl
Expand Down Expand Up @@ -157,6 +157,10 @@ mv cni-plugins/* %{buildroot}/opt/cni/bin/


%changelog
* Fri May 29 2020 Stephen Augustus <[email protected]> - 1.18.4
- Source cri-tools from https://storage.googleapis.com/k8s-artifacts-cri-tools/release
instead of https://github.com/kubernetes-sigs/cri-tools

* Thu Jun 24 2019 Stephen Augustus <[email protected]> - 1.15.1
- Bump minimum versions of all kubernetes dependencies
- Remove conditional logic for unsupported versions of Kubernetes
Expand Down

0 comments on commit 14701fd

Please sign in to comment.