Skip to content

Commit

Permalink
adding a new config for now (#111)
Browse files Browse the repository at this point in the history
* adding a new config for now

testing the staging areas

Signed-off-by: Sean Simmons <sean.simmons@progress.com>

* updating config

Signed-off-by: Sean Simmons <sean.simmons@progress.com>

* updating config

Signed-off-by: Sean Simmons <sean.simmons@progress.com>

---------

Signed-off-by: Sean Simmons <sean.simmons@progress.com>
  • Loading branch information
sean-simmons-progress authored Dec 27, 2024
1 parent fe1444b commit 98bf6f3
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ slack:
artifact_channels:
- unstable
- dev
- acceptance
- current
- stable

rubygems:
Expand Down Expand Up @@ -84,48 +82,50 @@ subscriptions:
- built_in:promote_habitat_packages


# Automatically promote the Habitat packages from unstable to dev upon successful build
- workload: buildkite_hab_build_group_published:{{agent_id}}:*
actions:
- built_in:promote_habitat_packages
# # Automatically promote the Habitat packages from unstable to dev upon successful build
# - workload: buildkite_hab_build_group_published:{{agent_id}}:*
# actions:
# - built_in:promote_habitat_packages

# Once habitat package is promoted to dev, run the promote script
# Once habitat package is promoted to dev, run the promote script to stable and release the rubygems
- workload: hab_package_published:dev:chef-demo/hello-omnibus-harmony/{{version_constraint}}
actions:
- bash:.expeditor/scripts/promote-hab-pkgs.sh:
post_commit: true
- bash:.expeditor/scripts/promote-hab-pkgs.sh:
post_commit: true
- trigger_pipeline:habitat/export
- built_in:publish_rubygems

# subscription hab_dev_promote fire off acceptance
- workload: staged_workload_released:{{agent_id}}:hab_dev_promote:*
actions:
- bash:.expeditor/scripts/promote-hab-pkgs.sh:
post_commit: true
# # subscription hab_dev_promote fire off acceptance
# - workload: staged_workload_released:{{agent_id}}:hab_dev_promote:*
# actions:
# - bash:.expeditor/scripts/promote-hab-pkgs.sh:
# post_commit: true

# subscription hab_acceptance_promote fire off promote to current
- workload: staged_workload_released:{{agent_id}}:hab_acceptance_promote:*
actions:
- bash:.expeditor/scripts/promote-hab-pkgs.sh:
post_commit: true
# # subscription hab_acceptance_promote fire off promote to current
# - workload: staged_workload_released:{{agent_id}}:hab_acceptance_promote:*
# actions:
# - bash:.expeditor/scripts/promote-hab-pkgs.sh:
# post_commit: true

# subscription hab_acceptance_promote fire off promote to stable
- workload: staged_workload_released:{{agent_id}}:hab_current_promote:*
actions:
- bash:.expeditor/scripts/promote-hab-pkgs.sh:
post_commit: true
# # subscription hab_acceptance_promote fire off promote to stable
# - workload: staged_workload_released:{{agent_id}}:hab_current_promote:*
# actions:
# - bash:.expeditor/scripts/promote-hab-pkgs.sh:
# post_commit: true

# this workload should fire off when hab_current_promote:* fires off
- workload: hab_package_published:stable:chef-demo/hello-omnibus-harmony/{{version_constraint}}
actions:
- trigger_pipeline:habitat/export
- built_in:publish_rubygems
# # this workload should fire off when hab_current_promote:* fires off
# - workload: hab_package_published:stable:chef-demo/hello-omnibus-harmony/{{version_constraint}}
# actions:
# - trigger_pipeline:habitat/export
# - built_in:publish_rubygems

staging_areas:
- hab_dev_promote:
workload: hab_package_published:dev:chef-demo/hello-omnibus-harmony/{{version_constraint}}
- hab_acceptance_promote:
workload: staged_workload_released:{{agent_id}}:hab_dev_promote:*
- hab_current_promote:
workload: staged_workload_released:{{agent_id}}:hab_acceptance_promote:*
# - hab_acceptance_promote:
# workload: staged_workload_released:{{agent_id}}:hab_dev_promote:*
# - hab_current_promote:
# workload: staged_workload_released:{{agent_id}}:hab_acceptance_promote:*

# # Subscribe to the promotion of the dev channel to acceptance
# - workload: project_promoted:{{agent_id}}:dev:*
Expand Down

0 comments on commit 98bf6f3

Please sign in to comment.