Move toggle annotation invocation to a Jenkins job (#25484)

There wasn't any reason for this to be in edx-platform in particular.

See https://github.com/edx/jenkins-job-dsl-internal/pull/444 -- we can
run `make requirements; pip install -e .` in a code-annotations
virtualenv and point it at each IDA in turn to generate reports for all of them.

ARCHBOM-1583
This commit is contained in:
Tim McCormack
2020-10-30 09:35:45 -04:00
committed by GitHub
parent 0cc46ca5b0
commit 644963255c

View File

@@ -1,12 +0,0 @@
#!/usr/bin/env bash
# generate-feature-toggle-annotation-report.sh
# Generate a code annotations report for feature toggles in the platform.
# This script is part of the feature toggle generator tool.
pip install -r requirements/edx/paver.txt -r requirements/edx/testing.txt
rm -Rf reports/*
code_annotations static_find_annotations --config_file=../$CODE_ANNOTATION_CONFIG_PATH
mkdir -p ../$SCRIPT_OUTPUT_PATH
cp reports/* ../$SCRIPT_OUTPUT_PATH/lms-annotations.yml