Skip to content
Snippets Groups Projects
Commit 65105599 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

CI: Add a simple curl based health check for right after deployment

In case something with deployment went wrong.
parent 053c587a
Branches
No related tags found
No related merge requests found
Pipeline #12322 passed with warnings
......@@ -35,6 +35,8 @@ linting:
# Deploy
- dep deploy "${CI_ENVIRONMENT_NAME}"
- echo "Deployed to ${CI_ENVIRONMENT_URL}"
# Simple health check
- curl --max-time 10 --retry 3 --output /dev/null --silent --show-error --fail --location "${CI_ENVIRONMENT_URL}"
deploy_demo:
only:
......@@ -42,7 +44,7 @@ deploy_demo:
- demo
environment:
name: demo
url: https://frontend-demo.tugraz.at
url: https://frontend-demo.tugraz.at/apps/signature
variables:
DEPLOY_HOST: mw01-dev.tugraz.at
DEPLOY_KEY: "$DEPLOY_SSH_KEY"
......@@ -54,7 +56,7 @@ deploy_development:
- master
environment:
name: development
url: https://mw-frontend-dev.tugraz.at
url: https://mw-frontend-dev.tugraz.at/apps/signature
variables:
DEPLOY_HOST: mw01-dev.tugraz.at
DEPLOY_KEY: "$DEPLOY_SSH_KEY"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment