@toptal/davinci-ci 1.14.4-alpha-fx-2451-create-unit-tests-action.22 → 1.14.4-alpha-feature-comm-620-graphql-codegen.39
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,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.14.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1154](https://github.com/toptal/davinci/pull/1154) [`c53d9c5a`](https://github.com/toptal/davinci/commit/c53d9c5ab51cc14b5ede709c87856912e65b6990) Thanks [@rafael-anachoreta](https://github.com/rafael-anachoreta)! - Increase PR name regex to 5 characters
|
|
8
|
+
|
|
9
|
+
* [#1149](https://github.com/toptal/davinci/pull/1149) [`57e74bc4`](https://github.com/toptal/davinci/commit/57e74bc42723cdd8ad05c5cbe5e89df6e0673453) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump danger from 10.7.1 to 10.9.0
|
|
10
|
+
|
|
3
11
|
## 1.14.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-ci",
|
|
3
|
-
"version": "1.14.4-alpha-
|
|
3
|
+
"version": "1.14.4-alpha-feature-comm-620-graphql-codegen.39+7ee636be",
|
|
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": "^12.1.4",
|
|
34
34
|
"@commitlint/config-conventional": "^16.0.0",
|
|
35
|
-
"@toptal/davinci-cli-shared": "1.5.1-alpha-
|
|
36
|
-
"danger": "^10.
|
|
35
|
+
"@toptal/davinci-cli-shared": "1.5.1-alpha-feature-comm-620-graphql-codegen.91+7ee636be",
|
|
36
|
+
"danger": "^10.9.0",
|
|
37
37
|
"markdown-table": "^2.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "7ee636beaeb668c3752550f0b808e026db7a4341"
|
|
40
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const WHITELISTED_USERS = ['dependabot-preview[bot]', 'dependabot[bot]', 'toptal-devbot']
|
|
2
|
-
const VALID_PR_CODE_REGEX = /\[[A-Z]{1,
|
|
2
|
+
const VALID_PR_CODE_REGEX = /\[[A-Z]{1,5}-.*]\s/
|
|
3
3
|
// Valid commit titles:
|
|
4
4
|
// "Regular commit message"
|
|
5
5
|
// "Commit with sentence. But does not end with a full-stop"
|
|
@@ -74,7 +74,7 @@ pipeline {
|
|
|
74
74
|
kubectl get namespace ${params.RELEASE} >/dev/null 2>&1 || kubectl create namespace ${params.RELEASE}
|
|
75
75
|
helm dependency build $chart
|
|
76
76
|
|
|
77
|
-
helm secrets upgrade \
|
|
77
|
+
if helm secrets upgrade \
|
|
78
78
|
--namespace=${params.RELEASE} \
|
|
79
79
|
--install --wait --timeout 240s \
|
|
80
80
|
-f helm_vars/davinci-app/temploy/values.yaml \
|
|
@@ -85,9 +85,27 @@ pipeline {
|
|
|
85
85
|
--set-string image.tag=${params.TAG} \
|
|
86
86
|
--set ${params.ENV} \
|
|
87
87
|
${params.RELEASE} $chart
|
|
88
|
+
then
|
|
89
|
+
echo "\nHelm deploy succeeded!\n"
|
|
88
90
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
mkdir tmp
|
|
92
|
+
helm get notes --namespace=${params.RELEASE} ${params.RELEASE} | tail -n +2 > tmp/NOTES.txt
|
|
93
|
+
|
|
94
|
+
else
|
|
95
|
+
echo "\nHelm deploy failed! Some hints may be found below:\n"
|
|
96
|
+
kubectl get events --namespace="${params.RELEASE}" --sort-by='.lastTimestamp'
|
|
97
|
+
|
|
98
|
+
helm history --namespace "${params.RELEASE}" "${params.RELEASE}"
|
|
99
|
+
|
|
100
|
+
kubectl --namespace "${params.RELEASE}" get pods -o wide
|
|
101
|
+
|
|
102
|
+
kubectl --namespace ${params.RELEASE} get pods --no-headers -o custom-columns=":metadata.name" | while read pod; do
|
|
103
|
+
echo "\nFetching log tail for pod '\$pod'"
|
|
104
|
+
kubectl --namespace ${params.RELEASE} logs \$pod --tail=10
|
|
105
|
+
done
|
|
106
|
+
|
|
107
|
+
exit 1
|
|
108
|
+
fi
|
|
91
109
|
"""
|
|
92
110
|
|
|
93
111
|
archiveArtifacts(artifacts: 'tmp/NOTES.txt')
|