Add deployment scripts for test and prod environments

This commit is contained in:
Simon Larsen 2024-03-19 09:32:28 +00:00
parent b516a7a350
commit 98b8e89d71
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
2 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@
"pull": "export $(grep -v '^#' config.env | xargs) && docker compose pull",
"update": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose pull && npm run start",
"dep-check": "npm install -g depcheck && depcheck ./ --skip-missing=true",
"run-probes": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d probe-1 probe-2"
"run-probes": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d probe-1 probe-2",
"deploy-test": "kubectl config set-context oneuptime-test && helm upgrade oneuptime ./HelmChart/Public/oneuptime -f ./HelmChart/Public/oneuptime/values.yaml -f ./HelmChart/Values/test.values.yaml",
"deploy-prod": "kubectl config set-context oneuptime-prod && helm upgrade oneuptime ./HelmChart/Public/oneuptime -f ./HelmChart/Public/oneuptime/values.yaml -f ./HelmChart/Values/prod.values.yaml"
},
"repository": {
"type": "git",