@toptal/davinci-ci 1.15.1-alpha-SPC-1794-check-rest-directive.15 → 1.15.1-alpha-dependabot-npm-and-yarn-semantic-release-19.0.2.22
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-
|
|
3
|
+
"version": "1.15.1-alpha-dependabot-npm-and-yarn-semantic-release-19.0.2.22+c8e20d62",
|
|
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-
|
|
35
|
+
"@toptal/davinci-cli-shared": "1.5.2-alpha-dependabot-npm-and-yarn-semantic-release-19.0.2.107+c8e20d62",
|
|
36
36
|
"danger": "^11.0.5",
|
|
37
37
|
"markdown-table": "^2.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "c8e20d62078a16a13a103e70566c87233edefd9b"
|
|
40
40
|
}
|
|
@@ -392,10 +392,14 @@ 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
|
+
|
|
395
399
|
sh """
|
|
396
400
|
docker run \
|
|
397
401
|
--user="root" \
|
|
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:
|
|
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"
|
|
399
403
|
"""
|
|
400
404
|
}
|
|
401
405
|
} //steps
|
|
@@ -255,10 +255,14 @@ 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
|
+
|
|
258
262
|
sh """
|
|
259
263
|
docker run \
|
|
260
264
|
--user="root" \
|
|
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:
|
|
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"
|
|
262
266
|
"""
|
|
263
267
|
}
|
|
264
268
|
} //steps
|