Skip to content

Commit 2ef7f92

Browse files
authored
[chore] build do-agent, update build.sh (#92)
1 parent 406e865 commit 2ef7f92

File tree

16 files changed

+26
-25
lines changed

16 files changed

+26
-25
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -ex
77

88
# Default modules if none specified.
99
# No quotes around expansion to allow word splitting for the default value.
10-
modules=(${@:-monkec mongodb-atlas neon netlify vercel aws-dynamo-db aws-s3 aws-sqs aws-iam aws-lambda aws-rds digitalocean-spaces digitalocean-database digitalocean-domains cloudflare})
10+
modules=(${@:-monkec mongodb-atlas neon netlify vercel aws-dynamo-db aws-s3 aws-sqs aws-iam aws-lambda aws-rds digitalocean-spaces digitalocean-database digitalocean-domains digitalocean-agent cloudflare})
1111

1212
for module in "${modules[@]}"; do
1313
echo "Building $module..."

dist/aws-dynamo-db/MANIFEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO aws-dynamo-db
22
LOAD base.yaml common.yaml dynamo-db-table.yaml
3-
RESOURCES common.js base.js dynamo-db-table-sync.js
3+
RESOURCES base.js common.js dynamo-db-table-sync.js

dist/aws-iam/MANIFEST

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO aws-iam
2-
LOAD iam-policy.yaml iam-role.yaml base.yaml common.yaml
3-
RESOURCES common.js iam-role-sync.js base.js iam-policy-sync.js
2+
LOAD base.yaml common.yaml iam-policy.yaml iam-role.yaml
3+
RESOURCES base.js common.js iam-policy-sync.js iam-role-sync.js

dist/aws-lambda/MANIFEST

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO aws-lambda
2-
LOAD lambda-function.yaml base.yaml common.yaml
3-
RESOURCES common.js lambda-function-sync.js base.js
2+
LOAD base.yaml common.yaml lambda-function.yaml
3+
RESOURCES base.js common.js lambda-function-sync.js

dist/aws-rds/MANIFEST

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO aws-rds
2-
LOAD rds-instance.yaml base.yaml common.yaml security-group.yaml rds-access-list.yaml
3-
RESOURCES common.js security-group.js rds-instance-sync.js base.js rds-access-list-sync.js
2+
LOAD base.yaml common.yaml rds-access-list.yaml rds-instance.yaml security-group.yaml
3+
RESOURCES base.js common.js rds-access-list-sync.js rds-instance-sync.js security-group.js

dist/aws-s3/MANIFEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO aws-s3
22
LOAD base.yaml common.yaml s3-bucket.yaml
3-
RESOURCES common.js s3-bucket-sync.js base.js
3+
RESOURCES base.js common.js s3-bucket-sync.js

dist/aws-sqs/MANIFEST

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO aws-sqs
2-
LOAD sqs-queue.yaml base.yaml common.yaml
3-
RESOURCES common.js sqs-queue-sync.js base.js
2+
LOAD base.yaml common.yaml sqs-queue.yaml
3+
RESOURCES base.js common.js sqs-queue-sync.js

dist/cloudflare/MANIFEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO cloudflare
2-
LOAD cloudflare-dns-record.yaml cloudflare-base.yaml cloudflare-dns-zone.yaml
2+
LOAD cloudflare-base.yaml cloudflare-dns-record.yaml cloudflare-dns-zone.yaml
33
RESOURCES cloudflare-base.js cloudflare-dns-record-sync.js cloudflare-dns-zone-sync.js

dist/digitalocean-agent/agent-sync.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ var _Agent = class _Agent extends (_a = MonkecBase.MonkEntity, _get_dec = [actio
221221
this.create();
222222
return;
223223
}
224+
return;
224225
const body = {};
225226
if (this.definition.instruction) body.instruction = this.definition.instruction;
226227
if (this.definition.knowledge_base_uuids) body.knowledge_base_uuid = this.definition.knowledge_base_uuids;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REPO digitalocean-database
2-
LOAD do-provider-base.yaml api-token.yaml database.yaml digitalocean-base.yaml common.yaml
3-
RESOURCES common.js api-token-sync.js do-provider-base.js database-sync.js digitalocean-base.js
2+
LOAD api-token.yaml common.yaml digitalocean-base.yaml do-provider-base.yaml database.yaml
3+
RESOURCES api-token-sync.js common.js digitalocean-base.js do-provider-base.js database-sync.js

0 commit comments

Comments
 (0)