-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: extract sqldb generation in repo health job
- Loading branch information
1 parent
c897be7
commit 238ba36
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -e -v | ||
|
||
# Click requires this to work cause it interfaces weirdly with python 3 ASCII default | ||
export LC_ALL=C.UTF-8 | ||
export LANG=C.UTF-8 | ||
|
||
WORKSPACE=$PWD | ||
|
||
# Install checks and dashboarding script, this should also install pytest-repo-health | ||
pip-sync -q edx-repo-health/requirements/base.txt | ||
pip install -q -e edx-repo-health | ||
|
||
# Generate sql file from the yaml files | ||
cd "${WORKSPACE}/individual_repo_data" | ||
repo_health_dashboard --data-dir . --configuration "${WORKSPACE}/edx-repo-health/repo_health_dashboard/configuration.yaml" \ | ||
--output-sqlite "${WORKSPACE}/dashboards/dashboard" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters