From 6fabb5c5de4d51c077a8293866b4f8bd2290534c Mon Sep 17 00:00:00 2001 From: himeshr Date: Tue, 17 Dec 2024 14:23:54 +0530 Subject: [PATCH] avniproject/avni-server#813 | Use JDK-21 for all avni server env setup for first-time --- configure/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure/Makefile b/configure/Makefile index a61a594..413f3d6 100644 --- a/configure/Makefile +++ b/configure/Makefile @@ -65,11 +65,11 @@ avni-staging: check-web-zip-path check-app-zip-path check-vault-pwd-file 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} \ - --extra-vars '{"application_user":"avni-server-user"}' + --extra-vars '{"application_user":"avni-server-user","java_apt_package":"openjdk-21-jdk"}' avni-prod: 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 prod_avni_servers.yml -i inventory/prod --vault-password-file ${VAULT_PASSWORD_FILE} \ - --extra-vars '{"application_user":"avni-server-user"}' + --extra-vars '{"application_user":"avni-server-user","java_apt_package":"openjdk-21-jdk"}' avni-onpremise: 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 onpremise_avni_servers.yml -i inventory/onpremise --vault-password-file ${VAULT_PASSWORD_FILE}