@toptal/davinci-ci 1.15.1-alpha-dependabot-npm-and-yarn-semantic-release-19.0.2.22 → 1.15.1-alpha-SPT-2710-overlay-option.20

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": "@toptal/davinci-ci",
3
- "version": "1.15.1-alpha-dependabot-npm-and-yarn-semantic-release-19.0.2.22+c8e20d62",
3
+ "version": "1.15.1-alpha-SPT-2710-overlay-option.20+08a58d8e",
4
4
  "description": "Continuos integrations tools for frontend projects",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,9 +32,9 @@
32
32
  "dependencies": {
33
33
  "@commitlint/cli": "^16.2.4",
34
34
  "@commitlint/config-conventional": "^16.0.0",
35
- "@toptal/davinci-cli-shared": "1.5.2-alpha-dependabot-npm-and-yarn-semantic-release-19.0.2.107+c8e20d62",
35
+ "@toptal/davinci-cli-shared": "1.5.2-alpha-SPT-2710-overlay-option.105+08a58d8e",
36
36
  "danger": "^11.0.5",
37
37
  "markdown-table": "^2.0.0"
38
38
  },
39
- "gitHead": "c8e20d62078a16a13a103e70566c87233edefd9b"
39
+ "gitHead": "08a58d8e0f15f4ec751e3e65c2620276b43c35e1"
40
40
  }
@@ -392,14 +392,10 @@ pipeline {
392
392
 
393
393
  steps {
394
394
  script {
395
- def packageJson = readJSON(file: 'package.json', returnPojo: true)
396
- def hasIntegrationCmd = 'test:integration:ci' in (packageJson.scripts ?: [:])
397
- def testCommand = hasIntegrationCmd ? 'integration' : 'e2e'
398
-
399
395
  sh """
400
396
  docker run \
401
397
  --user="root" \
402
- --rm gcr.io/toptal-hub/${repositoryName}:${commitId} /bin/bash -c "apt update && apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb && yarn cypress install > /dev/null && yarn test:$testCommand:ci"
398
+ --rm gcr.io/toptal-hub/${repositoryName}:${commitId} /bin/bash -c "apt update && apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb && yarn cypress install > /dev/null && yarn test:e2e:ci"
403
399
  """
404
400
  }
405
401
  } //steps
@@ -255,14 +255,10 @@ pipeline {
255
255
  script {
256
256
  ghHelper.notifyPR('Cypress Tests', 'PENDING', 'running', "${commitId}", "${BUILD_URL}", repositoryName)
257
257
 
258
- def packageJson = readJSON(file: 'package.json', returnPojo: true)
259
- def hasIntegrationCmd = 'test:integration:ci' in (packageJson.scripts ?: [:])
260
- def testCommand = hasIntegrationCmd ? 'integration' : 'e2e'
261
-
262
258
  sh """
263
259
  docker run \
264
260
  --user="root" \
265
- --rm gcr.io/toptal-hub/${repositoryName}:${commitId} /bin/bash -c "apt update && apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb && yarn cypress install > /dev/null && yarn test:$testCommand:ci"
261
+ --rm gcr.io/toptal-hub/${repositoryName}:${commitId} /bin/bash -c "apt update && apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb && yarn cypress install > /dev/null && yarn test:e2e:ci"
266
262
  """
267
263
  }
268
264
  } //steps