-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload build_annotations.json from Tekton results
CLOUDBLD-8889 Due to unstable behavior of updating annotations on Tekton PipelineRun objects, using build annotations to generate build_annotations.json is not reliable. Instead, generate build_annotations.json from Tekton results. Drop the concept of an annotations whitelist, simply hardcode the list of results to be uploaded. For backward compatibility, keep the build_annotations.json name even though the file now contains Tekton results rather than annotations. The file used to contain raw values of annotations - usually JSON-encoded strings. Encode result values explicitly to preserve the same format. Signed-off-by: Adam Cmiel <acmiel@redhat.com>
- Loading branch information
Showing
2 changed files
with
20 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters