You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had a user attempt to trigger the first build on a new repo in Vela with the following pipeline:
# For more details on templates, see the vela docs:# https://go-vela.github.io/docs/templates/# https://go-vela.github.io/docs/reference/yaml/templates/# https://go-vela.github.io/docs/templates/tutorials/go/# use the @branch-name override when testing# templates:# - name: example# source: .vela.template.yml# type: filestages:
demo:
steps:
- name: demotemplate:
name: example
NOTE: The demo step isn't valid because the example template is commented out.
So, when Vela went to create the build for the pipeline in the system, it led to this error shown on the Builds page:
NOTE: This error message is a bit misleading since a template is involved but that is a different problem.
The actual bug is that Vela didn't update the repo counter for this build leading to a broken state.
Without admin intervention, subsequent commits to the repo show this error on the Audit page:
This is because the counter is stuck at 0 for the repo while the actual number of builds for the repo is 1.
The workaround is to manually update the counter on the Settings page from 0 -> 1.
Value
A repo doesn't end up in a broken state that requires a repo or platform admin to resolve
Description
We had a user attempt to trigger the first build on a new repo in Vela with the following pipeline:
So, when Vela went to create the build for the pipeline in the system, it led to this error shown on the
Builds
page:The actual bug is that Vela didn't update the repo
counter
for this build leading to a broken state.Without admin intervention, subsequent commits to the repo show this error on the
Audit
page:This is because the counter is stuck at
0
for the repo while the actual number of builds for the repo is1
.The workaround is to manually update the counter on the
Settings
page from0
->1
.Value
A repo doesn't end up in a broken state that requires a repo or platform admin to resolve
Useful Information
vela --version
?v0.20.3
https://www.flatcar.org/
N/A
The text was updated successfully, but these errors were encountered: