A pin PR keeps a long quoted image pin on one line, so the next release finds it #158
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/pipeline-templates!158
Loading…
Reference in a new issue
No description provided.
Delete branch "pin-yaml-line-width"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
chess-tactics' release v0.1.541 never deployed: its publish step failed with "pinFile contains no existing image pin". The previous pin PR (chess-tactics #1001) rewrote
k8s/values.yamlthrough the yaml library'sdocument.toString(), which folds scalars at 80 columns by default, so the quotedtag: "romainecr.azurecr.io/chess-tactics:v0.1.540@sha256:…"was split across two lines with a backslash continuation. The next release's pin pattern matches one line, so it found no pin.Changed:
suites/cluster-service/pin-fields.mjswrites the document withlineWidth: 0, so a pin of any length stays on one line. A test pins a quoted chess-tactics reference twice.Not changed: the pattern that finds a pin. chess-tactics' already-folded line is unfolded in its own repo.
Work package: https://openproject.home.romaine.life/wp/PIPT-12
merge-queue stopped this at
28e0e6d: conflicts with main. Push a fix, or once it is fixed outside this pull request, remove and re-add thequeuelabel.Pull request closed