Skip to content

Commit

Permalink
expeditor config updates
Browse files Browse the repository at this point in the history
Signed-off-by: Ashique Saidalavi <[email protected]>
  • Loading branch information
ashiqueps committed Sep 11, 2024
1 parent 53c28e0 commit 518b53c
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 32 deletions.
51 changes: 51 additions & 0 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Documentation available at https://expeditor.chef.io/docs/getting-started/
---
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
notify_channel: chef-ws-notify

# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
- test-kitchen

github:
# This deletes the GitHub PR branch after successfully merged into the release branch
delete_branch_on_merge: true
# The tag format to use (e.g. v1.0.0)
version_tag_format: "v{{version}}"
# allow bumping the minor release via label
minor_bump_labels:
- "Expeditor: Bump Version Minor"
# allow bumping the major release via label
major_bump_labels:
- "Expeditor: Bump Version Major"

Check failure on line 21 in .expeditor/config.yml

View check run for this annotation

Chef Expeditor / Expeditor Config Validation

.expeditor/config.yml#L11-L21

Version file does not exist at <root_dir>/VERSION or where version_file specifies

changelog:
rollup_header: Changes not yet released to rubygems.org

subscriptions:
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
- workload: pull_request_merged:{{github_repo}}:{{release_branch}}:*
actions:
- built_in:bump_version:
ignore_labels:
- "Expeditor: Skip Version Bump"
- "Expeditor: Skip All"
- bash:.expeditor/update_version.sh:
only_if: built_in:bump_version
- built_in:update_changelog:
ignore_labels:
- "Expeditor: Skip Changelog"
- "Expeditor: Skip All"
- built_in:build_gem:
only_if: built_in:bump_version

- workload: project_promoted:{{agent_id}}:*
actions:
- built_in:rollover_changelog
- built_in:publish_rubygems

pipelines:
- verify:
description: Pull Request validation tests
public: true
64 changes: 32 additions & 32 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,38 @@ expeditor:
timeout_in_minutes: 30

steps:
- label: run-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh rake test
expeditor:
executor:
docker:
image: ruby:3.1
- label: run-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh rake test
expeditor:
executor:
docker:
image: ruby:3.1

#- label: run-specs-windows-ruby-3.1
# command:
# - powershell .expeditor/run_windows_tests.ps1 rspec
# expeditor:
# executor:
# docker:
# host_os: windows
# shell: ["powershell", "-Command"]
# image: rubydistros/windows-2019:3.1
# - label: run-specs-windows-ruby-3.1

Check warning on line 21 in .expeditor/verify.pipeline.yml

View workflow job for this annotation

GitHub Actions / yamllint

21:1 [comments-indentation] comment not indented like content
# command:
# - powershell .expeditor/run_windows_tests.ps1 rspec
# expeditor:
# executor:
# docker:
# host_os: windows
# shell: ["powershell", "-Command"]
# image: rubydistros/windows-2019:3.1

- label: run-specs-ruby-3.3
command:
- .expeditor/run_linux_tests.sh rspec
expeditor:
executor:
docker:
image: ruby:3.3
- label: run-specs-ruby-3.3
command:
- .expeditor/run_linux_tests.sh rake test
expeditor:
executor:
docker:
image: ruby:3.3

#- label: run-specs-windows-ruby-3.3
# command:
# - powershell .expeditor/run_windows_tests.ps1 rspec
# expeditor:
# executor:
# docker:
# host_os: windows
# shell: ["powershell", "-Command"]
# image: rubydistros/windows-2019:3.3
# - label: run-specs-windows-ruby-3.3
# command:
# - powershell .expeditor/run_windows_tests.ps1 rspec
# expeditor:
# executor:
# docker:
# host_os: windows
# shell: ["powershell", "-Command"]
# image: rubydistros/windows-2019:3.3

0 comments on commit 518b53c

Please sign in to comment.