Skip to content

Commit ebe2127

Browse files
authored
Merge pull request #256 from chef/adding_pipelines
Adding pipelines to trigger automatically
2 parents 62ab726 + a1bf9a6 commit ebe2127

File tree

1 file changed

+28
-33
lines changed

1 file changed

+28
-33
lines changed

.expeditor/config.yml

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ pipelines:
3737
- verify:
3838
description: Pull Request validation tests
3939
public: true
40-
# - habitat/build:
41-
# env:
42-
# - HAB_NONINTERACTIVE: "true"
43-
# - HAB_NOCOLORING: "true"
44-
# - HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
45-
# - habitat/test:
46-
# description: Execute tests against the habitat artifact
47-
# definition: .expeditor/habitat-test.pipeline.yml
48-
# env:
49-
# - HAB_NONINTERACTIVE: "true"
50-
# - HAB_NOCOLORING: "true"
51-
# - HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
52-
# trigger: pull_request
40+
- habitat/build:
41+
env:
42+
- HAB_NONINTERACTIVE: "true"
43+
- HAB_NOCOLORING: "true"
44+
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
45+
- habitat/test:
46+
description: Execute tests against the habitat artifact
47+
definition: .expeditor/habitat-test.pipeline.yml
48+
env:
49+
- HAB_NONINTERACTIVE: "true"
50+
- HAB_NOCOLORING: "true"
51+
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
52+
trigger: pull_request
5353

5454
subscriptions:
5555
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
@@ -61,25 +61,20 @@ subscriptions:
6161
- "Expeditor: Skip All"
6262
- bash:.expeditor/update_version.sh:
6363
only_if: built_in:bump_version
64-
# - trigger_pipeline:habitat/test:
65-
# only_if: built_in:bump_version
66-
# ignore_labels:
67-
# - "Expeditor: Skip Habitat"
68-
# - "Expeditor: Skip All"
69-
# - trigger_pipeline:habitat/build:
70-
# only_if: built_in:bump_version
71-
# ignore_labels:
72-
# - "Expeditor: Skip Habitat"
73-
# - "Expeditor: Skip All"
64+
- trigger_pipeline:habitat/build:
65+
only_if: built_in:bump_version
66+
ignore_labels:
67+
- "Expeditor: Skip Habitat"
68+
- "Expeditor: Skip All"
7469

75-
# - workload: buildkite_hab_build_group_published:{{agent_id}}:*
76-
# actions:
77-
# # when all of the hab package publish to the unstable channel, test and promote them
78-
# - built_in:promote_habitat_packages
70+
- workload: buildkite_hab_build_group_published:{{agent_id}}:*
71+
actions:
72+
# when all of the hab package publish to the unstable channel, test and promote them
73+
- built_in:promote_habitat_packages
7974
# Subscribe to the promotion of the dev channel to acceptance
80-
# - workload: project_promoted:{{agent_id}}:dev:*
81-
# actions:
82-
# - built_in:promote_habitat_packages
83-
# - workload: project_promoted:{{agent_id}}:workstation-build:*
84-
# actions:
85-
# - built_in:promote_habitat_packages
75+
- workload: project_promoted:{{agent_id}}:dev:*
76+
actions:
77+
- built_in:promote_habitat_packages
78+
- workload: project_promoted:{{agent_id}}:workstation-build:*
79+
actions:
80+
- built_in:promote_habitat_packages

0 commit comments

Comments
 (0)