Gitea: [CI] If one test failed cancle all

Created on 9 Nov 2019  路  3Comments  路  Source: go-gitea/gitea

I often see CI tasks wich already failed but still need recources

Most helpful comment

It should show all failures imo -- if there are 10 failures it doesn't make sense to stop at the first one, fix it, run again, see the 2nd one, fix it, etc...

A majority of the failed builds/resources are by people not running even unit tests locally first as recommended

All 3 comments

It should show all failures imo -- if there are 10 failures it doesn't make sense to stop at the first one, fix it, run again, see the 2nd one, fix it, etc...

A majority of the failed builds/resources are by people not running even unit tests locally first as recommended

@mrsdizzie thought about this point ... problem is make test fail multible times - on local because of missing test settings/requirements ...

  • ...ces/mirror/mirror.go:200:runSync() [E] Failed to synchronize tags to releases for repository: GetTagCommitID: exit status 128 - fatal:
  • models/repo.go:548:mustOwnerName() [E] Error loading repository owner name: user does not exist [uid: 0, name: , keyid: 0]

    • ...s/repo_permission.go:154:func1 -> expected: []int64{} actual : []int64(nil)

.... but I'm looking forward to drone.gitea.com wich more people can cancle manualy ...

The issue with make test is that it runs with tests logging at trace level .

We need to resurrect the use gitea.com log module and then we can initialise the logger with Json

Was this page helpful?
0 / 5 - 0 ratings

Related issues

haytona picture haytona  路  3Comments

lunny picture lunny  路  3Comments

flozz picture flozz  路  3Comments

Fastidious picture Fastidious  路  3Comments

internalfx picture internalfx  路  3Comments