Skip to content

Commit

Permalink
Merge pull request #52 from yokawasa/fix-readme
Browse files Browse the repository at this point in the history
fix readme and add dependencies for v0.10.0 release
  • Loading branch information
yokawasa authored Feb 18, 2024
2 parents 7b696e2 + fafd2a5 commit 93f6df1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<p align="center">
[![action-setup-kube-tools Test](https://github.com/yokawasa/action-setup-kube-tools/actions/workflows/test.yml/badge.svg)](https://github.com/yokawasa/action-setup-kube-tools/actions/workflows/test.yml)
</p>

# action-setup-kube-tools
A GitHub Action that setup Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, rancher, tilt, skaffold, kube-score) and cache them on the runner. It is like a typescript version of [stefanprodan/kube-tools](https://github.com/stefanprodan/kube-tools) with no command input param, but as compared with [it](https://github.com/stefanprodan/kube-tools), it's **very fast** as it installs the tools asynchronously.
Expand Down Expand Up @@ -54,7 +52,7 @@ Specific versions for the commands can be setup by adding inputs parameters like
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: yokawasa/action-setup-kube-tools@v0.9.2
- uses: yokawasa/action-setup-kube-tools@v0.10.0
with:
kubectl: '1.17.1'
kustomize: '3.7.0'
Expand Down Expand Up @@ -87,7 +85,7 @@ Default versions for the commands will be setup if you don't give any inputs lik
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: yokawasa/action-setup-kube-tools@v0.9.2
- uses: yokawasa/action-setup-kube-tools@v0.10.0
- run: |
kubectl version --client
kustomize version
Expand All @@ -109,7 +107,7 @@ By specifying setup-tools you can choose which tools the action setup. Supported
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: yokawasa/action-setup-kube-tools@v0.9.2
- uses: yokawasa/action-setup-kube-tools@v0.10.0
with:
setup-tools: |
kubectl
Expand Down Expand Up @@ -144,7 +142,7 @@ Finally push the results
```
git add dist
git commit -a -m "prod dependencies"
git push origin releases/v0.9.2
git push origin releases/v0.10.0
```

## References
Expand Down
8 changes: 2 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
Expand All @@ -25,7 +21,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Expand Down
23 changes: 15 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"js-yaml": "^3.13.1",
"prettier": "^1.19.1",
"ts-jest": "^26.1.0",
"typescript": "^3.6.4"
"typescript": "^3.9.10"
}
}

0 comments on commit 93f6df1

Please sign in to comment.