Skip to content

Commit

Permalink
#7: fix, action is usable for Kubernetes v1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Apr 22, 2020
1 parent e111c60 commit 4e84505
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@ jobs:
main:
name: Runner
runs-on: ubuntu-latest
strategy:
matrix:
kubernetes: [v1.18.2,v1.17.5,v1.12.0]
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@master
- name: Run Action
run: export INPUT_MINIKUBE_VERSION="v1.5.2" && export INPUT_KUBERNETES_VERSION="v1.17.2" && export INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} && node src/index.js
- name: Test Action
uses: ./
with:
minikube version: v1.9.2
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate Minikube
run: minikube status
- name: Validate Cluster
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "github-actions-setup-minikube",
"version": "1.0.1",
"version": "1.0.2",
"description": "Set up your GitHub Actions workflow with a specific version of Minikube and Kubernetes",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/configure-environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const configureEnvironment = () => {
stable"
`);
logExecSync('sudo apt-get update');
logExecSync('sudo apt-get install docker-ce docker-ce-cli');
logExecSync('sudo apt-get install -y docker-ce docker-ce-cli conntrack');
};

module.exports = configureEnvironment;

0 comments on commit 4e84505

Please sign in to comment.