Skip to content

Commit

Permalink
adding the pipelines to get triggered automatically
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 62ab726 commit a1bf9a6
Showing 1 changed file with 28 additions and 33 deletions.
61 changes: 28 additions & 33 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ 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

subscriptions:
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
Expand All @@ -61,25 +61,20 @@ subscriptions:
- "Expeditor: Skip All"
- bash:.expeditor/update_version.sh:
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"

# - workload: buildkite_hab_build_group_published:{{agent_id}}:*
# actions:
# # when all of the hab package publish to the unstable channel, test and promote them
# - built_in:promote_habitat_packages
- workload: buildkite_hab_build_group_published:{{agent_id}}:*
actions:
# when all of the hab package publish to the unstable channel, test and promote them
- 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
- 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

0 comments on commit a1bf9a6

Please sign in to comment.