Skip to content

Commit

Permalink
added the pipelines to build those automatically
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
nikhil2611 committed Jan 6, 2025
1 parent 02790bc commit 612ed9e
Showing 3 changed files with 29 additions and 14 deletions.
39 changes: 27 additions & 12 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,30 @@ slack:
# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
- ohai

artifact_channels:
- dev
- workstation-build
- LTS-2024

pipelines:
- verify:
description: Pull Request validation tests
definition: .expeditor/verify.pipeline.yml
public: true
- habitat/build:
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
env:
- HAB_NONINTERACTIVE: "true"
- HAB_NOCOLORING: "true"
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
trigger: pull_request

github:
# This deletes the GitHub PR branch after successfully merged into the release branch
@@ -38,7 +54,7 @@ release_branches:
- main:
version_constraint: 19.*
- workstation-LTS:
version_constraint: 19.*
version_constraint: 0.*
- 18-stable:
version_constraint: 18.*
- 17-stable:
@@ -65,26 +81,25 @@ subscriptions:
- "Expeditor: Skip All"
- built_in:build_gem:
only_if: built_in:bump_version
- trigger_pipeline:habitat/publish:
- trigger_pipeline:habitat/build:
only_if: built_in:bump_version
ignore_labels:
- "Expeditor: Skip Habitat"
- "Expeditor: Skip All"
- trigger_pipeline:habitat/build-test:
only_if: built_in:bump_version
ignore_labels:
- "Expeditor: Skip Habitat"
- "Expeditor: Skip All"

- workload: pull_request_opened:{{github_repo}}:{{release_branch}}:*
actions:
- trigger_pipeline:verify

- workload: project_promoted:{{agent_id}}:*
actions:
- built_in:rollover_changelog
- built_in:publish_rubygems
- workload: buildkite_hab_build_group_published:{{agent_id}}:*
actions:
# when all of the hab package publish to the unstable channel, test and promote them
- trigger_pipeline:habitat/build-test
- built_in:promote_habitat_packages

# Subscribe to the promotion of the dev channel to acceptance
- workload: project_promoted:{{agent_id}}:dev:*
actions:
- built_in:promote_habitat_packages
- workload: project_promoted:{{agent_id}}:workstation-build:*
actions:
- built_in:promote_habitat_packages
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.0.6
0.1.0
2 changes: 1 addition & 1 deletion lib/ohai/version.rb
Original file line number Diff line number Diff line change
@@ -19,5 +19,5 @@

module Ohai
OHAI_ROOT = File.expand_path(__dir__)
VERSION = "19.0.6"
VERSION = "0.1.0"
end

0 comments on commit 612ed9e

Please sign in to comment.