From 755cd931d698edffb8129baf3cfd306d8ecf65b0 Mon Sep 17 00:00:00 2001 From: himeshr Date: Tue, 17 Dec 2024 14:07:28 +0530 Subject: [PATCH] avniproject/avni-server#813 | Use jdk 21 for staging avni-server while deploying app_server --- configure/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure/Makefile b/configure/Makefile index 6f90e56..a61a594 100644 --- a/configure/Makefile +++ b/configure/Makefile @@ -61,7 +61,7 @@ minio-onpremise: check-minio-setup-pwd avni-staging: check-web-zip-path check-app-zip-path check-vault-pwd-file WEBAPP_ZIP_PATH=$(web_zip_path) WEBAPP_ZIP_FILE_NAME=avni-webapp.tgz APPLICATION_ZIP_PATH=$(app_zip_path) APPLICATION_ZIP_FILE_NAME=avni-server-0.0.1-SNAPSHOT.jar ansible-playbook staging_avni_servers.yml -i inventory/staging --vault-password-file ${VAULT_PASSWORD_FILE} \ - --extra-vars '{"application_user":"avni-server-user", "java_apt_package":"openjdk-21-jdk"}' + --extra-vars '{"application_user":"avni-server-user","java_apt_package":"openjdk-21-jdk"}' avni-prerelease: check-web-zip-path check-app-zip-path check-vault-pwd-file WEBAPP_ZIP_PATH=$(web_zip_path) WEBAPP_ZIP_FILE_NAME=avni-webapp.tgz APPLICATION_ZIP_PATH=$(app_zip_path) APPLICATION_ZIP_FILE_NAME=avni-server-0.0.1-SNAPSHOT.jar ansible-playbook prerelease_avni_servers.yml -i inventory/prerelease --vault-password-file ${VAULT_PASSWORD_FILE} \ @@ -216,7 +216,7 @@ deploy-int-webapp-prod: check-web-zip-path check-vault-pwd-file deploy-avni-server-staging: check-app-zip-path check-vault-pwd-file APPLICATION_ZIP_PATH=$(app_zip_path) APPLICATION_ZIP_FILE_NAME=avni-server-0.0.1-SNAPSHOT.jar ansible-playbook deploy_app_to_servers.yml -i inventory/staging --vault-password-file ${VAULT_PASSWORD_FILE} \ - --extra-vars '{"deploy_app_name":"avni","deploy_app_hosts":"avniservers","deploy_app_remote_user":"avni-server-user","deploy_app_env":"staging","deploy_app_role":"avni_appserver","deploy_app_env_vars_file":"group_vars/staging_vars.yml","deploy_app_env_secret_vars_file":"group_vars/staging-secret-vars.yml.enc"}' + --extra-vars '{"java_apt_package":"openjdk-21-jdk","deploy_app_name":"avni","deploy_app_hosts":"avniservers","deploy_app_remote_user":"avni-server-user","deploy_app_env":"staging","deploy_app_role":"avni_appserver","deploy_app_env_vars_file":"group_vars/staging_vars.yml","deploy_app_env_secret_vars_file":"group_vars/staging-secret-vars.yml.enc"}' deploy-avni-server-prod: check-app-zip-path check-vault-pwd-file APPLICATION_ZIP_PATH=$(app_zip_path) APPLICATION_ZIP_FILE_NAME=avni-server-0.0.1-SNAPSHOT.jar ansible-playbook deploy_app_to_servers.yml -i inventory/prod --vault-password-file ${VAULT_PASSWORD_FILE} \