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

ci: bump Minikube to 1.30.1 #83

Closed
wants to merge 2 commits into from
Closed
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
12 changes: 6 additions & 6 deletions .github/workflows/runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Test Action
uses: ./
with:
minikube version: v1.28.0
minikube version: v1.30.1
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate Minikube
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Test Action
uses: ./
with:
minikube version: v1.28.0
minikube version: v1.30.1
kubernetes version: v1.25.4
github token: ${{ secrets.GITHUB_TOKEN }}
driver: docker
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Test Action
uses: ./
with:
minikube version: v1.28.0
minikube version: v1.30.1
kubernetes version: v1.25.4
github token: ${{ secrets.GITHUB_TOKEN }}
start args: '--addons=registry --addons=metrics-server'
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Test Action
uses: ./
with:
minikube version: v1.28.0
minikube version: v1.30.1
kubernetes version: v1.25.4
github token: ${{ secrets.GITHUB_TOKEN }}
start args: '--addons=ingress'
Expand All @@ -110,7 +110,7 @@ jobs:
- name: Test Action
uses: ./
with:
minikube version: v1.28.0
minikube version: v1.30.1
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}
container runtime: ${{ matrix.container_runtime }}
Expand All @@ -135,7 +135,7 @@ jobs:
- name: Test Action
uses: ./
with:
minikube version: v1.28.0
minikube version: v1.30.1
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate Minikube
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Minikube
uses: manusa/actions-setup-minikube@v2.7.2
with:
minikube version: 'v1.28.0'
minikube version: 'v1.30.1'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Interact with the cluster
Expand Down
1 change: 1 addition & 0 deletions src/configure-environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const configureEnvironment = async (inputs = {}) => {
core.info('Waiting for Docker to be ready');
await waitForDocker();
}
await download.installCniPlugins(inputs);
await download.installCriCtl(inputs);
await download.installCriDockerd(inputs);
};
Expand Down
4 changes: 2 additions & 2 deletions src/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ const installCniPlugins = async (inputs = {}) => {
assetPredicate: asset =>
isLinux(asset.name) && isAmd64(asset.name) && !isSignature(asset.name) && asset.name.indexOf('cni-plugins') === 0
});
const extractedTarDir = await tc.extractTar(tar);
const cniBinDirPath = '/opt/cni/bin';
logExecSync(`sudo mkdir -p ${cniBinDirPath}`);
await tc.extractTar(tar, cniBinDirPath);
logExecSync(`sudo find ${extractedTarDir} -type f -exec install -Dm 0755 "{}" "${cniBinDirPath}" \\;`);
};

const installCriCtl = async (inputs = {}) => {
Expand Down