upload/koji: don't pass task_id to cg_init_build

Contrary to our assumption, we cannot initialize the build with the
link to the task. We can only update the link once the build has
completed.

This seems like a bug in koji, but we keep it like this for now.
This commit is contained in:
Tom Gundersen 2020-09-10 21:35:19 +01:00
parent 9a4c66db03
commit e52830f530
7 changed files with 15 additions and 8 deletions

View file

@ -228,6 +228,7 @@ func RunJob(job worker.Job, store string) (*osbuild.Result, error) {
build := koji.ImageBuild{
BuildID: options.BuildID,
TaskID: options.TaskID,
Name: options.Name,
Version: options.Version,
Release: options.Release,