mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
Merge pull request #5905 from inspec/cw/backport-disable-hab-builds
Temporarily disable habitat builds to unbreak the pipeline - inspec-4
This commit is contained in:
commit
a98fda23fa
1 changed files with 32 additions and 34 deletions
|
@ -12,11 +12,12 @@ rubygems:
|
|||
gemspec_path: ./inspec-bin/
|
||||
|
||||
pipelines:
|
||||
- habitat/build:
|
||||
env:
|
||||
- HAB_NONINTERACTIVE: "true"
|
||||
- HAB_NOCOLORING: "true"
|
||||
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
|
||||
# DISABLE HABITAT BUILDS 2022-03-04
|
||||
# - habitat/build:
|
||||
# env:
|
||||
# - HAB_NONINTERACTIVE: "true"
|
||||
# - HAB_NOCOLORING: "true"
|
||||
# - HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
|
||||
- docker/build
|
||||
- omnibus/release:
|
||||
env:
|
||||
|
@ -36,28 +37,21 @@ pipelines:
|
|||
- SLOW: 1
|
||||
- NO_AWS: 1
|
||||
- MT_CPU: 5
|
||||
- coverage:
|
||||
description: Unit test coverage
|
||||
# Private due to use of tokens
|
||||
trigger: pull_request
|
||||
env:
|
||||
- LANG: "C.UTF-8"
|
||||
- SLOW: 1
|
||||
- NO_AWS: 1
|
||||
- MT_CPU: 5
|
||||
# This has been disabled because it regularly hits Docker API rate limits and fails
|
||||
# - integration/resources:
|
||||
# description: Test core resources with test-kitchen.
|
||||
# definition: .expeditor/integration.resources.yml
|
||||
# trigger: pull_request
|
||||
- artifact/habitat:
|
||||
description: Execute tests against the habitat artifact
|
||||
definition: .expeditor/artifact.habitat.yml
|
||||
env:
|
||||
- HAB_NONINTERACTIVE: "true"
|
||||
- HAB_NOCOLORING: "true"
|
||||
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
|
||||
trigger: pull_request
|
||||
|
||||
# DISABLE HABITAT BUILDS 2022-03-04
|
||||
# - artifact/habitat:
|
||||
# description: Execute tests against the habitat artifact
|
||||
# definition: .expeditor/artifact.habitat.yml
|
||||
# env:
|
||||
# - HAB_NONINTERACTIVE: "true"
|
||||
# - HAB_NOCOLORING: "true"
|
||||
# - HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
|
||||
# trigger: pull_request
|
||||
|
||||
slack:
|
||||
notify_channel: inspec-notify
|
||||
|
@ -114,21 +108,23 @@ subscriptions:
|
|||
ignore_labels:
|
||||
- "Expeditor: Skip Omnibus"
|
||||
- "Expeditor: Skip All"
|
||||
- trigger_pipeline:artifact/habitat:
|
||||
only_if: built_in:bump_version
|
||||
ignore_labels:
|
||||
- "Expeditor: Skip Habitat"
|
||||
- "Expeditor: Skip All"
|
||||
# DISABLE HABITAT BUILDS 2022-03-04
|
||||
# - trigger_pipeline:artifact/habitat:
|
||||
# only_if: built_in:bump_version
|
||||
# ignore_labels:
|
||||
# - "Expeditor: Skip Habitat"
|
||||
# - "Expeditor: Skip All"
|
||||
- trigger_pipeline:omnibus/release:
|
||||
only_if: built_in:bump_version
|
||||
ignore_labels:
|
||||
- "Expeditor: Skip Omnibus"
|
||||
- "Expeditor: Skip All"
|
||||
- trigger_pipeline:habitat/build:
|
||||
only_if: built_in:bump_version
|
||||
ignore_labels:
|
||||
- "Expeditor: Skip Habitat"
|
||||
- "Expeditor: Skip All"
|
||||
# DISABLE HABITAT BUILDS 2022-03-04
|
||||
# - trigger_pipeline:habitat/build:
|
||||
# only_if: built_in:bump_version
|
||||
# ignore_labels:
|
||||
# - "Expeditor: Skip Habitat"
|
||||
# - "Expeditor: Skip All"
|
||||
- built_in:build_gem:
|
||||
only_if:
|
||||
- built_in:bump_version
|
||||
|
@ -140,7 +136,8 @@ subscriptions:
|
|||
- workload: artifact_published:current:inspec:{{version_constraint}}
|
||||
actions:
|
||||
- built_in:promote_docker_images
|
||||
- built_in:promote_habitat_packages
|
||||
# DISABLE HABITAT BUILDS 2022-03-04
|
||||
# - built_in:promote_habitat_packages
|
||||
- workload: project_promoted:{{agent_id}}:*
|
||||
actions:
|
||||
- built_in:promote_artifactory_artifact
|
||||
|
@ -151,7 +148,8 @@ subscriptions:
|
|||
- built_in:publish_rubygems
|
||||
- built_in:create_github_release
|
||||
- built_in:promote_docker_images
|
||||
- built_in:promote_habitat_packages
|
||||
# DISABLE HABITAT BUILDS 2022-03-04
|
||||
# - built_in:promote_habitat_packages
|
||||
- bash:.expeditor/publish-release-notes.sh:
|
||||
post_commit: true
|
||||
- purge_packages_chef_io_fastly:{{target_channel}}/inspec/latest:
|
||||
|
|
Loading…
Reference in a new issue