@toptal/davinci-ci 7.4.2 → 7.4.3
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2405](https://github.com/toptal/davinci/pull/2405) [`5daf4e1f`](https://github.com/toptal/davinci/commit/5daf4e1f90dd11ea48bc9730ea454aa468ee0922) Thanks [@dmaklygin](https://github.com/dmaklygin)!
|
|
8
|
+
- fix danger-ci check
|
|
9
|
+
|
|
3
10
|
## 7.4.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
package/src/commands/danger.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
print,
|
|
4
4
|
convertToCLIParameters,
|
|
5
5
|
files,
|
|
6
|
-
|
|
6
|
+
runSync,
|
|
7
7
|
echo,
|
|
8
8
|
chalk,
|
|
9
9
|
} from '@toptal/davinci-cli-shared'
|
|
@@ -32,7 +32,16 @@ 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
|
-
|
|
35
|
+
runSync(
|
|
36
|
+
'danger',
|
|
37
|
+
[
|
|
38
|
+
scope,
|
|
39
|
+
local ? '--failOnErrors' : undefined,
|
|
40
|
+
'--dangerfile',
|
|
41
|
+
`${dangerfilePath}`,
|
|
42
|
+
...extraArgs,
|
|
43
|
+
].filter(Boolean)
|
|
44
|
+
)
|
|
36
45
|
}
|
|
37
46
|
|
|
38
47
|
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")
|