@toptal/davinci-ci 1.14.4-alpha-feature-comm-620-graphql-codegen.35 → 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-ci",
|
|
3
|
-
"version": "1.14.4-alpha-feature-comm-620-graphql-codegen.
|
|
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-feature-comm-620-graphql-codegen.
|
|
35
|
+
"@toptal/davinci-cli-shared": "1.5.1-alpha-feature-comm-620-graphql-codegen.91+7ee636be",
|
|
36
36
|
"danger": "^10.9.0",
|
|
37
37
|
"markdown-table": "^2.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "7ee636beaeb668c3752550f0b808e026db7a4341"
|
|
40
40
|
}
|
|
@@ -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')
|