Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed pinned version of corretto to corretto8, updated notes file #90

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions habitat/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pkg_origin=ericheiser
pkg_version=7.0.0
pkg_maintainer="Eric Heiser <[email protected]>"
pkg_license=('Apache-2.0')
pkg_deps=(core/tomcat8 core/corretto/11.0.2.9.3 core/mongo-tools)
pkg_build_deps=(core/corretto/11.0.2.9.3 core/maven)
pkg_deps=(core/tomcat8 core/corretto8 core/mongo-tools)
pkg_build_deps=(core/corretto8 core/maven)
pkg_svc_user="root"
pkg_binds=(
[database]="port"
Expand All @@ -17,7 +17,7 @@ pkg_exposes=(port)

do_prepare()
{
export JAVA_HOME=$(hab pkg path core/corretto/11.0.2.9.3)
export JAVA_HOME=$(hab pkg path core/corretto8)
}

do_build()
Expand Down
4 changes: 2 additions & 2 deletions notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ hab svc load core/mongodb/3.2.9/20170515233318
hab config apply mongodb.default $(date +%s) habitat/mongo.toml
hab svc load $pkg_ident --bind database:mongodb.default
hab svc load core/haproxy --bind backend:national-parks.default
hab config apply haproxy.default $(date +%s) haproxy.toml
hab config apply haproxy.default $(date +%s) habitat/haproxy.toml
sup-log

-------- Test different service group ---------------------
Expand All @@ -30,7 +30,7 @@ hab svc load core/mongodb/3.2.9/20170515233318 --group test
hab config apply mongodb.test $(date +%s) habitat/mongo.toml
hab svc load $pkg_ident --bind database:mongodb.test --group test
hab svc load core/haproxy --bind backend:national-parks.test --group test
hab config apply haproxy.test $(date +%s) haproxy.toml
hab config apply haproxy.test $(date +%s) habitat/haproxy.toml
hab sup status

------------------------------------------------------------
Expand Down