Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cron/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ additional-params:
prefix-file:

scorecard:
# for sending PURGE requests to CDN
api-base-url: https://api.scorecard.dev
# API results bucket
api-results-bucket-url: gs://ossf-scorecard-cron-results
# TODO: Temporarily remove SAST and CI-Tests which require lot of GitHub API tokens.
Expand Down
2 changes: 2 additions & 0 deletions cron/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const (
prodInputBucketURL = "gs://ossf-scorecard-input-projects"
prodInputBucketPrefix = ""
prodInputBucketPrefixFile = ""
prodAPIBaseURL = "https://api.scorecard.dev"
)

var (
Expand All @@ -54,6 +55,7 @@ var (
"prefix-file": prodInputBucketPrefixFile,
}
prodScorecardParams = map[string]string{
"api-base-url": prodAPIBaseURL,
"api-results-bucket-url": prodAPIBucketURL,
"blacklisted-checks": prodBlacklistedChecks,
"cii-data-bucket-url": prodCIIDataBucket,
Expand Down
2 changes: 1 addition & 1 deletion cron/k8s/worker.release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
- name: "SCORECARD_API_RESULTS_BUCKET_URL"
value: "gs://ossf-scorecard-cron-releasetest-results"
- name: "SCORECARD_API_BASE_URL"
value: "https://cdn.scorecard.dev"
value: "https://api-staging.scorecard.dev"
volumeMounts:
- name: config-volume
mountPath: /etc/scorecard
Expand Down
5 changes: 5 additions & 0 deletions cron/k8s/worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ spec:
secretKeyRef:
name: gitlab
key: auth_token
- name: FASTLY_PURGE_TOKEN
valueFrom:
secretKeyRef:
name: fastly
key: purge_token
volumeMounts:
- name: config-volume
mountPath: /etc/scorecard
Expand Down
Loading