Skip to content

Commit

Permalink
avniproject/avni-server#813 | Use JDK-21 for all avni server env setu…
Browse files Browse the repository at this point in the history
…p for first-time
  • Loading branch information
himeshr committed Dec 17, 2024
1 parent 755cd93 commit 6fabb5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6fabb5c

Please sign in to comment.