Skip to content

Commit

Permalink
removed the manually created pipelines and added the channels
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Jan 6, 2025
1 parent 17cb3d9 commit d834206
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
66 changes: 33 additions & 33 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ slack:
rubygems:
- chef-vault

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

github:
# This deletes the GitHub PR branch after successfully merged into the release branch
delete_branch_on_merge: true
Expand All @@ -23,7 +28,7 @@ github:

release_branches:
- workstation-LTS:
version_constraint: 4.*
version_constraint: 0.*
- main:
version_constraint: 4.*

Expand All @@ -46,42 +51,37 @@ subscriptions:
- "Expeditor: Skip All"
- built_in:build_gem:
only_if: built_in:bump_version
- trigger_pipeline:habitat/test:
only_if: built_in:bump_version
ignore_labels:
- "Expeditor: Skip Habitat"
- "Expeditor: Skip All"
- trigger_pipeline:habitat/build:
only_if: built_in:bump_version
ignore_labels:
- "Expeditor: Skip Habitat"
- "Expeditor: Skip All"
# - trigger_pipeline:habitat/test:
# only_if: built_in:bump_version
# ignore_labels:
# - "Expeditor: Skip Habitat"
# - "Expeditor: Skip All"
# - trigger_pipeline:habitat/build:
# only_if: built_in:bump_version
# ignore_labels:
# - "Expeditor: Skip Habitat"
# - "Expeditor: Skip All"

# the habitat chain
- 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/test

- 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/test

pipelines:
- verify:
description: Pull Request validation tests
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
# - 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
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.14
0.1.0
2 changes: 1 addition & 1 deletion lib/chef-vault/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
# limitations under the License.

class ChefVault
VERSION = "4.1.14"
VERSION = "0.1.0"
MAJOR, MINOR, TINY = VERSION.split(".")
end

0 comments on commit d834206

Please sign in to comment.