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

Move the deployment config into .gitlab-ci

Users shouldn't need to care about this
parent 1f57778c
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ cs-fixer: ...@@ -78,7 +78,7 @@ cs-fixer:
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa - chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa
- ssh-keyscan -t rsa "${DEPLOY_HOST}" >> ~/.ssh/known_hosts - ssh-keyscan -t rsa "${DEPLOY_HOST}" >> ~/.ssh/known_hosts
# Deploy # Deploy
- dep deploy "${CI_ENVIRONMENT_NAME}" - dep deploy --file ./.gitlab-ci/deploy.php "${CI_ENVIRONMENT_NAME}"
- echo "Deployed to ${CI_ENVIRONMENT_URL}" - echo "Deployed to ${CI_ENVIRONMENT_URL}"
# Simple health check # Simple health check
- curl --max-time 10 --retry 3 --output /dev/null --silent --show-error --fail --location "${CI_ENVIRONMENT_URL}" - curl --max-time 10 --retry 3 --output /dev/null --silent --show-error --fail --location "${CI_ENVIRONMENT_URL}"
......
/vendor
\ No newline at end of file
...@@ -40,7 +40,7 @@ host('development') ...@@ -40,7 +40,7 @@ host('development')
->set('KEYCLOAK_CLIENT_ID', 'auth-dev-mw-dev') ->set('KEYCLOAK_CLIENT_ID', 'auth-dev-mw-dev')
->set('KEYCLOAK_FRONTEND_CLIENT_ID', 'auth-dev-mw-frontend') ->set('KEYCLOAK_FRONTEND_CLIENT_ID', 'auth-dev-mw-frontend')
->set('rsync', $rsync_config) ->set('rsync', $rsync_config)
->set('rsync_src', __DIR__) ->set('rsync_src', __DIR__.'/../')
->set('rsync_dest', '{{release_path}}') ->set('rsync_dest', '{{release_path}}')
->set('cachetool', '127.0.0.1:9001'); ->set('cachetool', '127.0.0.1:9001');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment