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

Removed the manually created pipelines and added the channels #425

Merged
merged 2 commits into from
Jan 6, 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
67 changes: 35 additions & 32 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,40 @@ 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/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: 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
# 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

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