Cake.BuildSystems.Module icon indicating copy to clipboard operation
Cake.BuildSystems.Module copied to clipboard

In GitLab CI, render Cake tasks as collapsible sections

Open ap0llo opened this issue 1 year ago • 0 comments

Extends the module for GitLab CI with a custom CakeEngine that adds collapsible sections to the GitLab CI log (analogous to the groups in GitHubActionsEngine)

See Also: https://docs.gitlab.com/ee/ci/yaml/script.html#custom-collapsible-sections

I tried this out in a sample GitLab project and with the engine enabled, the output looks like this

image

  • Task-1 and Task-2 are Cake tasks and rendered as collapsible section
  • The build setup and teardown are rendered as sections as well
  • By default, all sections are expanded. In the screenshot, I collapsed everything manually except for the output of Task-2

ap0llo avatar Aug 30 '24 20:08 ap0llo