@colony2/jobdb 0.0.12 → 0.0.14
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 +12 -6
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ jobdb --listen 127.0.0.1:9047 --db jobdb.db
|
|
|
31
31
|
|
|
32
32
|
This starts the runtime API at `http://127.0.0.1:9047`. SQLite is the default
|
|
33
33
|
backend and persists runtime state in `jobdb.db`; large artifacts are stored in a
|
|
34
|
-
blob bucket URL that defaults to a local directory at `<db>.blobs`.
|
|
34
|
+
blob bucket URL that defaults to a local `blobfs://` directory at `<db>.blobs`.
|
|
35
35
|
|
|
36
36
|
The explicit SQLite subcommand is equivalent:
|
|
37
37
|
|
|
@@ -58,9 +58,9 @@ jobdb sqlite \
|
|
|
58
58
|
Flags:
|
|
59
59
|
|
|
60
60
|
- `--db`: SQLite database path. Defaults to `jobdb.db`.
|
|
61
|
-
- `--blob-store-uri`:
|
|
62
|
-
|
|
63
|
-
`<db>.blobs`.
|
|
61
|
+
- `--blob-store-uri`: blob bucket URL for large artifacts. The `jobdb`
|
|
62
|
+
executable includes Go CDK providers, so it supports `file://`, `gs://`,
|
|
63
|
+
`s3://`, and `azblob://`; defaults to local `blobfs://` at `<db>.blobs`.
|
|
64
64
|
- `--blob-dir`: legacy directory shortcut for local large artifacts. Ignored
|
|
65
65
|
when `--blob-store-uri` is set.
|
|
66
66
|
- `--sqlite-dsn`: SQLite DSN. Overrides `--db` and `JOBDB_SQLITE_DSN`.
|
|
@@ -93,8 +93,9 @@ JOBDB_POSTGRES_DSN='postgres://user:pass@localhost:5432/jobdb?sslmode=disable' \
|
|
|
93
93
|
Flags:
|
|
94
94
|
|
|
95
95
|
- `--postgres-dsn`: Postgres DSN for `pgwf` state.
|
|
96
|
-
- `--blob-store-uri`:
|
|
97
|
-
|
|
96
|
+
- `--blob-store-uri`: blob bucket URL for large artifacts. The `jobdb`
|
|
97
|
+
executable includes Go CDK providers, so it supports `file://`, `gs://`,
|
|
98
|
+
`s3://`, and `azblob://`; defaults to local `blobfs://`.
|
|
98
99
|
- `--listen`: HTTP listen address. Defaults to `127.0.0.1:9047`.
|
|
99
100
|
|
|
100
101
|
Environment:
|
|
@@ -124,6 +125,11 @@ does not need separate credential flags:
|
|
|
124
125
|
token, or Azure default credentials such as environment credentials, Azure
|
|
125
126
|
CLI credentials, or managed identity.
|
|
126
127
|
|
|
128
|
+
Library embedders of `runtime/sqlite` or `runtime/direct` only get `blobfs://`
|
|
129
|
+
support by default. Import
|
|
130
|
+
`github.com/colony-2/jobdb/pkg/jobdb/blobstore/gocdk` from executable/server
|
|
131
|
+
code to enable Go CDK provider URI registration.
|
|
132
|
+
|
|
127
133
|
References:
|
|
128
134
|
|
|
129
135
|
- [Go CDK blob storage guide](https://gocloud.dev/howto/blob/)
|
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.14",
|
|
5
5
|
"description": "jobdb job system",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "node install.js",
|
|
@@ -30,51 +30,51 @@
|
|
|
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.14_Darwin_arm64.tar.gz",
|
|
34
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.14/jobdb_0.0.14_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": "6d0300a94544930aa1b228e9fb581ed4f7fe3ead810c01a573c3bd86f00c6fbf"
|
|
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.14_Darwin_x86_64.tar.gz",
|
|
46
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.14/jobdb_0.0.14_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": "7a9e70acd7ee759595e91d818be5cf0f508966d017a05d3aa08da163eb443cf6"
|
|
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.14_Linux_arm64.tar.gz",
|
|
58
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.14/jobdb_0.0.14_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": "5ea9d5dd7e01aca0c412ea00c0c664ec6302247d562e40187b9ec7c17275c304"
|
|
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.14_Linux_x86_64.tar.gz",
|
|
70
|
+
"url": "https://github.com/colony-2/jobdb/releases/download/v0.0.14/jobdb_0.0.14_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": "b9c54fe5b363528ecb31d6562af9b3b244e4e932f9b1e508ae7048e6c537eeb6"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
},
|