Compare commits

..

1 commit

Author SHA1 Message Date
GitHub Action
3e0aec4d80 build 2024-02-07 17:46:08 +00:00
11 changed files with 14707 additions and 2439 deletions

View file

@ -1,18 +0,0 @@
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:
- '*'

View file

@ -8,7 +8,7 @@ jobs:
label-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v3
name: Setting issue as idle
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
@ -19,7 +19,7 @@ jobs:
operations-per-run: 100
exempt-issue-labels: 'backlog'
- uses: actions/stale@v9
- uses: actions/stale@v3
name: Setting PR as idle
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -17,7 +17,7 @@ jobs:
KUBECONFIG: /home/runner/.kube/config
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
name: Checkout from PR branch
- id: action-npm-build
@ -29,7 +29,7 @@ jobs:
npm run build
fi
- uses: actions/setup-python@v5
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.x'
@ -37,18 +37,13 @@ jobs:
- name: Install requests library
run: pip install requests
- name: Setup kubectl latest
uses: ./
with:
version: 'latest'
- name: Validate kubectl setup
run: python test/validate-kubectl.py latest
- name: Setup kubectl old version
- name: Setup kubectl
uses: ./
with:
version: 'v1.15.1'
- name: Validate kubectl setup old version
- name: Validate kubectl setup
run: python test/validate-kubectl.py 'v1.15.1'

View file

@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Enforce Prettier
uses: actionsx/prettier@v3
uses: actionsx/prettier@v2
with:
args: --check .

View file

@ -13,6 +13,6 @@ jobs:
permissions:
actions: read
contents: write
uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@v1
uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@a705b2ab6a3ee889f2b0d925ad0bd2f9eb733ce6
with:
changelogPath: ./CHANGELOG.md

View file

@ -13,7 +13,7 @@ jobs:
build: # make sure build/ci works properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v1
- name: Build and run L0 tests.
run: |

1
.gitignore vendored
View file

@ -330,4 +330,3 @@ ASALocalRun/
node_modules
# Transpiled JS
lib/

View file

@ -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.
```yaml
- uses: azure/setup-kubectl@v4
- uses: azure/setup-kubectl@v3
with:
version: '<version>' # default is latest stable
id: install

7489
lib/index.js Normal file

File diff suppressed because it is too large Load diff

9524
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -18,17 +18,18 @@
"author": "GitHub",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/core": "^1.10.0",
"@actions/exec": "^1.0.0",
"@actions/tool-cache": "^2.0.1"
"@actions/tool-cache": "^1.0.0",
"ncc": "^0.3.6"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.10.2",
"@vercel/ncc": "^0.38.3",
"jest": "^29.7.0",
"prettier": "3.4.2",
"ts-jest": "^29.2.5",
"typescript": "5.7.2"
"@types/jest": "^26.0.0",
"@types/node": "^12.0.4",
"@vercel/ncc": "^0.34.0",
"jest": "^26.0.1",
"prettier": "2.7.1",
"ts-jest": "^26.0.0",
"typescript": "3.9.2"
}
}