Commit c200c3cd authored by Baptiste CHOCOT's avatar Baptiste CHOCOT
Browse files

cleaning; add info

parent 747ca757
Pipeline #228715 passed with stages
in 9 minutes and 7 seconds
variables:
TMP: "$CI_PROJECT_DIR/.tmp"
# python dependencies
CONDA_ENVS: ".conda"
CLI_CONDA_ENV: "$CONDA_ENVS/cli.env"
SCORER_CONDA_ENV: "$CONDA_ENVS/scorer.env"
# CLIs install paths
LOCAL: "~/.local"
# necessary files for execution
NIST_FILES: "./test/test_validate_execution/resources"
FILE_INDEX: "$NIST_FILES/file-index.json"
......@@ -24,11 +21,11 @@ default:
image: continuumio/anaconda3
stages:
- init
- check-branch
- conda-test
reject:other:branches:
stage: init
stage: check-branch
script:
- if [[ $CI_PIPELINE_SOURCE != "push" ]];then exit 1; fi
- if [[ $CI_COMMIT_BRANCH =~ ^(master|baseline_master|placebo|(dev_.*))$ ]] && [[ ! $CI_COMMIT_BRANCH =~ ^dev_(placebo|baseline)$ ]];then exit 0; else echo "Branch name is invalid."; exit 1; fi
......@@ -55,7 +52,9 @@ conda:oneshot:
- python3 setup.py develop --prefix $CLI_CONDA_ENV
- actev -h
### SIMULATION ###
- echo "Starting pipeline simulation"
# get-system
- echo "actev get-system"
- actev get-system git -u $CLI_URL -l . -n placebo -s placebo
- rm -rf diva_evaluation/src
- cp -R placebo/diva_evaluation_cli/src/* diva_evaluation_cli/src
......@@ -64,21 +63,28 @@ conda:oneshot:
- conda env update -f placebo/environment.yml -p $CLI_CONDA_ENV
- cp placebo/LICENSE.txt ./
# validate-system
- echo "actev validate-system"
- actev validate-system --strict
# system-setup
- echo "actev system-setup"
- actev system-setup
# train-system
- echo "TODO train-system -a $TRAINING_ACTIVITY_INDEX -t $TRAINING_DIR"
- echo "actev train-system"
- echo "TODO actev train-system -a $TRAINING_ACTIVITY_INDEX -t $TRAINING_DIR"
# design-chunks
#- echo "TODO actev design-chunks -f $FILE_INDEX -a $ACTIVITY_INDEX -o $CHUNKS_FILE -n $CHUNKS_NB"
- echo "actev design-chunks"
- actev design-chunks -f $FILE_INDEX -a $ACTIVITY_INDEX -o $CHUNKS_FILE -n 1
# experiment-init
- echo "actev experiment-init"
- actev experiment-init -f $FILE_INDEX -a $ACTIVITY_INDEX -c $CHUNKS_FILE -v $VIDEOS_DIR -s $SYSTEM_CACHE_DIR --prepare-proposal-outputs --prepare-localization-outputs
# process-chunk
- echo "actev (pre/post)process-chunk"
- actev pre-process-chunk -i Chunk0 -s $SYSTEM_CACHE_DIR
- actev process-chunk -i Chunk0 -s $SYSTEM_CACHE_DIR
- actev post-process-chunk -i Chunk0 -s $SYSTEM_CACHE_DIR
# merge-chunks
- echo "actev merge-chunks"
- actev merge-chunks -c $CHUNKS_FILE -s $SYSTEM_CACHE_DIR -o $SYSTEM_OUTPUT -p $PROPOSAL_OUTPUT -l $LOCALIZATION_OUTPUT
# validate-execution
- echo "actev validate-execution"
- actev validate-execution -f $FILE_INDEX -a $ACTIVITY_INDEX -o $SYSTEM_OUTPUT
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment