diff --git a/.license_scout.yml b/.license_scout.yml index 16ac1f88dd2..e56be1425cf 100644 --- a/.license_scout.yml +++ b/.license_scout.yml @@ -1413,6 +1413,8 @@ exceptions: reason: Ruby license (previously shipped in Automate 1) - name: core/ruby27 reason: Exception made for chef server upgrade + - name: core/libmpc + reason: Exception made for notefications-service upgrade ruby: - name: highline diff --git a/components/notifications-service/habitat/plan.sh b/components/notifications-service/habitat/plan.sh index addf921af0a..cfba8777ddd 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/26.2.2/20241017154809 # 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