Commit Graph

16 Commits

Author SHA1 Message Date
Dmitry Vyukov
b712935571 tools/check-commits.sh: fix commit range detection
We currently check from github.event.pull_request.base.sha
to github.event.pull_request.head.sha, but they may be in
different branches if the PR commits are branched not from
the latest master HEAD (at the time of PR creation).
Then GH will create a merge commit, and the range we try
to check is not valid.

Check github.event.pull_request.commits commits backwards
from github.event.pull_request.head.sha commit.
2020-08-05 09:18:56 +02:00
Dmitry Vyukov
d895b3be2c .github/workflows: check commit description format
Check PR commit subjects for the standard format we use "pkg/name: description of the change".
Check PR commit bodies for at most 120 characters.
2020-07-31 17:22:18 +02:00
Dmitry Vyukov
4f739670f7 .github/CODEOWNERS: assign vendor/ changes to dvyukov
Currently vendor updates assign all OS reviewers b/c they mention *bsd files.
Override this with assigning all vendor/ to dvyukov.
2020-07-04 12:04:37 +02:00
Dmitry Vyukov
2e1749a138 CODEOWNERS: remove * entry
Github started adding me as reviewer on all PRs.
This is quite inconvinient because I can't figure out
if author really wants my review, or I was added just because of
the * entry. And then I can't remove myself.
Since I am looking at all PRs anyway, let's try without the * entry.
2020-06-17 17:22:57 +02:00
Dmitry Vyukov
2a22c77acf .github: add CODEOWNERS
This should automatically assign reviewers/cc corresponding developers.
Add codeowners for OSes for which we have committers.

For details see:
https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
2020-06-14 12:06:43 +02:00
Dmitry Vyukov
1de720878f .github/workflows: support errors from golangci-lint
If there are compilation errors in tests, golangci-lint
produces then in the following format:

level=warning msg="[runner] Can't run linter unused: buildssa: analysis skipped: errors in package: [/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/mab_reward_test.go:26:35: cannot use rawCov (variable of type []float64) as float64 value in argument to status.Reward.RawAllTasks.Update /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/mab_reward_test.go:26:43: cannot use rawTime (variable of type []float64) as float64 value in argument to status.Reward.RawAllTasks.Update /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/mab_reward_test.go:27:38: cannot use totalReward (variable of type []float64) as float64 value in argument to status.Reward.RewardAllTasks.Update /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/mab_reward_test.go:33:2: reward declared but not used]"

Transform this to github format.
2020-06-05 12:23:19 +02:00
Dmitry Vyukov
7c84a90501 .github/workflows: support errors without :column
Also transform:

file.go:line: error message

to the github format.
2020-06-05 12:23:19 +02:00
Dmitry Vyukov
52fd7b7d77 tools: add syz-big-env
On top of syz-env it provides akaros/fuchsia/netbsd toolchains and gcloud sdk.
With this it's possible to run dashboard/app tests on CI and locally
and test executor build and pkg/{csource,cover} for these OSes.

Update #1765
2020-06-02 13:39:30 +02:00
Dmitry Vyukov
ac61eb2b12 .github/workflows: remove redundant step status check
According to docs, this is the default.
2020-05-19 12:52:04 +02:00
Dmitry Vyukov
24d9114275 .github/workflows: add CI workflow
Switch from Travis to Github Actions for testing.
This is faster and is better integrated with github.

Update #1699
2020-05-18 11:34:42 +02:00
Dmitry Vyukov
ec15ba17be .github/workflows: rename oss-fuzz workflow 2020-05-18 11:34:42 +02:00
Dmitry Vyukov
5602faa9ba .github/workflows: disable OSS-Fuzz action for now
It's broken:
https://github.com/google/oss-fuzz/issues/3670
2020-04-19 10:26:57 +02:00
Leo Neat
81230308c6
CIFuzz: update config file
* Update CIFuzz config

* Update CIFuzz config
2020-02-20 07:22:42 +01:00
Leo Neat
8de037321c
CIFuzz: surface error logs and test case on failure
* UX update

* Turning dry_run off

* Changing zip output to artifacts
2020-02-11 18:19:35 +01:00
Leo Neat
06150bf1b3 Update workflow to reflect new CIFuzz format 2020-02-07 00:15:47 +01:00
Leo Neat
662cf49ae3 Adding action to workflow 2020-02-05 14:29:19 +01:00