diff --git a/components/notifications-service/habitat/plan.sh b/components/notifications-service/habitat/plan.sh index addf921af0a..e2e48bc0a98 100644 --- a/components/notifications-service/habitat/plan.sh +++ b/components/notifications-service/habitat/plan.sh @@ -1,5 +1,3 @@ -#stable channel - pkg_repo=a2 pkg_name=notifications-service @@ -19,13 +17,14 @@ pkg_deps=( ) pkg_build_deps=( core/git + core/cacerts # Node(kallol) 2022-01-28: # # We have seen failures with notification service http request # with external services. This is because the erlang version was bumped to # v23.2. Hence pinning the version till we have a fix. - core/erlang25 + core/erlang26 # NOTE(ssd) 2019-07-03: PIN PIN PIN # @@ -82,6 +81,8 @@ do_prepare() { export MIX_HOME="${CACHE_PATH}/.mix" export HEX_HOME="${CACHE_PATH}/.hex" + mkdir -p "/etc/ssl/certs" + cp $(hab pkg path core/cacerts)/ssl/certs/cacert.pem "/etc/ssl/certs/ca-certificates.crt" mix local.hex --force mix local.rebar --force fix_interpreter "${MIX_HOME}/*" core/coreutils bin/env