"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "service/status/status.go" between
drone-2.15.0.tar.gz and drone-2.16.0.tar.gz

About: Drone is a Continuous Delivery system built on (docker) container technology.

status.go  (drone-2.15.0):status.go  (drone-2.16.0)
skipping to change at line 87 skipping to change at line 87
State: convertStatus(req.Build.Status), State: convertStatus(req.Build.Status),
Target: fmt.Sprintf("%s/%s/%d", s.base, req.Repo.Slu g, req.Build.Number), Target: fmt.Sprintf("%s/%s/%d", s.base, req.Repo.Slu g, req.Build.Number),
Environment: req.Build.Deploy, Environment: req.Build.Deploy,
}) })
return err return err
} }
_, _, err = s.client.Repositories.CreateStatus(ctx, req.Repo.Slug, req.Bu ild.After, &scm.StatusInput{ _, _, err = s.client.Repositories.CreateStatus(ctx, req.Repo.Slug, req.Bu ild.After, &scm.StatusInput{
Title: fmt.Sprintf("Build #%d", req.Build.Number), Title: fmt.Sprintf("Build #%d", req.Build.Number),
Desc: createDesc(req.Build.Status), Desc: createDesc(req.Build.Status),
Label: createLabel(s.name, req.Build.Event), Label: createLabel(s.name, req.Build.Event, req.Build.Deploy),
State: convertStatus(req.Build.Status), State: convertStatus(req.Build.Status),
Target: fmt.Sprintf("%s/%s/%d", s.base, req.Repo.Slug, req.Build. Number), Target: fmt.Sprintf("%s/%s/%d", s.base, req.Repo.Slug, req.Build. Number),
}) })
if err == scm.ErrNotSupported { if err == scm.ErrNotSupported {
return nil return nil
} }
return err return err
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)