@colony2/jobdb 0.0.8 → 0.0.11
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/README.md +6 -4
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -77,18 +77,19 @@ jobdb toy --listen 127.0.0.1:9047
|
|
|
77
77
|
|
|
78
78
|
### Direct
|
|
79
79
|
|
|
80
|
-
The direct backend uses Postgres
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
The direct backend uses Postgres for job and chapter records, and a blobstore
|
|
81
|
+
URI for large artifact bytes. It installs or verifies the `pgwf` schema on
|
|
82
|
+
startup.
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
85
|
JOBDB_POSTGRES_DSN='postgres://user:pass@localhost:5432/jobdb?sslmode=disable' \
|
|
86
|
-
jobdb direct --listen 127.0.0.1:9047
|
|
86
|
+
jobdb direct --blob-store-uri 'blobfs:///var/lib/jobdb/blobs' --listen 127.0.0.1:9047
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Flags:
|
|
90
90
|
|
|
91
91
|
- `--postgres-dsn`: Postgres DSN for `pgwf` state.
|
|
92
|
+
- `--blob-store-uri`: Blobstore URI for large artifacts. Defaults to local blobfs.
|
|
92
93
|
- `--listen`: HTTP listen address. Defaults to `127.0.0.1:9047`.
|
|
93
94
|
|
|
94
95
|
Environment:
|
|
@@ -135,5 +136,6 @@ Useful references:
|
|
|
135
136
|
|
|
136
137
|
- [pkg/jobdb/README.md](pkg/jobdb/README.md): runtime API, data types, and backend packages.
|
|
137
138
|
- [pkg/workflow/README.md](pkg/workflow/README.md): workflow SDK, workers, and engines.
|
|
139
|
+
- [docs/MIGRATION-SWF-GO-TO-JOBDB.md](docs/MIGRATION-SWF-GO-TO-JOBDB.md): concise import migration from `swf-go`.
|
|
138
140
|
- [docs/API-SURFACE.md](docs/API-SURFACE.md): supported public packages.
|
|
139
141
|
- [docs/SPEC-OpenAPI-Runtime-Contract.md](docs/SPEC-OpenAPI-Runtime-Contract.md): runtime REST contract notes.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colony2/jobdb",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"description": "jobdb job system",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "node install.js",
|
|
@@ -30,57 +30,54 @@
|
|
|
30
30
|
},
|
|
31
31
|
"archives": {
|
|
32
32
|
"darwin-arm64": {
|
|
33
|
-
"name": "jobdb_0.0.
|
|
34
|
-
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.
|
|
33
|
+
"name": "jobdb_0.0.11_Darwin_arm64.tar.gz",
|
|
34
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Darwin_arm64.tar.gz",
|
|
35
35
|
"bins": [
|
|
36
36
|
"jobdb"
|
|
37
37
|
],
|
|
38
38
|
"format": "tar.gz",
|
|
39
39
|
"checksum": {
|
|
40
40
|
"algorithm": "sha256",
|
|
41
|
-
"digest": "
|
|
41
|
+
"digest": "ea41e3550ee0a77b41a21964f0925341a0e1057ad1853c4809713c49fd21138b"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"darwin-x64": {
|
|
45
|
-
"name": "jobdb_0.0.
|
|
46
|
-
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.
|
|
45
|
+
"name": "jobdb_0.0.11_Darwin_x86_64.tar.gz",
|
|
46
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Darwin_x86_64.tar.gz",
|
|
47
47
|
"bins": [
|
|
48
48
|
"jobdb"
|
|
49
49
|
],
|
|
50
50
|
"format": "tar.gz",
|
|
51
51
|
"checksum": {
|
|
52
52
|
"algorithm": "sha256",
|
|
53
|
-
"digest": "
|
|
53
|
+
"digest": "f355d3252f458e47d7011f9c81201ea867bb2afbafb2cf0668f1210135a30e54"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"linux-arm64": {
|
|
57
|
-
"name": "jobdb_0.0.
|
|
58
|
-
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.
|
|
57
|
+
"name": "jobdb_0.0.11_Linux_arm64.tar.gz",
|
|
58
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Linux_arm64.tar.gz",
|
|
59
59
|
"bins": [
|
|
60
60
|
"jobdb"
|
|
61
61
|
],
|
|
62
62
|
"format": "tar.gz",
|
|
63
63
|
"checksum": {
|
|
64
64
|
"algorithm": "sha256",
|
|
65
|
-
"digest": "
|
|
65
|
+
"digest": "937c07f74f391b53efe7a6b813e3ba6c708ee6ada7c57eb6dba58d3d8ae1e8ec"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"linux-x64": {
|
|
69
|
-
"name": "jobdb_0.0.
|
|
70
|
-
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.
|
|
69
|
+
"name": "jobdb_0.0.11_Linux_x86_64.tar.gz",
|
|
70
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.11/jobdb_0.0.11_Linux_x86_64.tar.gz",
|
|
71
71
|
"bins": [
|
|
72
72
|
"jobdb"
|
|
73
73
|
],
|
|
74
74
|
"format": "tar.gz",
|
|
75
75
|
"checksum": {
|
|
76
76
|
"algorithm": "sha256",
|
|
77
|
-
"digest": "
|
|
77
|
+
"digest": "d18cdaaad7ba47ead3bca41f0a74565ed0148a436de2983db52dab2436fe77fc"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
"engines": {
|
|
82
|
-
"node": "\u003e=14.0.0"
|
|
83
|
-
},
|
|
84
81
|
"keywords": [
|
|
85
82
|
"sandbox",
|
|
86
83
|
"docker",
|
|
@@ -88,5 +85,8 @@
|
|
|
88
85
|
"agent",
|
|
89
86
|
"cli",
|
|
90
87
|
"security"
|
|
91
|
-
]
|
|
88
|
+
],
|
|
89
|
+
"engines": {
|
|
90
|
+
"node": "\u003e=14.0.0"
|
|
91
|
+
}
|
|
92
92
|
}
|