Commit Graph

146 Commits

Author SHA1 Message Date
laurentsimon
617820706c
Update cron's JSON format (#1001)
* JSON2 for cron

* fixes

* linter

* fix
2021-09-13 21:55:06 +00:00
Azeem Shaikh
e730e911e6
sce.Create -> sce.WithMessage for wrapcheck (#995)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-09-10 15:50:33 +00:00
neil465
5476b878bd
Removed unnecessary linters (#969)
* gomnd
* prealloc
* dupl
2021-09-07 10:45:12 -04:00
dependabot[bot]
f2209240a7 🌱 Bump distroless/base in /cron/worker
Bumps distroless/base from `19d927c` to `a74f307`.

---
updated-dependencies:
- dependency-name: distroless/base
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:28:54 -05:00
dependabot[bot]
b847d54c66
🌱 Bump distroless/base in /cron/controller (#961)
Bumps distroless/base from `19d927c` to `a74f307`.

---
updated-dependencies:
- dependency-name: distroless/base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
2021-09-03 15:27:17 +00:00
Azeem Shaikh
830c4f57db
100k cron job repos (#958)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-09-02 19:31:55 +00:00
Azeem Shaikh
afe5b40567
Make RepoClient as default interface for Scorecard (#951)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-09-02 02:32:26 +00:00
laurentsimon
8f5e742e20
Improve JSON format (#934)
* support for verison

* fix

* fix

* linter

* typo

* fix
2021-09-01 17:29:40 +00:00
dependabot[bot]
992775e641
🌱 Bump distroless/base in /cron/webhook (#946)
Bumps distroless/base from `19d927c` to `a74f307`.

---
updated-dependencies:
- dependency-name: distroless/base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
2021-09-01 16:26:27 +00:00
Azeem Shaikh
d6b601298c
Specify fractions instead of percentage (#943)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-09-01 01:23:07 +00:00
laurentsimon
bb6e010dc1
Decouple scorecard json from cron json (#941)
* decouple

* linnter
2021-08-31 15:27:29 -07:00
Azeem Shaikh
ee6acdd6a6
Syntax bug in k8s file (#931)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-30 03:47:04 +00:00
dependabot[bot]
915bad8222 🌱 Bump distroless/base in /cron/worker
Bumps distroless/base from `bc84925` to `19d927c`.

---
updated-dependencies:
- dependency-name: distroless/base
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-29 23:25:01 -04:00
dependabot[bot]
95c2df2faa
🌱 Bump distroless/base from bc84925 to 19d927c in /cron/bq (#926)
Bumps distroless/base from `bc84925` to `19d927c`.

---
updated-dependencies:
- dependency-name: distroless/base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
2021-08-30 02:31:36 +00:00
Azeem Shaikh
c1edcea194
Use a completion threshold for BQ transfers (#930)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-29 18:45:22 -07:00
dependabot[bot]
d9b4188d08 🌱 Bump distroless/base in /cron/webhook
Bumps distroless/base from `bc84925` to `19d927c`.

---
updated-dependencies:
- dependency-name: distroless/base
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 08:43:15 -05:00
dependabot[bot]
5b74c04e73 🌱 Bump distroless/base in /cron/controller
Bumps distroless/base from `bc84925` to `19d927c`.

---
updated-dependencies:
- dependency-name: distroless/base
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 17:27:54 -05:00
Azeem Shaikh
1c7c1e3c31
Fix bug in shardNum calculation (#910)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-25 19:08:03 +00:00
Azeem Shaikh
2d65ab4f0c
Remove ErrRepoUnavailable (#908)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-25 09:33:59 -07:00
Azeem Shaikh
b89808ff8c
Pin protoc by SHA (#909)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-25 15:54:10 +00:00
Azeem Shaikh
41d0ce38c4
Replace errors.As with Is (#901)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-25 01:03:45 +00:00
Azeem Shaikh
aea12496c5
Add ephemeral-storage to cron worker (#885)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-23 22:27:03 +00:00
laurentsimon
276155d1eb
SARIF 4: Add support to output SARIF format (#866)
* draft1

* draft2

* draft

* draft 3

* typos

* unit tests

* fixes

* fixes

* related locs

* fixes

* version

* fixes

* linter/fix

* fixes

* linter

* gofmt -s
2021-08-23 21:31:33 +00:00
Azeem Shaikh
bb70e15bfb
Remove token-heavy checks from cron job (#882)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-23 17:38:03 +00:00
Azeem Shaikh
b7c0d03b25
Handle GitHub repos with redirects (#876)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-21 20:45:57 -07:00
Azeem Shaikh
1c9a255642
Update docs to use :stable release (#865)
Co-authored-by: Azeem Shaikh <azeems@google.com>
Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
2021-08-18 15:41:20 +00:00
laurentsimon
23764f0168
Upload cron results to a table with new format (#830)
* add json2 function

* asJSON2

* url2

* draft

* root

* tables and bucket

* fix

* comments

* new transfer instances

* comments

* rename files

* update k8 names

* typo

* fizes

* linter
2021-08-16 16:38:41 +00:00
Azeem Shaikh
b7ddc9ac93
Update go-github version for consistency (#852)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-13 00:43:22 +00:00
Azeem Shaikh
29fbdae1af
Enable automated e2e testing and releases (#850)
Co-authored-by: Azeem Shaikh <azeems@google.com>
Co-authored-by: Abhishek Arya <inferno@chromium.org>
2021-08-12 21:44:54 +00:00
Azeem Shaikh
7790d70119
Use consistent golang image across Dockerfiles (#847)
Co-authored-by: Azeem Shaikh <azeems@google.com>
Co-authored-by: Abhishek Arya <inferno@chromium.org>
2021-08-12 16:54:32 +00:00
Azeem Shaikh
977c2b8657
Log runtime failures in cron job (#840)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-11 18:54:40 +00:00
Azeem Shaikh
4fcb0a392e
Fix a bug in flag parsing (#836)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-11 15:40:53 +00:00
Azeem Shaikh
0561c15f21
Post to webhook on successful cron job completion (#829)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-11 02:36:57 +00:00
Azeem Shaikh
bc67dd306a
Create a webhook for tagging Docker images (#828)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-11 01:45:01 +00:00
Azeem Shaikh
2931d91e23
Fix typo (#819)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-06 23:45:22 +00:00
Azeem Shaikh
7f71928daa
Generate .shard_metadata file in cron job shard (#814)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-06 18:07:42 +00:00
Azeem Shaikh
d58fd2d927
Add CloudBuild config for CronJob (#813)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-05 20:03:26 -07:00
Azeem Shaikh
df3c8663e9
Use a single image for worker and controller (#810)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-04 00:18:22 +00:00
Azeem Shaikh
08cc3c6202
Rollout worker whenever controller starts (#808)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-03 20:50:30 +00:00
Azeem Shaikh
388c3aeaad
Add a BQ transfer job for releasetest (#790)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-01 16:45:57 +00:00
Azeem Shaikh
251a6c4ac8
Linter fix (#795)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-01 10:59:30 -04:00
Azeem Shaikh
6368c25f54
More linter issues (#794)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-01 03:42:14 +00:00
Azeem Shaikh
83e9f52501
Enable revive linters which are used in google3 (#793)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-31 22:31:34 +00:00
Azeem Shaikh
d045a6655f
Catch RuntimeErrors in release testing (#791)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-30 19:13:17 +00:00
Azeem Shaikh
d19d436294
Update release test cron job (#778)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-29 21:08:48 +00:00
Azeem Shaikh
df89767c35
Fix bug in SecurityPolicy (#761)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-29 20:09:56 +00:00
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