Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add now-required env vars to docs and minimal.env.json #1083

Merged
merged 1 commit into from
Apr 4, 2024
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 docs/rampup.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Better to use a copy of the real dev environment, can change queue names to be y
- "CURATION_GITHUB_REPO"
- "CURATION_GITHUB_TOKEN"
- "CRAWLER_GITHUB_TOKEN"
- "WEBHOOK_GITHUB_SECRET"
- "WEBHOOK_CRAWLER_SECRET"
- "SCANCODE_HOME"
5. Any other environmental variable values you might need can be found in the Clearly Defined subscription in Azure Portal under App Services -> clearlydefined-api-dev -> Settings -> Configuration
6. Consider all the vars and what you need for testing what you will test.
Expand Down
4 changes: 4 additions & 0 deletions minimal.env.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"========== Service Harvest settings ==========": "",
"FILE_STORE_LOCATION": "< path to cloned harvested-data repo, other local store location, or omit for default >",

"========== Service Webhooks settings ==========": "",
"WEBHOOK_CRAWLER_SECRET": "<crawler webhook secret here>",
"WEBHOOK_GITHUB_SECRET": "<GitHub webhook secret here>",

"========== Service Curation settings ==========": "",
"CURATION_GITHUB_REPO": "sample-curated-data",
"CURATION_GITHUB_TOKEN": "<GitHub token here>"
Expand Down