snow-flow 4.2.3 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +918 -0
- package/dist/cli.js +1 -91
- package/package.json +1 -1
- package/check-mcp-resources.sh +0 -85
- package/cloudbuild-npm.yaml +0 -132
- package/cloudbuild-website.yaml +0 -92
- package/cloudbuild.yaml +0 -141
- package/empty-test.json +0 -3
- package/fix-console-logs.sh +0 -32
- package/fix-mcp-responses.sh +0 -31
- package/simple-test.json +0 -9
- package/test-mcp.json +0 -11
- package/test.txt +0 -1
- package/website/cloudbuild.yaml +0 -70
package/website/cloudbuild.yaml
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Snow-Flow Website - Google Cloud Build Configuration
|
|
2
|
-
steps:
|
|
3
|
-
# Build the Docker image (FIXED PATH)
|
|
4
|
-
- name: 'gcr.io/cloud-builders/docker'
|
|
5
|
-
args: [
|
|
6
|
-
'build',
|
|
7
|
-
'-t', 'gcr.io/$PROJECT_ID/snow-flow-website:$COMMIT_SHA',
|
|
8
|
-
'-t', 'gcr.io/$PROJECT_ID/snow-flow-website:latest',
|
|
9
|
-
'--cache-from', 'gcr.io/$PROJECT_ID/snow-flow-website:latest',
|
|
10
|
-
'-f', 'website/Dockerfile', # Specify Dockerfile location from root
|
|
11
|
-
'website/' # Build context is website directory
|
|
12
|
-
]
|
|
13
|
-
# Remove dir: 'website' to run from root
|
|
14
|
-
|
|
15
|
-
# Push the Docker image to Container Registry
|
|
16
|
-
- name: 'gcr.io/cloud-builders/docker'
|
|
17
|
-
args: ['push', 'gcr.io/$PROJECT_ID/snow-flow-website:$COMMIT_SHA']
|
|
18
|
-
|
|
19
|
-
- name: 'gcr.io/cloud-builders/docker'
|
|
20
|
-
args: ['push', 'gcr.io/$PROJECT_ID/snow-flow-website:latest']
|
|
21
|
-
|
|
22
|
-
# Deploy to Cloud Run
|
|
23
|
-
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
|
|
24
|
-
entrypoint: gcloud
|
|
25
|
-
args: [
|
|
26
|
-
'run', 'deploy', 'snow-flow-website',
|
|
27
|
-
'--image', 'gcr.io/$PROJECT_ID/snow-flow-website:$COMMIT_SHA',
|
|
28
|
-
'--region', 'europe-west1',
|
|
29
|
-
'--platform', 'managed',
|
|
30
|
-
'--allow-unauthenticated',
|
|
31
|
-
'--port', '80',
|
|
32
|
-
'--memory', '512Mi',
|
|
33
|
-
'--cpu', '1',
|
|
34
|
-
'--concurrency', '80',
|
|
35
|
-
'--max-instances', '10',
|
|
36
|
-
'--min-instances', '1',
|
|
37
|
-
'--set-env-vars', 'NODE_ENV=production',
|
|
38
|
-
'--timeout', '300'
|
|
39
|
-
]
|
|
40
|
-
|
|
41
|
-
# Get the service URL
|
|
42
|
-
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
|
|
43
|
-
entrypoint: gcloud
|
|
44
|
-
args: [
|
|
45
|
-
'run', 'services', 'describe', 'snow-flow-website',
|
|
46
|
-
'--region', 'europe-west1',
|
|
47
|
-
'--format', 'value(status.url)'
|
|
48
|
-
]
|
|
49
|
-
|
|
50
|
-
# Build options
|
|
51
|
-
options:
|
|
52
|
-
logging: CLOUD_LOGGING_ONLY
|
|
53
|
-
machineType: 'E2_HIGHCPU_8'
|
|
54
|
-
diskSizeGb: 100
|
|
55
|
-
|
|
56
|
-
# Substitutions for environment-specific values
|
|
57
|
-
substitutions:
|
|
58
|
-
_REGION: 'europe-west1'
|
|
59
|
-
_SERVICE_NAME: 'snow-flow-website'
|
|
60
|
-
|
|
61
|
-
# Images to be pushed to Container Registry
|
|
62
|
-
images:
|
|
63
|
-
- 'gcr.io/$PROJECT_ID/snow-flow-website:$COMMIT_SHA'
|
|
64
|
-
- 'gcr.io/$PROJECT_ID/snow-flow-website:latest'
|
|
65
|
-
|
|
66
|
-
# Build timeout
|
|
67
|
-
timeout: '1200s'
|
|
68
|
-
|
|
69
|
-
# Tags for organization
|
|
70
|
-
tags: ['snow-flow', 'website', 'production']
|