Skip to content

Commit

Permalink
added HAB_BLDR_CHANNEL env as the build pipeline still using old hab …
Browse files Browse the repository at this point in the history
…version and updated config for a symantec version promote and publish (#1862)

Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 authored Feb 3, 2025
1 parent 71d0475 commit 8c0f660
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .expeditor/build.habitat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
---
env:
HAB_REFRESH_CHANNEL: "LTS-2024"

origin: chef

expeditor:
Expand Down
2 changes: 2 additions & 0 deletions .expeditor/buildkite/artifact.habitat.test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# TODO: Set-StrictMode -Version Latest
$PSDefaultParameterValues['*:ErrorAction']='Stop'
$ErrorActionPreference = 'Stop'
$env:HAB_BLDR_CHANNEL = 'LTS-2024'
$env:HAB_REFRESH_CHANNEL = "LTS-2024"
$env:HAB_ORIGIN = 'ci'
$env:CHEF_LICENSE = 'accept-no-persist'
$env:HAB_LICENSE = 'accept-no-persist'
Expand Down
2 changes: 2 additions & 0 deletions .expeditor/buildkite/artifact.habitat.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export HAB_ORIGIN='ci'
export PLAN='ohai'
export CHEF_LICENSE="accept-no-persist"
export HAB_LICENSE="accept-no-persist"
export HAB_BLDR_CHANNEL='LTS-2024'
export HAB_REFRESH_CHANNEL="LTS-2024"

echo "--- checking if git is installed"
if ! command -v git &> /dev/null; then
Expand Down
5 changes: 1 addition & 4 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,9 @@ subscriptions:
- "Expeditor: Skip Habitat"
- "Expeditor: Skip All"

# this works for symantec version promote
- workload: project_promoted:{{agent_id}}:*
actions:
- built_in:rollover_changelog

# Subscribe to the promotion of the unstable channel to stable(chef-dke-lts2024)
- workload: project_promoted:{{agent_id}}:unstable:*
actions:
- built_in:promote_habitat_packages
- built_in:publish_rubygems
2 changes: 0 additions & 2 deletions .expeditor/habitat-test.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ expeditor:
defaults:
buildkite:
timeout_in_minutes: 30
env:
HAB_REFRESH_CHANNEL: "LTS-2024"
retry:
automatic:
limit: 1
Expand Down
2 changes: 2 additions & 0 deletions habitat/plan.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
$ErrorActionPreference = "Stop"
$PSDefaultParameterValues['*:ErrorAction']='Stop'

$env:HAB_BLDR_CHANNEL = "LTS-2024"
$env:HAB_REFRESH_CHANNEL = "LTS-2024"
$pkg_name="ohai"
$pkg_origin="chef"
$pkg_version=$(Get-Content "$PLAN_CONTEXT/../VERSION")
Expand Down
2 changes: 2 additions & 0 deletions habitat/plan.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export HAB_BLDR_CHANNEL="LTS-2024"
export HAB_REFRESH_CHANNEL="LTS-2024"
ruby_pkg="core/ruby3_1"
pkg_name="ohai"
pkg_origin="chef"
Expand Down

0 comments on commit 8c0f660

Please sign in to comment.