Skip to content

feat: Support custom branch for chef cookbook publisher

What

The chef-push-cookbook job which is responsible for pushing new cookbooks and opening chef-repo MRs is checked out from the master branch by default.

This patch introduces an environment variable $COOKBOOK_PUBLISHER_BRANCH which allows this to be changed.

Why

This way, experimental changes can be tested in a CI context prior to merging.

See also: gitlab-cookbooks/cookbook-publisher!50 (merged).

refs production-engineering#26499 (closed)

Edited by Igor

Merge request reports

Loading