Commit Graph

100 Commits

Author SHA1 Message Date
Naveen
4d7fb5d748
🌱 Fix the go.mod with v2 upgrade (#716)
The go.mod and the related files weren't t updated with the v2 upgrade.

https://github.com/ossf/scorecard/issues/711

This fix will address the issue.
2021-07-26 13:01:25 -05:00
Azeem Shaikh
f0e4a0b37e
Add more projects to the release test (#749)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-25 18:20:54 -07:00
Azeem Shaikh
7c133bc767
Create APIs for MergedPRs and DefaultBranch (#745)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-25 17:37:14 -07:00
Azeem Shaikh
a1502dd51a
Add e2e release tests for cron job (#734)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-22 14:16:10 -07:00
laurentsimon
ab4bb60c9c
[migration to score] 1: create errors and new functions (#712)
* details-1

* comment

* doc

* nits

* typo

* commments

* nit

* linter
2021-07-20 11:36:35 -07:00
Azeem Shaikh
35267c2514
PubSub integration test framework (#706)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-18 17:33:45 -07:00
Oliver Chang
7a301f14d9
Add some new projects. (#702)
Co-authored-by: Abhishek Arya <inferno@chromium.org>
2021-07-16 15:48:13 +00:00
naveen
885bdde5f0 🌱 Remove gitcache folder 2021-07-13 09:40:17 -05:00
naveen
219404e0b7 🌱 Removing gitcache
Removing gitcache
2021-07-13 01:03:21 -05:00
Azeem Shaikh
2c2432b9df
Fix some bugs (#659)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-07 15:04:43 +00:00
Azeem Shaikh
aab6c217cc
Add monitoring to measure remaining Github tokens (#652)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-04 14:42:21 -07:00
Azeem Shaikh
d81fd24246
Add ListFiles and GetFileContent APIs (#637)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-30 23:49:49 -07:00
dependabot[bot]
5dd7f118ae
🌱 Bump github.com/golangci/golangci-lint from 1.40.1 to 1.41.1 (#627)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.40.1 to 1.41.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.40.1...v1.41.1)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Azeem Shaikh <azeems@google.com>
Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
2021-06-29 10:26:16 -07:00
Azeem Shaikh
1f1e05b22c
Add metadata Google for Google-owned repos (#616)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-27 09:04:00 -07:00
Azeem Shaikh
9266f97ee9
Add monitoring for Scorecard errors (#597)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-21 15:38:50 -07:00
Azeem Shaikh
7861478e1a
Add error handling to RunScorecard fn (#595)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-20 23:31:10 -07:00
Azeem Shaikh
db02490da4
50k cron repos and allow skipping 404 URLs (#591)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-18 16:00:08 -07:00
Azeem Shaikh
0b62c58704
Add v0 of RepoClient interface (#587)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-17 13:21:32 -07:00
Azeem Shaikh
92677860bc
Continous pprof for monitoring runtime profiles (#582)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-16 14:31:46 -07:00
Azeem Shaikh
6df8b67bcf
Add a BQ data transfer cron job (#570)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-14 16:25:32 -07:00
Azeem Shaikh
d9cc439cac
Use RollingUpdate strategy for cron worker job (#577)
Co-authored-by: Azeem Shaikh <azeems@google.com>
Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
2021-06-14 12:38:28 -07:00
asraa
b7ca0d9d1f
🐛 fix and result of multicheck (#571)
* fix multicheckand

Signed-off-by: Asra Ali <asraa@google.com>

* address comments

Signed-off-by: Asra Ali <asraa@google.com>
2021-06-14 18:00:54 +00:00
Azeem Shaikh
a5b53c693a
Add CPU profile to cron worker (#576)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-14 10:09:23 -07:00
Azeem Shaikh
77b8dbc2fb
Update cron job schedule. (#572)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-13 21:12:57 -07:00
Azeem Shaikh
1796af5175
Add projects to Cron job from criticality_score (#569)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-13 18:57:16 -07:00
Azeem Shaikh
c06f89af83
Script to add new projects to projects.csv file (#567)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-10 13:24:33 -07:00
Azeem Shaikh
f9a72fa225
Register RepoRuntime View in PubSub worker. (#565)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-09 18:21:34 -07:00
Azeem Shaikh
88f645bb76
Add per-repo CPU stats (#562)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-09 14:18:40 -07:00
laurentsimon
8c87ab7647
add my test repo (#557) 2021-06-09 00:49:09 +00:00
Azeem Shaikh
95362cceba
Reduce cardinality of OpenCensus stats (#556)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-08 17:34:57 -07:00
Azeem Shaikh
09e86518e5
Add all Google-owned repositories to cron job (#555)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-08 16:55:43 -07:00
Azeem Shaikh
986127ccc7
Fix issues with PubSub worker (#553)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-07 11:44:15 -07:00
Azeem Shaikh
93a47e678d
Poll Pubsub worker until message is received (#536)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-03 10:58:37 -07:00
Azeem Shaikh
3b86d57217
Use lease extension for PubSub worker (#533)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-02 17:59:42 -07:00
Azeem Shaikh
030bc90932
Remove daily cron job from codebase (#530)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-02 14:27:09 -07:00
Azeem Shaikh
b8770abe34
Use prod tokens for the PubSub cron (#528)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-01 17:32:32 -07:00
Azeem Shaikh
4ca4e31645
Add metric monitoring support to PubSub cron (#527)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-01 16:17:36 -07:00
Azeem Shaikh
7b4ee9bc9f
Factory for OpenCensus Exporter to use in tests (#526)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-01 15:53:49 -07:00
laurentsimon
a402f73197
Add cron github projects (#517)
* 1) add more critical projects, 2) sort the entries, 3) add test remediation repo

* validate

* comments

Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
2021-05-30 20:37:42 -04:00
Chris McGehee
524a187b31 Add new linter: errorlint 2021-05-30 13:12:42 -04:00
Azeem Shaikh
be8aa3d713
Export registered check names (#518)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-27 14:54:34 -07:00
Azeem Shaikh
34fccb60b4
Bug fixes and additional logs for PubSub worker (#507)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-25 15:12:47 -07:00
Azeem Shaikh
638a5f80f8
Add options to Stackdriver exporter (#505)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-25 09:04:59 -07:00
Azeem Shaikh
400b815157
Off-by-one error in shardNum (#504)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-24 18:14:30 -07:00
Azeem Shaikh
72580f87f5
Fix bug in Dockerfile (#502)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-24 17:56:36 -07:00
Azeem Shaikh
de28c3c046
Cleanup PubSub deployment (#501)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-24 16:34:48 -07:00
Azeem Shaikh
437b6a879a
Limit number batched data points in Stackdriver (#500)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-24 14:37:27 -07:00
Azeem Shaikh
4d3c359fff
Add k8s file for PubSub jobs (#494)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-24 11:55:55 -07:00
Chris McGehee
6b63f3f963
🌱 Fix lint issues: Replace golint with revive (#493)
* Fix lint issues: Replace golint with revive
golint is deprecated and recommended to be replaced with revive

* Updating comments to be more accurate

* Updating comments again

Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
2021-05-24 11:34:33 -07:00
Chris McGehee
2d9a23b4bd
Add new linter: makezero (#497)
I think this fixed a bug where pkg.RunScorecards was being run for empty repoURLs

Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
2021-05-24 11:19:37 -07:00