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

Added pipeline config to build automatically #993

Merged
merged 1 commit into from
Jan 6, 2025
Merged
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
56 changes: 28 additions & 28 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ changelog:
rollup_header: Changes not yet released to rubygems.org

pipelines:
# - 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 @@ -66,22 +66,22 @@ subscriptions:
ignore_labels:
- "Expeditor: Skip Changelog"
- "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
# - 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
Loading