@budibase/worker 2.11.42 → 2.11.43

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/Dockerfile.v2 CHANGED
@@ -50,4 +50,9 @@ ENV POSTHOG_TOKEN=phc_bIjZL7oh2GEUd2vqvTBH8WvrX0fWTFQMs6H5KQxiUxU
50
50
  ENV TENANT_FEATURE_FLAGS=*:LICENSING,*:USER_GROUPS,*:ONBOARDING_TOUR
51
51
  ENV ACCOUNT_PORTAL_URL=https://account.budibase.app
52
52
 
53
+ ARG BUDIBASE_VERSION
54
+ # Ensuring the version argument is sent
55
+ RUN test -n "$BUDIBASE_VERSION"
56
+ ENV BUDIBASE_VERSION=$BUDIBASE_VERSION
57
+
53
58
  CMD ["./docker_run.sh"]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.11.42",
4
+ "version": "2.11.43",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "run:docker": "node dist/index.js",
21
21
  "debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",
22
22
  "run:docker:cluster": "pm2-runtime start pm2.config.js",
23
- "build:docker": "yarn build && docker build . -t worker-service --label version=$BUDIBASE_RELEASE_VERSION",
23
+ "build:docker": "yarn build && docker build . -t worker-service --label version=$BUDIBASE_RELEASE_VERSION --build-arg BUDIBASE_VERSION=$BUDIBASE_RELEASE_VERSION",
24
24
  "dev:stack:init": "node ./scripts/dev/manage.js init",
25
25
  "dev:builder": "npm run dev:stack:init && nodemon",
26
26
  "dev:built": "yarn run dev:stack:init && yarn run run:docker",
@@ -38,10 +38,10 @@
38
38
  "author": "Budibase",
39
39
  "license": "GPL-3.0",
40
40
  "dependencies": {
41
- "@budibase/backend-core": "2.11.42",
42
- "@budibase/pro": "2.11.42",
43
- "@budibase/string-templates": "2.11.42",
44
- "@budibase/types": "2.11.42",
41
+ "@budibase/backend-core": "2.11.43",
42
+ "@budibase/pro": "2.11.43",
43
+ "@budibase/string-templates": "2.11.43",
44
+ "@budibase/types": "2.11.43",
45
45
  "@koa/router": "8.0.8",
46
46
  "@techpass/passport-openidconnect": "0.3.2",
47
47
  "@types/global-agent": "2.1.1",
@@ -108,5 +108,5 @@
108
108
  }
109
109
  }
110
110
  },
111
- "gitHead": "3b93636bc52c23c9ddb23701b7b54c206e3ee92c"
111
+ "gitHead": "7f83c1b897398f29dbc5571ac039cff430a5db47"
112
112
  }
@@ -31,6 +31,7 @@ async function init() {
31
31
  TENANT_FEATURE_FLAGS: "*:LICENSING,*:USER_GROUPS,*:ONBOARDING_TOUR",
32
32
  ENABLE_EMAIL_TEST_MODE: 1,
33
33
  HTTP_LOGGING: 0,
34
+ VERSION: "0.0.0+local",
34
35
  }
35
36
  let envFile = ""
36
37
  Object.keys(envFileJson).forEach(key => {
@@ -10,3 +10,4 @@ process.env.PLATFORM_URL = "http://localhost:10000"
10
10
  process.env.INTERNAL_API_KEY = "tet"
11
11
  process.env.DISABLE_ACCOUNT_PORTAL = "0"
12
12
  process.env.MOCK_REDIS = "1"
13
+ process.env.BUDIBASE_VERSION = "0.0.0+jest"