David Gamero
01cfe404ef
Migrate to esbuild/Vitest and upgrade @actions/* to ESM-only versions ( #492 )
...
* Migrate build toolchain from ncc/Jest to esbuild/Vitest
Replace the legacy ncc/Jest/Babel build stack with a modern ESM toolchain:
Build:
- Replace @vercel/ncc with esbuild (--platform=node --target=node20 --format=esm)
- Add createRequire banner for CJS interop in ESM bundle
- Add "type": "module" to package.json
- Add tsc --noEmit typecheck script (esbuild strips types without checking)
- Add typecheck to husky pre-commit hook
Dependencies:
- Bump @actions/core@3, exec@3, io@3, tool-cache@4 (ESM-only)
- Replace jest/ts-jest/@babel/* with vitest@4
Tests:
- Convert 29 test files: jest.fn()→vi.fn(), jest.mock()→vi.mock(), jest.spyOn()→vi.spyOn()
- Fix vitest 4 compat: mockImplementation requires args, mock call tracking, await .rejects
CI:
- Update build step from ncc build → npm run build
- Update composite action to use npm run build
* Switch tsconfig to NodeNext module resolution
Change module/moduleResolution from ES2022/bundler to NodeNext/NodeNext
and target from ES2022 to ES2020.
- Add .js extensions to all relative imports across 59 source/test files
(required by NodeNext module resolution)
- Add vitest/globals to tsconfig types array for global test API declarations
2026-02-24 11:57:56 -08:00
benjamin
ac0b58c9a5
Add timeout to the rollout status ( #425 )
...
* Added timeout to the rollout status and tests for it
* Fixed integration test errors
* Fix for blue green integration test
* Probable fix for integration errors
* No jobs run error fixed
* Changed timeout to file level constant
* Added parsing logic for timeout
* Made tests more concise
* implemented timeout validation check in an extracted utils mod
* Changed function name to parseDuration
* Removed timeout parameter from getResource
---------
Co-authored-by: David Gamero <david340804@gmail.com>
Co-authored-by: Suneha Bose <123775811+bosesuneha@users.noreply.github.com>
2025-07-09 10:22:21 -07:00
benjamin
b9529f8427
Make namespace input optional ( #420 )
...
Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tatsinnit <tamishra@microsoft.com>
2025-07-02 09:28:12 +12:00
David Gamero
99510dff95
case-insensitive resource type ( #398 )
...
* case-insensitive resource type
* inline error and throw outside switch
* consistent input naming
* catch failed clustertype parse
* protect raw input
* naming
* format
2025-04-16 11:47:29 -04:00
dependabot[bot]
bf768b3109
Bump the actions group across 1 directory with 7 updates ( #346 )
...
* Bump the actions group across 1 directory with 7 updates
Bumps the actions group with 7 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) | `1.10.1` | `1.11.1` |
| [@octokit/core](https://github.com/octokit/core.js ) | `3.6.0` | `6.1.2` |
| [@octokit/plugin-retry](https://github.com/octokit/plugin-retry.js ) | `3.0.9` | `7.1.2` |
| [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) | `29.5.13` | `29.5.14` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.7.4` | `22.8.7` |
| [prettier](https://github.com/prettier/prettier ) | `2.8.8` | `3.3.3` |
| [typescript](https://github.com/microsoft/TypeScript ) | `5.6.2` | `5.6.3` |
Updates `@actions/core` from 1.10.1 to 1.11.1
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
Updates `@octokit/core` from 3.6.0 to 6.1.2
- [Release notes](https://github.com/octokit/core.js/releases )
- [Commits](https://github.com/octokit/core.js/compare/v3.6.0...v6.1.2 )
Updates `@octokit/plugin-retry` from 3.0.9 to 7.1.2
- [Release notes](https://github.com/octokit/plugin-retry.js/releases )
- [Commits](https://github.com/octokit/plugin-retry.js/compare/v3.0.9...v7.1.2 )
Updates `@types/jest` from 29.5.13 to 29.5.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Updates `@types/node` from 22.7.4 to 22.8.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `prettier` from 2.8.8 to 3.3.3
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.3.3 )
Updates `typescript` from 5.6.2 to 5.6.3
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.6.3 )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: actions
- dependency-name: "@octokit/core"
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: "@octokit/plugin-retry"
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: actions
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: actions
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
* fixed octokit imports
* fix fs imports
* prettier
* babel config
* format
* format action update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Gamero <david340804@gmail.com>
2024-11-07 09:18:35 -05:00
Oliver King
47445fb82f
Add skip tls flag ( #260 )
2022-11-23 12:59:45 -05:00
Jaiveer Katariya
e917b5a666
Deploy with Manifests from URLs ( #251 )
...
* added functionality, need to add/modify existing tests
* added tests
* updated readme
* prettier
2022-10-17 17:48:28 -04:00
Jaiveer Katariya
01a65512ea
Blue/Green Refactor ( #229 )
...
* fresh new branch
* Added coverage to gitignore
Signed-off-by: Jaiveer Katariya <jaiveerkatariya@Jaiveers-MBP.lan>
* reverted package-lock.json
Signed-off-by: Jaiveer Katariya <jaiveerkatariya@Jaiveers-MBP.lan>
Co-authored-by: Jaiveer Katariya <jaiveerkatariya@Jaiveers-MBP.lan>
2022-08-12 15:47:05 -04:00
Marcus-Hines
0b5795551a
Private Cluster functionality ( #214 )
2022-07-28 17:14:02 -04:00
Vidya Reddy
71e93a71d4
Added Traffic split annotations ( #215 )
...
* Added Traffic split annotations
* traffic split - blueGreen deployment
* traffic split - canary deployment
* Traffic split annotations - canary deployment
* updated Readme and action.yml
* Traffic split - canary deployment
* clean code
* Clean code
* Clean code
* Create annotation object
* Updated Readme and action.yml
* Spelling correction
Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com>
2022-07-25 13:43:13 -04:00
Vidya
dcd9bc6b1a
Vidya reddy/prettier code ( #203 )
2022-06-24 16:57:45 -04:00
Jaiveer Katariya
aabcfcba3e
Add directory functionality ( #181 )
2022-04-12 13:17:37 -04:00
Oliver King
ca8d2604ac
Massive refactor ( #165 )
2022-02-02 09:07:53 -05:00
Koushik Dey
33608d18f7
Sending a warning instead of throwing error when KUBECONFIG is missing. ( #144 )
2021-08-17 16:39:38 +05:30
Ganeshrockz
2577009bcb
Adding ; as delimiter
2021-04-15 11:35:18 +05:30
Ganeshrockz
a58ad23e7f
PR comments
2021-04-14 20:05:45 +05:30
Ganeshrockz
625898f6eb
Removing whitespace from manifests
2021-04-14 14:31:04 +05:30
Ganeshrockz
8d257fed50
Supporting both comma and new line as delimiters for manifests
2021-04-14 14:14:06 +05:30
Sundar
b4bc3003e8
added blue green strategy ( #47 )
...
* added blue green strategy
* Addressed review comments
* addressed pr comments
* updated names in test
* addressed final pr comments
2020-07-13 08:59:05 +05:30
rgsubh
f1898e0618
Merge from release to master for test cases ( #41 )
...
* Test Cases for deploy (#35 )
* Test Cases for deploy
* Testing workflow
* Fixing an issue with test runs on remote
* Fixing an issue with test runs on remote
* Fixing an issue with test runs on remote
* Fixing an issue with test runs on remote
* Fixing an issue with test runs on remote
* Fixing an issue with test runs on remote
* Review Comments fix
* Review comments fix
* Reverting typescript export changes in previour PR (#39 )
2020-06-08 14:41:27 +05:30
Shivam Gupta
4c0e9cfbff
PR fixes
2020-01-10 11:26:48 +05:30
Deepak Sattiraju
be01c3f321
Deployment Strategy ( #4 ) ( #6 )
2019-11-18 21:07:19 +05:30
Deepak Sattiraju
8d56cba217
action
2019-09-23 15:16:33 +05:30