Compare commits
10 commits
releases/v
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
2d66d6bef6 | ||
|
3b0a9a4ae3 | ||
|
66e812b74c | ||
|
fc19d5430f | ||
|
5f6d890454 | ||
|
27d304ebf8 | ||
|
b5a36385a8 | ||
|
0b4bd0b42d | ||
|
2a0a121944 | ||
|
619a3634cc |
9 changed files with 2366 additions and 6983 deletions
18
.github/dependabot.yml
vendored
Normal file
18
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: npm
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
groups:
|
||||||
|
actions:
|
||||||
|
patterns:
|
||||||
|
- '*'
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: .github/workflows
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
groups:
|
||||||
|
actions:
|
||||||
|
patterns:
|
||||||
|
- '*'
|
4
.github/workflows/defaultLabels.yml
vendored
4
.github/workflows/defaultLabels.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
label-issues:
|
label-issues:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v9
|
||||||
name: Setting issue as idle
|
name: Setting issue as idle
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
||||||
operations-per-run: 100
|
operations-per-run: 100
|
||||||
exempt-issue-labels: 'backlog'
|
exempt-issue-labels: 'backlog'
|
||||||
|
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v9
|
||||||
name: Setting PR as idle
|
name: Setting PR as idle
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
13
.github/workflows/integration-tests.yml
vendored
13
.github/workflows/integration-tests.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
KUBECONFIG: /home/runner/.kube/config
|
KUBECONFIG: /home/runner/.kube/config
|
||||||
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
|
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
name: Checkout from PR branch
|
name: Checkout from PR branch
|
||||||
|
|
||||||
- id: action-npm-build
|
- id: action-npm-build
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
||||||
npm run build
|
npm run build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v5
|
||||||
name: Install Python
|
name: Install Python
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
@ -37,13 +37,18 @@ jobs:
|
||||||
- name: Install requests library
|
- name: Install requests library
|
||||||
run: pip install requests
|
run: pip install requests
|
||||||
|
|
||||||
|
- name: Setup kubectl latest
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
version: 'latest'
|
||||||
|
|
||||||
- name: Validate kubectl setup
|
- name: Validate kubectl setup
|
||||||
run: python test/validate-kubectl.py latest
|
run: python test/validate-kubectl.py latest
|
||||||
|
|
||||||
- name: Setup kubectl
|
- name: Setup kubectl old version
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
version: 'v1.15.1'
|
version: 'v1.15.1'
|
||||||
|
|
||||||
- name: Validate kubectl setup
|
- name: Validate kubectl setup old version
|
||||||
run: python test/validate-kubectl.py 'v1.15.1'
|
run: python test/validate-kubectl.py 'v1.15.1'
|
||||||
|
|
4
.github/workflows/prettify-code.yml
vendored
4
.github/workflows/prettify-code.yml
vendored
|
@ -10,9 +10,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Enforce Prettier
|
- name: Enforce Prettier
|
||||||
uses: actionsx/prettier@v2
|
uses: actionsx/prettier@v3
|
||||||
with:
|
with:
|
||||||
args: --check .
|
args: --check .
|
||||||
|
|
2
.github/workflows/release-pr.yml
vendored
2
.github/workflows/release-pr.yml
vendored
|
@ -13,6 +13,6 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: write
|
contents: write
|
||||||
uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@a705b2ab6a3ee889f2b0d925ad0bd2f9eb733ce6
|
uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@v1
|
||||||
with:
|
with:
|
||||||
changelogPath: ./CHANGELOG.md
|
changelogPath: ./CHANGELOG.md
|
||||||
|
|
2
.github/workflows/unit-tests.yml
vendored
2
.github/workflows/unit-tests.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
build: # make sure build/ci works properly
|
build: # make sure build/ci works properly
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build and run L0 tests.
|
- name: Build and run L0 tests.
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
Acceptable values are latest or any semantic version string like `v1.15.0`. Use this action in workflow to define which version of kubectl will be used.
|
Acceptable values are latest or any semantic version string like `v1.15.0`. Use this action in workflow to define which version of kubectl will be used.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: azure/setup-kubectl@v3
|
- uses: azure/setup-kubectl@v4
|
||||||
with:
|
with:
|
||||||
version: '<version>' # default is latest stable
|
version: '<version>' # default is latest stable
|
||||||
id: install
|
id: install
|
||||||
|
|
9286
package-lock.json
generated
9286
package-lock.json
generated
File diff suppressed because it is too large
Load diff
18
package.json
18
package.json
|
@ -18,17 +18,17 @@
|
||||||
"author": "GitHub",
|
"author": "GitHub",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.0",
|
"@actions/core": "^1.11.1",
|
||||||
"@actions/exec": "^1.0.0",
|
"@actions/exec": "^1.0.0",
|
||||||
"@actions/tool-cache": "^1.0.0"
|
"@actions/tool-cache": "^2.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^26.0.0",
|
"@types/jest": "^29.5.14",
|
||||||
"@types/node": "^12.0.4",
|
"@types/node": "^22.10.2",
|
||||||
"@vercel/ncc": "^0.34.0",
|
"@vercel/ncc": "^0.38.3",
|
||||||
"jest": "^26.0.1",
|
"jest": "^29.7.0",
|
||||||
"prettier": "2.7.1",
|
"prettier": "3.4.2",
|
||||||
"ts-jest": "^26.0.0",
|
"ts-jest": "^29.2.5",
|
||||||
"typescript": "3.9.2"
|
"typescript": "5.7.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue