@toptal/davinci-ci 7.4.4-alpha-fx-5435-monorepo-commands-0774222d.2 → 7.4.4-alpha-fx-5088-investigate-latest-npm-adoption-in-staff-portal-647d1ecf.16

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-ci",
3
- "version": "7.4.4-alpha-fx-5435-monorepo-commands-0774222d.2+0774222d",
3
+ "version": "7.4.4-alpha-fx-5088-investigate-latest-npm-adoption-in-staff-portal-647d1ecf.16+647d1ecf",
4
4
  "keywords": [
5
5
  "ci",
6
6
  "docker",
@@ -25,12 +25,12 @@
25
25
  "CHANGELOG.md"
26
26
  ],
27
27
  "scripts": {
28
- "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' yarn jest"
28
+ "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' npx jest"
29
29
  },
30
30
  "dependencies": {
31
31
  "@commitlint/cli": "^17.6.7",
32
32
  "@commitlint/config-conventional": "^17.1.0",
33
- "@toptal/davinci-cli-shared": "2.5.1-alpha-fx-5435-monorepo-commands-0774222d.9+0774222d",
33
+ "@toptal/davinci-cli-shared": "2.5.1-alpha-fx-5088-investigate-latest-npm-adoption-in-staff-portal-647d1ecf.23+647d1ecf",
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": "0774222ddf02b514f6737a7ce94b67ac4498b3ac"
44
+ "gitHead": "647d1ecf1162f91a0906925176d3f3e333fae459"
45
45
  }
@@ -28,8 +28,8 @@ if [ -f "$ENV_FILE" ]; then
28
28
  export $(grep -v '^#' $ENV_FILE | xargs)
29
29
 
30
30
  # Override env variables with previous values
31
- eval "$OLD_ENV"
32
- else
31
+ eval "$OLD_ENV"
32
+ else
33
33
  echo "Info: $ENV_FILE does not exist"
34
34
  fi
35
35
 
@@ -62,8 +62,11 @@ if [ -n "$MISSING_VARS" ]; then
62
62
  done
63
63
  fi
64
64
 
65
- export HTML_CDN_CACHE_TAG="${HTML_CDN_CACHE_TAG:-"davinci-app"}"
66
-
67
- envsubst '${HTML_CDN_CACHE_TAG}' </etc/nginx/conf.d/default.conf.templ >/etc/nginx/conf.d/default.conf
65
+ if [ -f /etc/nginx/conf.d/default.conf.templ ]; then
66
+ export HTML_CDN_CACHE_TAG="${HTML_CDN_CACHE_TAG:-"davinci-app"}"
67
+ envsubst '${HTML_CDN_CACHE_TAG}' </etc/nginx/conf.d/default.conf.templ >/etc/nginx/conf.d/default.conf
68
+ else
69
+ echo "Info: /etc/nginx/conf.d/default.conf.templ does not exist"
70
+ fi
68
71
 
69
72
  exec "$@"