@toptal/davinci-ci 2.0.1-alpha-dependabot-npm-and-yarn-eslint-config-standard-17.0.0.6 → 2.0.1-alpha-dependabot-npm-and-yarn-sentry-cli-2.1.0.10
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": "2.0.1-alpha-dependabot-npm-and-yarn-
|
|
3
|
+
"version": "2.0.1-alpha-dependabot-npm-and-yarn-sentry-cli-2.1.0.10+cbe2254c",
|
|
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-dependabot-npm-and-yarn-
|
|
35
|
+
"@toptal/davinci-cli-shared": "1.5.2-alpha-dependabot-npm-and-yarn-sentry-cli-2.1.0.121+cbe2254c",
|
|
36
36
|
"danger": "^11.0.5",
|
|
37
37
|
"markdown-table": "^2.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "cbe2254c19f4c5c0523cfd1d6b9351192b8c97fe"
|
|
40
40
|
}
|
|
@@ -67,9 +67,9 @@ pipeline {
|
|
|
67
67
|
data = configuration[configurationName]
|
|
68
68
|
|
|
69
69
|
if (data) {
|
|
70
|
-
chart =
|
|
70
|
+
chart = data.chart
|
|
71
71
|
} else {
|
|
72
|
-
chart = '
|
|
72
|
+
chart = 'davinci-app'
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
sh """
|
|
@@ -81,12 +81,13 @@ pipeline {
|
|
|
81
81
|
gcloud auth application-default print-access-token | helm registry login -u oauth2accesstoken --password-stdin https://us-east1-docker.pkg.dev/toptal-hub/helm-repo
|
|
82
82
|
|
|
83
83
|
kubectl get namespace ${params.RELEASE} >/dev/null 2>&1 || kubectl create namespace ${params.RELEASE}
|
|
84
|
-
helm dependency build
|
|
84
|
+
helm dependency build charts/${chart}
|
|
85
85
|
|
|
86
86
|
if helm secrets upgrade \
|
|
87
87
|
--namespace=${params.RELEASE} \
|
|
88
88
|
--install --wait --timeout 240s \
|
|
89
|
-
-f helm_vars/
|
|
89
|
+
-f helm_vars/${chart}/temploy/values.yaml \
|
|
90
|
+
-f helm_vars/${chart}/temploy/secrets.yaml \
|
|
90
91
|
-f helm_vars/tls-certs/toptal.rocks/values.yaml \
|
|
91
92
|
-f helm_vars/tls-certs/toptal.rocks/secrets.yaml \
|
|
92
93
|
--set image.repository=gcr.io/toptal-hub/${params.REPOSITORY_NAME}-release \
|
|
@@ -96,7 +97,7 @@ pipeline {
|
|
|
96
97
|
--set davinci-app.nameOverride=${params.REPOSITORY_NAME} \
|
|
97
98
|
--set-string davinci-app.image.tag=${params.TAG} \
|
|
98
99
|
--set ${params.ENV} \
|
|
99
|
-
${params.RELEASE}
|
|
100
|
+
${params.RELEASE} charts/${chart}
|
|
100
101
|
then
|
|
101
102
|
echo "\nHelm deploy succeeded!\n"
|
|
102
103
|
|