itemengine-cypress-automation 1.0.6 → 1.0.8

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 CHANGED
@@ -2,17 +2,11 @@
2
2
  FROM cypress/base:14.19.0
3
3
  FROM cypress/browsers:node14.19.0-chrome100-ff99-edge
4
4
 
5
- RUN node --version
6
- RUN npm --version
7
-
8
- RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
9
- && unzip awscliv2.zip \
10
- && ./aws/install
11
-
12
5
  WORKDIR /ie-e2e
6
+
13
7
  COPY . ./
14
8
 
15
- #ENV CI=1
9
+ ENV CI=1
16
10
 
17
11
  RUN chmod +x ./run.sh
18
12
 
package/deploy.yaml CHANGED
@@ -14,8 +14,8 @@ deployment:
14
14
 
15
15
  resources:
16
16
  limits:
17
- cpu: "2"
18
- memory: 8096Mi
17
+ memory: 8446Mi
18
+ cpu: 5000m
19
19
  requests:
20
- cpu: "2"
21
- memory: 8096Mi
20
+ memory: 4096Mi
21
+ cpu: 2000m
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,6 +10,8 @@ let startTime;
10
10
  * @param {string} startTime
11
11
  */
12
12
  function setCiBuildId(user, startTime) {
13
+ console.log('process.env.fileConfig', process.env.fileConfig)
14
+ console.log('process.argv', process.argv)
13
15
  let env = 'staging'//process.env.CYPRESS_ENV;
14
16
  let tagName = process.argv.slice(2).length > 0 ? process.argv.slice(2) : "--";
15
17
  return `${user}[E2E][env:${env}][tags:${tagName}][${startTime}]`
@@ -29,6 +31,9 @@ function runSorryCypress(ciBuildId) {
29
31
  * @method runSorryCypressSpinnaker
30
32
  */
31
33
  export function runSorryCypressSpinnaker() {
34
+ //console.log('process.env.fileConfig', process.env.fileConfig)
35
+ console.log('process.argv', process.argv)
36
+ console.log('process.env.STAGE', process.env.STAGE)
32
37
  //startTime = process.env.START_TIME;
33
38
  //ciBuildId = setCiBuildId("spinnaker", startTime);
34
39
  startTime = Math.round(Date.now() / 100000);