@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.
Files changed (2) hide show
  1. package/README.md +12 -6
  2. 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`: Go CDK blob bucket URL for large artifacts. Supports
62
- `file://`, `gs://`, `s3://`, and `azblob://`; defaults to local blobfs at
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`: Go CDK blob bucket URL for large artifacts. Defaults to
97
- local blobfs.
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.12",
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.12_Darwin_arm64.tar.gz",
34
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.12/jobdb_0.0.12_Darwin_arm64.tar.gz",
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": "22df55d92a85bc219f1f350af659f745a2426b292ea55401f3f4d83714e441e3"
41
+ "digest": "6d0300a94544930aa1b228e9fb581ed4f7fe3ead810c01a573c3bd86f00c6fbf"
42
42
  }
43
43
  },
44
44
  "darwin-x64": {
45
- "name": "jobdb_0.0.12_Darwin_x86_64.tar.gz",
46
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.12/jobdb_0.0.12_Darwin_x86_64.tar.gz",
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": "d277bd8dcb751b03e7fb1a7f4e890e0a11a5beff8bfeb85b61e6990197947fbf"
53
+ "digest": "7a9e70acd7ee759595e91d818be5cf0f508966d017a05d3aa08da163eb443cf6"
54
54
  }
55
55
  },
56
56
  "linux-arm64": {
57
- "name": "jobdb_0.0.12_Linux_arm64.tar.gz",
58
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.12/jobdb_0.0.12_Linux_arm64.tar.gz",
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": "adadf22e3592c666f4d2617636f8c4ad9666d009d7fd4c7107c5fb73b6419536"
65
+ "digest": "5ea9d5dd7e01aca0c412ea00c0c664ec6302247d562e40187b9ec7c17275c304"
66
66
  }
67
67
  },
68
68
  "linux-x64": {
69
- "name": "jobdb_0.0.12_Linux_x86_64.tar.gz",
70
- "url": "https://github.com/colony-2/jobdb/releases/download/v0.0.12/jobdb_0.0.12_Linux_x86_64.tar.gz",
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": "e55573d1d76e7a38fd7c191e81854fd35daaa6495e78efd79898756599df471c"
77
+ "digest": "b9c54fe5b363528ecb31d6562af9b3b244e4e932f9b1e508ae7048e6c537eeb6"
78
78
  }
79
79
  }
80
80
  },