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

Updating configuration for a symantec version promote and publish #60

Merged
merged 1 commit into from
Feb 4, 2025
Merged
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
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='fauxhai'
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 @@ -13,24 +13,24 @@
- unstable
- chef-dke-lts2024

pipelines:
- verify:
description: Pull Request validation tests
public: true
- habitat/build:
description: Build the Habitat packages for faixhai
env:
- HAB_NONINTERACTIVE: "true"
- HAB_NOCOLORING: "true"
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
- habitat/test:
description: Execute tests against the habitat artifact
definition: .expeditor/habitat-test.pipeline.yml
trigger: pull_request
env:
- HAB_NONINTERACTIVE: "true"
- HAB_NOCOLORING: "true"
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"

Check failure on line 33 in .expeditor/config.yml

View check run for this annotation

Chef Expeditor / Expeditor Config Validation

.expeditor/config.yml#L16-L33

Could not find .expeditor/verify.pipeline.yml in your repo

release_branches:
- main:
Expand Down Expand Up @@ -73,12 +73,9 @@
- "Expeditor: Skip All"
only_if: built_in:bump_version

# 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="fauxhai"
$pkg_origin="core"
$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"
pkg_name=fauxhai
pkg_origin=chef
ruby_pkg="core/ruby3_1"
Expand Down
Loading