diff --git a/.expeditor/build.habitat.yml b/.expeditor/build.habitat.yml index 250593e694..d38bcabf30 100644 --- a/.expeditor/build.habitat.yml +++ b/.expeditor/build.habitat.yml @@ -1,4 +1,17 @@ --- +env: + HAB_BLDR_CHANNEL: "LTS-2024" + HAB_STUDIO_SECRET_HAB_FALLBACK_CHANNEL: "LTS-2024" + HAB_FALLBACK_CHANNEL: "LTS-2024" origin: chef smart_build: false +studio_secrets: + HAB_BLDR_CHANNEL: + value: "LTS-2024" + HAB_STUDIO_SECRET_HAB_FALLBACK_CHANNEL: + value: "LTS-2024" + HAB_FALLBACK_CHANNEL: + value: "LTS-2024" + + diff --git a/.expeditor/config.yml b/.expeditor/config.yml index e0f372069b..aca47c4c84 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -129,3 +129,4 @@ artifact_channels: - unstable - current - stable + - LTS-2024 diff --git a/.expeditor/create_manifest.rb b/.expeditor/create_manifest.rb index 7a66319f45..c9f7638014 100755 --- a/.expeditor/create_manifest.rb +++ b/.expeditor/create_manifest.rb @@ -26,7 +26,7 @@ def get_latest(channel, origin, name) def get_hab_deps_latest() ret = {} ["hab", "hab-sup", "hab-launcher"].each do |name| - d = get_latest("stable", "core", name) + d = get_latest("LTS-2024", "core", name) ret[name] = "#{d["origin"]}/#{d["name"]}/#{d["version"]}/#{d["release"]}" end ret @@ -78,7 +78,7 @@ def get_hab_deps_latest() # that were part of the build group. Pulling from unstable means # that we might include packages that were built as part of an # ad-hoc run of the pipeline or a concurrently running build. - latest_release = get_latest("unstable", pkg_origin, pkg_name) + latest_release = get_latest("LTS-2024", pkg_origin, pkg_name) pkg_version = latest_release["version"] pkg_release = latest_release["release"] diff --git a/.license_scout.yml b/.license_scout.yml index 0e63904ddf..c7ee850fe2 100644 --- a/.license_scout.yml +++ b/.license_scout.yml @@ -15,7 +15,7 @@ habitat: - origin: chef channel: unstable - origin: core - channel: stable + channel: LTS-2024 allowed_licenses: - Apache-1.0 diff --git a/src/oc-id/habitat/plan.sh b/src/oc-id/habitat/plan.sh index b00dc7f8f4..e10f5ecd9a 100644 --- a/src/oc-id/habitat/plan.sh +++ b/src/oc-id/habitat/plan.sh @@ -3,10 +3,11 @@ pkg_origin=chef pkg_maintainer="The Chef Server Maintainers " pkg_license=('Apache-2.0') pkg_deps=( - core/sqitch_pg + core/sqitch + core/postgresql17-client core/curl - core/node14 - core/ruby31/3.1.6/20240912144513 + core/node + core/ruby3_4 core/rsync core/sed core/libffi @@ -102,7 +103,10 @@ do_install() { --with-xml2-lib=$(pkg_path_for core/libxml2)/lib \ --with-xslt-include=$(pkg_path_for core/libxslt)/include/libxslt \ --with-xslt-lib=$(pkg_path_for core/libxslt)/lib - bundle install --path "${HOME}/vendor/bundle" --binstubs="${HOME}/bin" --shebang ruby --deployment + bundle config set path "${HOME}/vendor/bundle" + bundle config set deployment 'true' + bundle config set --local shebang 'ruby' + bundle install --binstubs="${HOME}/bin" # fix tzdata location echo "Adding core/tzdata zoneinfo search path to tzinfo gem" grep -l DEFAULT_SEARCH_PATH $HOME/vendor/bundle/ruby/*/gems/tzinfo*/lib/tzinfo/zoneinfo_data_source.rb | while read -r f; do