Skip to content

Comments

Add simple Add* recipes for GitLab CI/CD best practices#34

Open
scuba10steve wants to merge 1 commit intomainfrom
scuba10steve/simple-add-recipes
Open

Add simple Add* recipes for GitLab CI/CD best practices#34
scuba10steve wants to merge 1 commit intomainfrom
scuba10steve/simple-add-recipes

Conversation

@scuba10steve
Copy link
Collaborator

@scuba10steve scuba10steve commented Feb 20, 2026

Summary

  • Adds four simple Add* recipes that wrap MergeYaml to set common defaults in .gitlab-ci.yml

  • AddInterruptible — sets interruptible: true in default: or a named job

  • AddTimeout — sets a timeout: duration

  • AddArtifactsExpireIn — sets artifacts: expire_in: to prevent storage bloat

  • AddDefaultKeyword — generic recipe to add any keyword/value under default:

  • All support optional jobName and acceptTheirs parameters

  • Includes full test coverage for each recipe

  • Closes Add simple Add* recipes for GitLab CI/CD best practices #33

Test plan

  • ./gradlew build passes (compiles, all tests green, CSV validation passes)
  • recipes.csv contains only the 4 new recipes (plus pre-existing ones)
  • Review each recipe's @DocumentExample test for correctness

Add four new recipes that wrap MergeYaml to set common defaults in
.gitlab-ci.yml: AddInterruptible, AddTimeout, AddArtifactsExpireIn,
and AddDefaultKeyword. Each supports optional jobName and acceptTheirs.

Closes #33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Add simple Add* recipes for GitLab CI/CD best practices

1 participant