Skip to content

Commit

Permalink
Add images, apps, repos tests
Browse files Browse the repository at this point in the history
Benni-Math committed Sep 12, 2024
1 parent e8bdb79 commit 68f7c64
Showing 56 changed files with 912 additions and 662 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
/node_modules
oclif.manifest.json


tsconfig.tsbuildinfo

yarn.lock
pnpm-lock.yaml
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -2,3 +2,5 @@
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged

npm run build
27 changes: 14 additions & 13 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"version": "0.2.0",
"version": "1.0.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach",
"port": 9229,
"skipFiles": ["<node_internals>/**"]
},
{
"type": "node",
"request": "launch",
"name": "Execute Command",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/bin/dev",
"args": ["hello", "world"]
"name": "Mocha: current file",
"env": {
"TS_NODE_TRANSPILE_ONLY": "true",
"TS_NODE_FILES": "true"
},
"program": "${workspaceFolder}/node_modules/.bin/mocha",
"args": ["${file}", "--config=.mocharc.json"],
"console": "integratedTerminal",
// "disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha"
}
}
]
}
}
9 changes: 7 additions & 2 deletions cdk/lib/stack.ts
Original file line number Diff line number Diff line change
@@ -5,7 +5,12 @@ import { CacclAppEnvironment } from './appEnvironment';
import { CacclSshBastion } from './bastion';
import { CacclCache, CacclCacheOptions } from './cache';
import { CacclMonitoring } from './dashboard';
import { CacclDbOptions, createDbConstruct } from './db';
import {
CacclDbOptions,
CacclDocDb,
CacclRdsDb,
createDbConstruct,
} from './db';
import {
CacclLoadBalancer,
LoadBalancerSecurityGoups,
@@ -60,7 +65,7 @@ export class CacclDeployStack extends Stack {
* create the docdb if needed so we can add it's endpoint url
* to the app container's env
*/
let db = null;
let db: CacclDocDb | CacclRdsDb | undefined;
if (props.dbOptions) {
createBastion = true;
db = createDbConstruct(this, {
Loading

0 comments on commit 68f7c64

Please sign in to comment.