ci: resume habitat pipeline (#7109)

* ci: resume habitat pipeline and see what breaks

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* temporarily comment bump_version to see if pipeline is getting created

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* comment trigger condition for habitat pipeline

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* add temporary pipeline

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
Sonu Saha 2024-08-05 16:03:50 +05:30 committed by GitHub
parent e7aa7c535a
commit 345f3e77af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,10 +12,28 @@ rubygems:
gemspec_path: ./inspec-bin/ gemspec_path: ./inspec-bin/
pipelines: pipelines:
- habitat/build:
env:
- HAB_NONINTERACTIVE: "true"
- HAB_NOCOLORING: "true"
- HAB_STUDIO_SECRET_HAB_NONINTERACTIVE: "true"
# - docker/build
- 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
- verify: - verify:
definition: .expeditor/verify_public_dummy.pipeline.yml definition: .expeditor/verify_public_dummy.pipeline.yml
description: Keeping the verify pipeline alive to preserve the history description: Keeping the verify pipeline alive to preserve the history
public: true public: true
- verify_temp:
definition: .expeditor/verify_public_dummy.pipeline.yml
description: Keeping the verify pipeline alive to preserve the history
public: true
- verify/private: - verify/private:
definition: .expeditor/verify_private.pipeline.yml definition: .expeditor/verify_private.pipeline.yml
public: false public: false
@ -117,9 +135,28 @@ subscriptions:
ignore_labels: ignore_labels:
- "Expeditor: Skip Omnibus" - "Expeditor: Skip Omnibus"
- "Expeditor: Skip All" - "Expeditor: Skip All"
- trigger_pipeline:artifact/habitat:
# 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"
- built_in:build_gem: - built_in:build_gem:
only_if: only_if:
- built_in:bump_version - built_in:bump_version
# - workload: artifact_published:unstable:inspec:{{version_constraint}}
# actions:
# - trigger_pipeline:docker/build
# - bash:.expeditor/buildkite/wwwrelease.sh:
# post_commit: true
# - workload: artifact_published:current:inspec:{{version_constraint}}
# actions:
# - built_in:promote_docker_images
# - built_in:promote_habitat_packages
- workload: project_promoted:{{agent_id}}:* - workload: project_promoted:{{agent_id}}:*
actions: actions:
- built_in:promote_artifactory_artifact - built_in:promote_artifactory_artifact
@ -128,6 +165,7 @@ subscriptions:
- built_in:rollover_changelog - built_in:rollover_changelog
- built_in:publish_rubygems - built_in:publish_rubygems
- built_in:create_github_release - built_in:create_github_release
- built_in:promote_habitat_packages
- bash:.expeditor/publish-release-notes.sh: - bash:.expeditor/publish-release-notes.sh:
post_commit: true post_commit: true
- purge_packages_chef_io_fastly:{{target_channel}}/inspec/latest: - purge_packages_chef_io_fastly:{{target_channel}}/inspec/latest: