@toptal/davinci-ci 7.0.2-alpha-FX-4909-fix-jest-config-support-95d8501c.45 → 7.0.2-alpha-fx-4894-jsdom-fb4d29ca.44

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-FX-4909-fix-jest-config-support-95d8501c.45+95d8501c",
3
+ "version": "7.0.2-alpha-fx-4894-jsdom-fb4d29ca.44+fb4d29ca",
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-FX-4909-fix-jest-config-support-95d8501c.90+95d8501c",
33
+ "@toptal/davinci-cli-shared": "2.3.10-alpha-fx-4894-jsdom-fb4d29ca.89+fb4d29ca",
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": "95d8501ca9d120fc1fa1b1c6306355a626ec589e"
44
+ "gitHead": "fb4d29cae06863925dba54d0d2664a631967741f"
45
45
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
  helmVersion = '3'
4
4
 
5
- project = 'compute-engine-1069'
6
- cluster = 'temploys'
7
- zone = 'us-central1-b'
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,11 +85,11 @@ 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 \
@@ -100,6 +101,10 @@ pipeline {
100
101
  --set davinci-app.image.repository=${params.DOCKER_REGISTRY}/${params.REPOSITORY_NAME}${params.IS_RELEASE} \
101
102
  --set davinci-app.nameOverride=${params.REPOSITORY_NAME} \
102
103
  --set-string davinci-app.image.tag=${params.TAG} \
104
+ --set-string davinci-app.host=t-${params.RELEASE}.${params.DOMAIN} \
105
+ --set-string host=t-${params.RELEASE}.${params.DOMAIN} \
106
+ --set-string ingress.fqdn=t-${params.RELEASE}.${params.DOMAIN} \
107
+ --set-string davinci-app.ingress.fqdn=t-${params.RELEASE}.${params.DOMAIN} \
103
108
  ${set_env} ${params.RELEASE} charts/${chart}
104
109
  then
105
110
  echo "\nHelm deploy succeeded!\n"