2019-02-13 23:53:32 +00:00
|
|
|
# Documentation available at https://expeditor.chef.io/docs/getting-started/
|
|
|
|
---
|
2017-09-06 22:14:33 +00:00
|
|
|
|
2017-07-24 16:11:25 +00:00
|
|
|
product_key: inspec
|
|
|
|
|
2017-08-18 17:21:32 +00:00
|
|
|
rubygems:
|
|
|
|
- inspec
|
2018-05-03 14:53:43 +00:00
|
|
|
- inspec-core
|
2019-04-26 17:34:08 +00:00
|
|
|
- inspec-bin:
|
2019-07-05 21:03:12 +00:00
|
|
|
gemspec_path: ./inspec-bin/
|
2019-05-01 13:55:08 +00:00
|
|
|
- inspec-core-bin:
|
2019-07-05 21:03:12 +00:00
|
|
|
gemspec_path: ./inspec-bin/
|
2017-08-18 17:21:32 +00:00
|
|
|
|
2017-10-09 16:09:21 +00:00
|
|
|
docker_images:
|
2019-07-05 21:03:12 +00:00
|
|
|
- inspec:
|
2019-07-05 21:46:09 +00:00
|
|
|
build_args:
|
|
|
|
- GEM_SOURCE: http://artifactory.chef.co/omnibus-gems-local
|
2017-09-14 19:16:29 +00:00
|
|
|
|
2019-04-01 20:13:02 +00:00
|
|
|
pipelines:
|
2019-07-05 20:58:39 +00:00
|
|
|
- habitat/build
|
|
|
|
- omnibus/release
|
|
|
|
- omnibus/adhoc:
|
|
|
|
definition: .expeditor/release.omnibus.yml
|
|
|
|
env:
|
|
|
|
- ADHOC: true
|
|
|
|
- verify:
|
|
|
|
description: Pull Request validation tests
|
|
|
|
public: true
|
|
|
|
env:
|
2019-07-15 22:19:45 +00:00
|
|
|
- LANG: "C.UTF-8"
|
2019-07-05 20:58:39 +00:00
|
|
|
- SLOW: 1
|
|
|
|
- NO_AWS: 1
|
2019-09-18 19:46:57 +00:00
|
|
|
- N: 5
|
2019-07-05 20:58:39 +00:00
|
|
|
- coverage:
|
|
|
|
description: Generate test coverage report
|
|
|
|
env:
|
|
|
|
- CI_ENABLE_COVERAGE: true
|
2019-07-16 17:25:56 +00:00
|
|
|
- LANG: "C.UTF-8"
|
2019-07-05 20:58:39 +00:00
|
|
|
- SLOW: 1
|
2019-10-18 19:11:02 +00:00
|
|
|
- integration/resources:
|
2019-09-12 01:43:45 +00:00
|
|
|
description: Test core resources with test-kitchen.
|
2019-10-18 19:11:02 +00:00
|
|
|
definition: .expeditor/integration.resources.yml
|
2019-07-30 21:37:40 +00:00
|
|
|
- integration/libraries:
|
|
|
|
description: Integration with plugins, gems, resource packs.
|
|
|
|
definition: .expeditor/integration.libraries.yml
|
|
|
|
- integration/profiles:
|
|
|
|
description: Integration with compliance-profiles, and dev-sec
|
|
|
|
definition: .expeditor/integration.profiles.yml
|
|
|
|
- integration/cookbooks:
|
|
|
|
description: Integration with the audit cookbook
|
|
|
|
definition: .expeditor/integration.cookbooks.yml
|
|
|
|
- integration/automate:
|
|
|
|
description: Integration with Chef Automate
|
|
|
|
definition: .expeditor/integration.automate.yml
|
2019-10-18 19:11:02 +00:00
|
|
|
- artifact/habitat:
|
|
|
|
description: Execute tests against the habitat artifact
|
|
|
|
definition: .expeditor/artifact.habitat.yml
|
2019-07-30 21:37:40 +00:00
|
|
|
|
|
|
|
schedules:
|
|
|
|
- name: integration_schedule
|
|
|
|
description: Periodic Integration Testing
|
|
|
|
cronline: "0 8 * * *"
|
2017-11-14 04:01:51 +00:00
|
|
|
|
2017-07-24 16:11:25 +00:00
|
|
|
slack:
|
2019-07-05 21:03:12 +00:00
|
|
|
notify_channel: inspec-notify
|
2017-07-24 16:11:25 +00:00
|
|
|
|
|
|
|
github:
|
2019-07-05 21:03:12 +00:00
|
|
|
delete_branch_on_merge: true
|
|
|
|
minor_bump_labels:
|
|
|
|
- "Version: Bump Minor"
|
|
|
|
version_tag_format: v{{version}}
|
|
|
|
release_branch:
|
|
|
|
- master:
|
2019-07-05 21:46:09 +00:00
|
|
|
version_constraint: 4.*
|
2019-07-05 21:03:12 +00:00
|
|
|
- 1-stable:
|
2019-07-05 21:46:09 +00:00
|
|
|
version_constraint: 1.*
|
2019-07-05 21:03:12 +00:00
|
|
|
- 2-stable:
|
2019-07-05 21:46:09 +00:00
|
|
|
version_constraint: 2.*
|
2019-07-05 21:03:12 +00:00
|
|
|
- 3-stable:
|
2019-07-05 21:46:09 +00:00
|
|
|
version_constraint: 3.*
|
2017-07-24 16:11:25 +00:00
|
|
|
|
2017-08-15 21:32:14 +00:00
|
|
|
changelog:
|
2019-07-05 21:03:12 +00:00
|
|
|
categories:
|
|
|
|
- "Type: New Resource": "New Resources"
|
|
|
|
- "Type: New Feature": "New Features"
|
|
|
|
- "Type: Enhancement": "Enhancements"
|
|
|
|
- "Type: Bug": "Bug Fixes"
|
2017-08-15 21:32:14 +00:00
|
|
|
|
2017-07-24 16:11:25 +00:00
|
|
|
merge_actions:
|
2019-07-05 21:03:12 +00:00
|
|
|
- built_in:bump_version:
|
|
|
|
ignore_labels:
|
|
|
|
- "Version: Skip Bump"
|
|
|
|
- "Expeditor: Skip All"
|
2019-07-30 22:34:50 +00:00
|
|
|
only_if_modified:
|
|
|
|
- docs/*
|
|
|
|
- etc/*
|
|
|
|
- habitat/*
|
|
|
|
- inspec-bin/*
|
|
|
|
- lib/*
|
|
|
|
- omnibus/*
|
|
|
|
- support/*
|
|
|
|
- tasks/*
|
|
|
|
- test/*
|
|
|
|
- Gemfile*
|
|
|
|
- LICENSE
|
|
|
|
- "*.gemspec"
|
|
|
|
- "*.md"
|
2019-07-05 21:03:12 +00:00
|
|
|
- bash:.expeditor/update_version.sh:
|
|
|
|
only_if: built_in:bump_version
|
|
|
|
- built_in:update_changelog:
|
|
|
|
ignore_labels:
|
|
|
|
- "Changelog: Skip Update"
|
|
|
|
- "Expeditor: Skip All"
|
2019-09-05 19:30:37 +00:00
|
|
|
- trigger_pipeline:omnibus/adhoc:
|
|
|
|
not_if: built_in:bump_version
|
|
|
|
ignore_labels:
|
|
|
|
- "Omnibus: Skip Build"
|
|
|
|
- "Expeditor: Skip All"
|
2019-11-22 20:58:31 +00:00
|
|
|
- trigger_pipeline:artifact/habitat:
|
|
|
|
only_if: built_in:bump_version
|
|
|
|
ignore_labels:
|
|
|
|
- "Habitat: Skip Build"
|
|
|
|
- "Expeditor: Skip All"
|
2019-07-05 21:03:12 +00:00
|
|
|
- trigger_pipeline:omnibus/release:
|
2019-09-05 19:30:37 +00:00
|
|
|
only_if: built_in:bump_version
|
2019-07-05 21:03:12 +00:00
|
|
|
ignore_labels:
|
|
|
|
- "Omnibus: Skip Build"
|
|
|
|
- "Expeditor: Skip All"
|
|
|
|
- trigger_pipeline:habitat/build:
|
2019-09-05 19:30:37 +00:00
|
|
|
only_if: built_in:bump_version
|
2019-07-05 21:03:12 +00:00
|
|
|
ignore_labels:
|
|
|
|
- "Habitat: Skip Build"
|
|
|
|
- "Expeditor: Skip All"
|
|
|
|
- built_in:build_gem:
|
|
|
|
only_if:
|
|
|
|
- built_in:bump_version
|
2017-07-27 22:41:42 +00:00
|
|
|
|
2018-09-07 16:58:11 +00:00
|
|
|
subscriptions:
|
2019-07-05 21:03:12 +00:00
|
|
|
- workload: artifact_published:unstable:inspec:{{version_constraint}}
|
|
|
|
actions:
|
|
|
|
- built_in:build_docker_image
|
2019-11-06 00:05:18 +00:00
|
|
|
- bash:.expeditor/buildkite/wwwrelease.sh:
|
|
|
|
post_commit: true
|
2019-07-05 21:03:12 +00:00
|
|
|
- workload: artifact_published:current:inspec:{{version_constraint}}
|
|
|
|
actions:
|
|
|
|
- built_in:tag_docker_image
|
|
|
|
- built_in:promote_habitat_packages
|
|
|
|
- workload: artifact_published:stable:inspec:{{version_constraint}}
|
|
|
|
actions:
|
|
|
|
- bash:.expeditor/update_dockerfile.sh
|
|
|
|
- built_in:rollover_changelog
|
|
|
|
- built_in:publish_rubygems
|
|
|
|
- built_in:create_github_release
|
|
|
|
- built_in:tag_docker_image
|
|
|
|
- built_in:promote_habitat_packages
|
2019-07-17 21:30:58 +00:00
|
|
|
- bash:.expeditor/publish-release-notes.sh:
|
2019-07-30 22:34:50 +00:00
|
|
|
post_commit: true
|
2019-07-17 21:30:58 +00:00
|
|
|
- bash:.expeditor/purge-cdn.sh:
|
2019-07-30 22:34:50 +00:00
|
|
|
post_commit: true
|
2019-07-17 21:30:58 +00:00
|
|
|
- bash:.expeditor/announce-release.sh:
|
2019-07-30 22:34:50 +00:00
|
|
|
post_commit: true
|
2019-07-05 21:03:12 +00:00
|
|
|
- built_in:notify_chefio_slack_channels
|
2019-08-28 18:16:08 +00:00
|
|
|
- workload: pull_request_opened:{{agent_id}}:*
|
|
|
|
actions:
|
2019-09-13 18:06:23 +00:00
|
|
|
- post_github_comment:.expeditor/templates/pull_request.mustache:
|
|
|
|
ignore_team_members:
|
|
|
|
- inspec/owners
|
|
|
|
- inspec/inspec-core-team
|
|
|
|
- built_in:github_auto_assign_author:
|
|
|
|
only_if_team_member:
|
|
|
|
- inspec/owners
|
|
|
|
- inspec/inspec-core-team
|
2019-11-28 06:43:27 +00:00
|
|
|
- trigger_pipeline:coverage
|