Commit Graph

26 Commits

Author SHA1 Message Date
Azeem Shaikh
d1714a289a
Move the cron job to internal package (#1960)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2022-05-25 15:37:22 -07:00
naveen
2dcdbcd32b 🌱 Track code coverage
Track code coverage
https://github.com/ossf/scorecard/issues/986

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-01-19 16:29:31 -06:00
Azeem Shaikh
de0cfbec9a Add a validation step for goreleaser 2021-11-23 13:08:26 -06:00
Azeem Shaikh
9878c4e61e
Randomize the repos tested during release test (#1299)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-11-18 17:04:07 +00:00
Azeem Shaikh
71e8698617
Add a cron job to copy CII badges data (#1278)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-11-16 04:23:00 +00:00
Azeem Shaikh
66f864022c
Add GitHub token server (#1132)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-10-15 03:03:51 +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
Naveen
3e1890fe35
Binary Artifact check (#563)
* Implemented binary artifact checks
2021-06-21 15:49:31 +00: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
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
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
8c2432bd62
Add worker to the PubSub framework. (#463)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-18 15:18:08 -07:00
naveen
360d6b8381 🌱 e2e tests for cronjob
* Implemented basic e2e tests for cornjob
2021-05-01 16:07:26 -05:00
Naveen
8e352e408a
🌱 Included make targets for update binary (#340)
* Include the build and go mod verify targets to the update binary.
2021-04-13 01:36:45 +00:00
naveen
7622cea5a6 🌱 updated the makefile to include scripts and cron
Updated the makefile to include scripts and cron.
2021-03-22 11:42:18 -04:00
naveen
688dc5e6c7 Refactor cron job
* Refactored cron job from shell script to go.
* Included metadata to the projects.txt for envoy
* Included checks for duplicate item in projects.txt
* Sorted the projects.txt so that it is easier for someone to look for a
project
2021-03-21 22:31:07 -04:00
naveen
abb06c9dbc feat- Reorganize the code structure
Reorganize the code structure for testing and maintenance.

Feat - Included http endpoint
2021-03-04 19:08:47 -05:00
Naveen
3e979657bf
Implemented docker for gitcache (#231)
* Implemented caching the git folder instead of just a branch.
Implemented logging.
Refactored code.

* Feat - Implemented docker for gitcache
2021-03-04 03:22:17 +00:00
naveen
6f2a0f43f4 Fix - Output path for the test runs 2021-02-25 15:59:39 -05:00
Naveen
db81680172
Feat-Implement httpcache middleware for GitHub API (#203)
The GitHub API supports conditional requests
https://docs.github.com/en/rest/overview/resources-in-the-rest-api#conditional-requests

https://github.com/google/go-github supports Conditional requests
https://github.com/google/go-github#conditional-requests

As we are scaling more and more projects this would add a lot of value.

Initial run fetches information using `httpcache` as a middleware,
which caches the HTTP response initially in a large disk (PVC),
probably move to Redis later as a cache instead of disk.

Subsequent `cron runs` will utilize the `httpcache` for checking content modification and
load it from the cache if it isn't modified, which reduces the hitting the
Rate Limit of the GitHub API.
2021-02-22 17:18:28 +00:00
Nathan
554ca76bfe Fix - golangci issues gomnd, goconst
Fixed the golangci issues for gomnd and goconst.
Added ginkgo dependency in the makefile.
2021-02-17 18:22:18 -05:00
naveen
af2132e927 Fix- e2e tests to include the executable
Included e2e tests for the executable with JSON
2021-02-14 11:46:17 -05:00
naveen
2a1463b315 Feature - Report codecoverage to codecov.io 2021-01-26 17:49:11 -05:00
naveen
a56f707350 Feat - Implemented Makefile and actions for PR
Implemented Makefile and actions for PR and push to validate fmt, go mod
tidy , go build and go test
2020-12-22 16:51:24 -05:00
Abhishek Arya
dbcfdfa0af Validate checks and improve docs. 2020-10-16 07:54:29 -07:00
Dan Lorenc
3ee3c748e9 Initial commit. 2020-10-09 10:08:43 -05:00