Merge branch 'new-helm'

This commit is contained in:
Simon Larsen 2023-09-28 11:33:38 +00:00
commit 22bc05b32d
3 changed files with 3 additions and 2 deletions

View File

@ -9,5 +9,5 @@ spec:
- name: oneptime-test
image: {{ printf "%s/%s/%s:%s" .Values.image.registry .Values.image.repository "test" .Values.image.tag }}
command: ['/bin/sh']
args: ["-c", "scripts/status-check.sh", "{{ $.Release.Name }}-nginx.{{ $.Release.Namespace }}.svc.cluster.local"]
args: ["-c", "Scripts/status-check.sh", "{{ $.Release.Name }}-nginx.{{ $.Release.Namespace }}.svc.cluster.local"]
restartPolicy: Never

View File

@ -60,6 +60,7 @@ image:
repository: oneuptime
pullPolicy: Always
tag: release
restartPolicy: Always
autoscaling:
enabled: false

View File

@ -44,7 +44,7 @@
"lint": "ejslint **/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
"fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix --cache",
"fix": "npm run fix-lint",
"start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services && bash ./HelmChart/public/oneuptime/scriptsstatus-check.sh",
"start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services && bash ./Tests/Scripts/status-check.sh",
"ps": "docker compose ps",
"save-logs": "export $(grep -v '^#' config.env | xargs) && docker compose logs --tail=100000 $npm_config_services > logs.txt",
"logs": "export $(grep -v '^#' config.env | xargs) && docker compose logs --tail=100 -f $npm_config_services",