Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f759042
Imported new ipc-message v2 schema. Fixed npm install bugs with ink 5.
kevinwang5658 Dec 12, 2024
061bd5a
Refactored message sender. Refactored ipc message into a wrapper clas…
kevinwang5658 Dec 12, 2024
094b962
feat: Parallelized plans
kevinwang5658 Jan 7, 2025
004e991
feat: Added NODE_PATH to support new node-pty plugins. Fixed bug with…
kevinwang5658 Jan 8, 2025
a792ecf
feat: Refactored plugin resolution and added an ApiClient for network…
kevinwang5658 Jan 12, 2025
0e3d657
feat: Added codesigning for the new binaries from node-pty. Bumped li…
kevinwang5658 Jan 13, 2025
f54e081
fix: Fixed tests
kevinwang5658 Jan 13, 2025
aa24a8a
feat: Upgraded to latest schema which separates core and parameters
kevinwang5658 Jan 15, 2025
b847b46
fix: Fixed integration tests
kevinwang5658 Jan 15, 2025
605502b
feat: Added integration tests for import and apply + plan, and update…
kevinwang5658 Jan 16, 2025
85765ef
feat: Added ci for unit and integration tests
kevinwang5658 Jan 16, 2025
0564695
fix: Moved ci file to workflows folder
kevinwang5658 Jan 16, 2025
cb829d9
fix: Fixed indents
kevinwang5658 Jan 16, 2025
c7eeb69
fix: Fixed validation bugs
kevinwang5658 Jan 16, 2025
00baa5a
fix: Fixed on for github action
kevinwang5658 Jan 16, 2025
5d2e066
fix: Commit package-lock.json to fix errors
kevinwang5658 Jan 16, 2025
fea518c
fix: Removed buggy temp tests
kevinwang5658 Jan 16, 2025
ef1142e
feat: Refactored all references to property to "parameter"
kevinwang5658 Jan 16, 2025
558f683
fix: Fixed plugin resolution, path flag and bumped libraries
kevinwang5658 Jan 17, 2025
7a58844
fix: Fixed various bugs:
kevinwang5658 Jan 17, 2025
cd5df45
fix: Fixed sudo requests
kevinwang5658 Jan 18, 2025
25d3b41
feat: Added tests for the initialize orchestrator
kevinwang5658 Jan 18, 2025
e44c188
feat: Added additional tests to confirm resolver and fixed uninstall …
kevinwang5658 Jan 18, 2025
5f74189
fix: removed weird character from sudo test file
kevinwang5658 Jan 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/run-unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on: ['push']

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- run: npm ci
- run: npm test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/.nyc_output
/dist
/lib
/package-lock.json
/tmp
/.build
/yarn.lock
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm install -g codify
$ codify COMMAND
running command...
$ codify (--version)
codify/0.4.0 darwin-arm64 node-v20.15.0
codify/0.5.0 darwin-arm64 node-v20.15.1
$ codify --help [COMMAND]
USAGE
$ codify COMMAND
Expand All @@ -45,7 +45,7 @@ USAGE
FLAGS
-o, --output=<option> [default: default]
<options: plain|default|debug|json>
-p, --path=<value> path to project
-p, --path=<value> Path to codify.json file
-s, --secure
--debug

Expand All @@ -62,19 +62,20 @@ EXAMPLES
$ codify apply --path ~
```

_See code: [src/commands/apply/index.ts](https://github.com/kevinwang5658/codify/blob/v0.4.0/src/commands/apply/index.ts)_
_See code: [src/commands/apply/index.ts](https://github.com/kevinwang5658/codify/blob/v0.5.0/src/commands/apply/index.ts)_

## `codify destroy`

Destroy or uninstall a resource (or many resources).

```
USAGE
$ codify destroy [--json] [--debug] [-o plain|default|debug|json] [-s]
$ codify destroy [--json] [--debug] [-o plain|default|debug|json] [-s] [-p <value>]

FLAGS
-o, --output=<option> [default: default]
<options: plain|default|debug|json>
-p, --path=<value> Path to codify.json file
-s, --secure
--debug

Expand All @@ -88,7 +89,7 @@ EXAMPLES
$ codify destroy homebrew nvm
```

_See code: [src/commands/destroy.ts](https://github.com/kevinwang5658/codify/blob/v0.4.0/src/commands/destroy.ts)_
_See code: [src/commands/destroy.ts](https://github.com/kevinwang5658/codify/blob/v0.5.0/src/commands/destroy.ts)_

## `codify help [COMMAND]`

Expand Down Expand Up @@ -121,7 +122,7 @@ USAGE
FLAGS
-o, --output=<option> [default: default]
<options: plain|default|debug|json>
-p, --path=<value> path to project
-p, --path=<value> Path to codify.json file
-s, --secure
--debug

Expand All @@ -135,7 +136,7 @@ EXAMPLES
$ codify import homebrew nvm
```

_See code: [src/commands/import.ts](https://github.com/kevinwang5658/codify/blob/v0.4.0/src/commands/import.ts)_
_See code: [src/commands/import.ts](https://github.com/kevinwang5658/codify/blob/v0.5.0/src/commands/import.ts)_

## `codify plan`

Expand All @@ -148,7 +149,7 @@ USAGE
FLAGS
-o, --output=<option> [default: default]
<options: plain|default|debug|json>
-p, --path=<value> path to project
-p, --path=<value> Path to codify.json file
-s, --secure
--debug

Expand All @@ -163,7 +164,7 @@ EXAMPLES
$ codify plan
```

_See code: [src/commands/plan/index.ts](https://github.com/kevinwang5658/codify/blob/v0.4.0/src/commands/plan/index.ts)_
_See code: [src/commands/plan/index.ts](https://github.com/kevinwang5658/codify/blob/v0.5.0/src/commands/plan/index.ts)_

## `codify update [CHANNEL]`

Expand Down
34 changes: 10 additions & 24 deletions codify.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,19 @@
"default": "../codify-homebrew-plugin/src/index.ts"
}
},
{
"type": "nvm",
"global": "20",
"nodeVersions": [
"20"
]
},
{
"type": "homebrew",
"taps": [
"cirruslabs/cli",
"hashicorp/tap",
"homebrew/services"
],
"formulae": [
"cirruslabs/cli/cirrus",
"cirruslabs/cli/tart",
"jq"
"asciinema"
],
"casks": [
"firefox"
]
},
{
"type": "file",
"path": "./.env",
"contents": "AWS_ACCESS_KEY_ID=\nAWS_SECRET_ACCESS_KEY=\nAWS_S3_ENDPOINT=\nAWS_REGION=ENAM\n",
"onlyCreate": true
},
{
"type": "action",
"condition": "tart get codify-test-vm",
"action": "tart clone ghcr.io/cirruslabs/macos-sonoma-base:latest codify-test-vm",
"dependsOn": [
"homebrew"
]
}
{ "type": "alias", "alias": "gcdsdd", "value": "git clone" }
]
Loading
Loading