@toptal/davinci-ci 7.4.2 → 7.4.3-alpha-fix-danger-check-does-not-throw-errors-be106b77.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@toptal/davinci-ci",
|
3
|
-
"version": "7.4.2",
|
3
|
+
"version": "7.4.3-alpha-fix-danger-check-does-not-throw-errors-be106b77.2+be106b77",
|
4
4
|
"keywords": [
|
5
5
|
"ci",
|
6
6
|
"docker",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"dependencies": {
|
31
31
|
"@commitlint/cli": "^17.6.7",
|
32
32
|
"@commitlint/config-conventional": "^17.1.0",
|
33
|
-
"@toptal/davinci-cli-shared": "
|
33
|
+
"@toptal/davinci-cli-shared": "2.5.1-alpha-fix-danger-check-does-not-throw-errors-be106b77.5+be106b77",
|
34
34
|
"chalk": "^4.1.2",
|
35
35
|
"danger": "^11.2.2",
|
36
36
|
"markdown-table": "^2.0.0"
|
@@ -40,5 +40,6 @@
|
|
40
40
|
},
|
41
41
|
"publishConfig": {
|
42
42
|
"access": "public"
|
43
|
-
}
|
43
|
+
},
|
44
|
+
"gitHead": "be106b7700bfab8565d95e88daebedb6db0f5d16"
|
44
45
|
}
|
package/src/commands/danger.js
CHANGED
@@ -32,7 +32,7 @@ export const dangerCommand = async options => {
|
|
32
32
|
const extraArgs = convertToCLIParameters(rest)
|
33
33
|
|
34
34
|
// We use --base origin/master in case local master is not up to date, or diverging from remote
|
35
|
-
await $`
|
35
|
+
await $`danger ${scope} --dangerfile ${dangerfilePath} --base origin/master ${extraArgs}`
|
36
36
|
}
|
37
37
|
|
38
38
|
export const createDangerCommand = program => {
|
@@ -24,7 +24,7 @@ pipeline {
|
|
24
24
|
string(name: 'RELEASE', defaultValue: '', description: 'Release name')
|
25
25
|
string(name: 'IS_RELEASE', defaultValue: '-release', description: '-release suffix for image')
|
26
26
|
string(name: 'ENV', defaultValue: 'ENV=null', description: 'Environment values in format ENV.key1=value1,ENV.key2=value2')
|
27
|
-
string(name: 'DOCKER_REGISTRY', defaultValue: '
|
27
|
+
string(name: 'DOCKER_REGISTRY', defaultValue: 'us-central1-docker.pkg.dev/toptal-hub/containers', description: 'Name of registry')
|
28
28
|
string(name: 'DOMAIN', defaultValue: 'toptal.net', description: 'The temploy domain')
|
29
29
|
}
|
30
30
|
|
@@ -44,7 +44,7 @@ pipeline {
|
|
44
44
|
}
|
45
45
|
|
46
46
|
stage('Deploy with Helm') {
|
47
|
-
agent { docker { image "
|
47
|
+
agent { docker { image "us-central1-docker.pkg.dev/toptal-hub/containers/helm:${helmVersion}" } }
|
48
48
|
|
49
49
|
environment {
|
50
50
|
GOOGLE_APPLICATION_CREDENTIALS = credentials("jenkins-deployment")
|