itemengine-cypress-automation 1.0.7 → 1.0.9

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/deploy.yaml CHANGED
@@ -3,6 +3,9 @@ global:
3
3
  name: itemengine-cypress-automation
4
4
  type: integration_test
5
5
 
6
+ variables:
7
+ START_TIME: "$(date +%s)"
8
+
6
9
  deployment:
7
10
  job:
8
11
  activeDeadlineSeconds: 7200
@@ -18,4 +21,9 @@ deployment:
18
21
  cpu: 5000m
19
22
  requests:
20
23
  memory: 4096Mi
21
- cpu: 2000m
24
+ cpu: 2000m
25
+
26
+ env:
27
+ instance:
28
+ - name: START_TIME
29
+ value: "${{ variables.START_TIME }}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/run.sh CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/bin/sh
2
2
  env=$STAGE
3
3
  echo Environment to test: $env
4
+ echo START_TIME: $START_TIME
4
5
 
5
- npm run spinnaker --fileConfig=$env
6
+ npm run spinnaker
@@ -31,7 +31,7 @@ function runSorryCypress(ciBuildId) {
31
31
  * @method runSorryCypressSpinnaker
32
32
  */
33
33
  export function runSorryCypressSpinnaker() {
34
- console.log('process.env.fileConfig', process.env.fileConfig)
34
+ //console.log('process.env.fileConfig', process.env.fileConfig)
35
35
  console.log('process.argv', process.argv)
36
36
  console.log('process.env.STAGE', process.env.STAGE)
37
37
  //startTime = process.env.START_TIME;