@toa.io/operations 1.0.0-alpha.12 → 1.0.0-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/operations",
3
- "version": "1.0.0-alpha.12",
3
+ "version": "1.0.0-alpha.14",
4
4
  "description": "Toa Deployment",
5
5
  "homepage": "https://toa.io",
6
6
  "author": {
@@ -27,12 +27,12 @@
27
27
  "test": "echo \"Error: run tests from root\" && exit 1"
28
28
  },
29
29
  "dependencies": {
30
- "@toa.io/filesystem": "1.0.0-alpha.12",
31
- "@toa.io/generic": "1.0.0-alpha.12",
32
- "@toa.io/norm": "1.0.0-alpha.12",
33
- "@toa.io/yaml": "1.0.0-alpha.12",
30
+ "@toa.io/filesystem": "1.0.0-alpha.14",
31
+ "@toa.io/generic": "1.0.0-alpha.14",
32
+ "@toa.io/norm": "1.0.0-alpha.14",
33
+ "@toa.io/yaml": "1.0.0-alpha.14",
34
34
  "execa": "5.1.1",
35
35
  "fs-extra": "11.1.1"
36
36
  },
37
- "gitHead": "897206fbcf724fa88f427b6aee35bff571b2a3a1"
37
+ "gitHead": "8aa52cb97021695885c8dbe64beca26c9665fc8f"
38
38
  }
@@ -6,7 +6,16 @@ const describe = (context, compositions, dependency) => {
6
6
  const { services } = dependency
7
7
 
8
8
  dependency.variables.global ??= []
9
- dependency.variables.global.unshift({ name: 'TOA_ENV', value: context.environment })
9
+
10
+ dependency.variables.global.unshift(
11
+ {
12
+ name: 'TOA_CONTEXT',
13
+ value: context.name
14
+ }, {
15
+ name: 'TOA_ENV',
16
+ value: context.environment
17
+ }
18
+ )
10
19
 
11
20
  const components = get.components(compositions)
12
21
  const credentials = context.registry?.credentials
@@ -18,7 +27,7 @@ const describe = (context, compositions, dependency) => {
18
27
  compositions,
19
28
  components,
20
29
  services,
21
- credentials,
30
+ credentials
22
31
  }
23
32
  }
24
33