Skip to content

Commit

Permalink
deps: bump cni-plugins to v1.3.0
Browse files Browse the repository at this point in the history
Provide compatibility with new Minikube versions.

Allows cri-dockerd and crictl to work with Minikube,
especially when dealing with extensions that connect
with the outside world such as registry and ingress.
  • Loading branch information
manusa committed Sep 12, 2023
1 parent 5cba6bd commit e18bcdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/__tests__/download.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ describe('download module test suite', () => {
data: {
assets: [
{
name: 'cni-plugins-linux-amd64-v1.2.0.tgz.sha1',
name: 'cni-plugins-linux-amd64-v1.3.0.tgz.sha1',
browser_download_url: 'http://invalid'
},
{
name: 'cni-plugins-linux-amd64-v1.2.0.tgz',
name: 'cni-plugins-linux-amd64-v1.3.0.tgz',
browser_download_url: 'http://valid'
},
{
name: 'cni-plugins-linux-amd64-v1.2.0.tgz.sha512',
name: 'cni-plugins-linux-amd64-v1.3.0.tgz.sha512',
browser_download_url: 'http://invalid'
},
{
name: 'cni-plugins-windows-amd64-v1.2.0.tgz',
name: 'cni-plugins-windows-amd64-v1.3.0.tgz',
browser_download_url: 'http://invalid'
}
]
Expand All @@ -102,7 +102,7 @@ describe('download module test suite', () => {
// Then
expect(axios).toHaveBeenCalledWith(
expect.objectContaining({
url: 'https://api.github.com/repos/containernetworking/plugins/releases/tags/v1.2.0',
url: 'https://api.github.com/repos/containernetworking/plugins/releases/tags/v1.3.0',
headers: {Authorization: 'token secret-token'}
})
);
Expand Down
2 changes: 1 addition & 1 deletion src/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const downloadMinikube = async (inputs = {}) => {
// https://github.com/kubernetes/minikube/commit/fd549f396dbd39385baefe88dcead0ccf99f1bff
const installCniPlugins = async (inputs = {}) => {
core.info(`Downloading CNI plugins`);
const tag = 'v1.2.0';
const tag = 'v1.3.0';
const tar = await downloadGitHubArtifact({
inputs,
releaseUrl: `https://api.github.com/repos/containernetworking/plugins/releases/tags/${tag}`,
Expand Down

0 comments on commit e18bcdb

Please sign in to comment.