@toptal/davinci-ci 7.0.2-alpha-trn-x-clean-up-node-flags-for-qa-package-1f8d1995.49 → 7.0.2-alpha-FX-4930-unit-test-logs-debug-fa26ac06.61
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": "7.0.2-alpha-
|
|
3
|
+
"version": "7.0.2-alpha-FX-4930-unit-test-logs-debug-fa26ac06.61+fa26ac06",
|
|
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": "2.3.10-alpha-
|
|
33
|
+
"@toptal/davinci-cli-shared": "2.3.10-alpha-FX-4930-unit-test-logs-debug-fa26ac06.106+fa26ac06",
|
|
34
34
|
"chalk": "^4.1.2",
|
|
35
35
|
"danger": "^11.2.2",
|
|
36
36
|
"markdown-table": "^2.0.0"
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "fa26ac06a7beb838ccf883fa2976a670896308da"
|
|
45
45
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
helmVersion = '3'
|
|
4
4
|
|
|
5
|
-
project = '
|
|
6
|
-
cluster = '
|
|
7
|
-
zone = 'us-
|
|
5
|
+
project = 'toptal-cni-development-0'
|
|
6
|
+
cluster = 'temploy-0'
|
|
7
|
+
zone = 'us-east1'
|
|
8
8
|
|
|
9
9
|
pipeline {
|
|
10
10
|
agent { label 'docker' }
|
|
@@ -25,6 +25,7 @@ pipeline {
|
|
|
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
27
|
string(name: 'DOCKER_REGISTRY', defaultValue: 'gcr.io/toptal-hub', description: 'Name of registry')
|
|
28
|
+
string(name: 'DOMAIN', defaultValue: 'toptal.net', description: 'The temploy domain')
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
stages {
|
|
@@ -84,22 +85,22 @@ pipeline {
|
|
|
84
85
|
gcloud container clusters get-credentials $cluster --zone $zone --project $project
|
|
85
86
|
gcloud auth application-default print-access-token | helm registry login -u oauth2accesstoken --password-stdin https://us-east1-docker.pkg.dev/toptal-hub/helm-repo
|
|
86
87
|
|
|
87
|
-
kubectl get namespace ${params.RELEASE} >/dev/null 2>&1 || kubectl create namespace ${params.RELEASE}
|
|
88
88
|
helm dependency build charts/${chart}
|
|
89
89
|
|
|
90
90
|
if helm secrets upgrade \
|
|
91
91
|
--namespace=${params.RELEASE} \
|
|
92
|
+
--create-namespace \
|
|
92
93
|
--install --wait --timeout 600s \
|
|
93
94
|
-f helm_vars/${chart}/temploy/values.yaml \
|
|
94
95
|
-f helm_vars/${chart}/temploy/secrets.yaml \
|
|
95
|
-
-f helm_vars/tls-certs/toptal.rocks/values.yaml \
|
|
96
|
-
-f helm_vars/tls-certs/toptal.rocks/secrets.yaml \
|
|
97
96
|
--set image.repository=${params.DOCKER_REGISTRY}/${params.REPOSITORY_NAME}${params.IS_RELEASE} \
|
|
98
97
|
--set nameOverride=${params.REPOSITORY_NAME} \
|
|
99
98
|
--set-string image.tag=${params.TAG} \
|
|
100
99
|
--set davinci-app.image.repository=${params.DOCKER_REGISTRY}/${params.REPOSITORY_NAME}${params.IS_RELEASE} \
|
|
101
100
|
--set davinci-app.nameOverride=${params.REPOSITORY_NAME} \
|
|
102
101
|
--set-string davinci-app.image.tag=${params.TAG} \
|
|
102
|
+
--set-string davinci-app.host=t-${params.RELEASE}.${params.DOMAIN} \
|
|
103
|
+
--set-string host=t-${params.RELEASE}.${params.DOMAIN} \
|
|
103
104
|
${set_env} ${params.RELEASE} charts/${chart}
|
|
104
105
|
then
|
|
105
106
|
echo "\nHelm deploy succeeded!\n"
|