2323 using : " composite"
2424 steps :
2525 - name : Sanitize provided timestamp
26+ shell : bash
2627 run : |
2728 # Sanitize the cutoff timestamp provided
2829 #
@@ -40,22 +41,25 @@ runs:
4041 # incase user somehow manages to inject extra text, `-o` should take
4142 # care of it.
4243 # - DO NOT use input.cutoff_timestamp directly, only use SANITIZED_TIMESTAMP
43- SANITIZED_TIMESTAMP="$(echo '${{ input .cutoff_timestamp }}' | grep -oE "$TIMESTAM_RE")"
44+ SANITIZED_TIMESTAMP="$(echo '${{ inputs .cutoff_timestamp }}' | grep -oE "$TIMESTAM_RE")"
4445 if [ -z "$SANITIZED_TIMESTAMP" ]; then
4546 echo "Please ensure input in input.cutoff_timestamp is exactly YYYYMMDD_HHMMSS."
4647 exit 1 # Terminate workflow
4748 fi
4849 echo "SANITIZED_TIMESTAMP=$SANITIZED_TIMESTAMP" >> $GITHUB_ENV
4950 - name : Load benchmarking configuration
51+ shell : bash
5052 run : |
5153 $(python ./devops/scripts/benchmarking/load_config.py ./devops constants)
5254 echo "SANITIZED_PERF_RES_GIT_REPO=$SANITIZED_PERF_RES_GIT_REPO" >> $GITHUB_ENV
5355 echo "SANITIZED_PERF_RES_GIT_BRANCH=$SANITIZED_PERF_RES_GIT_BRANCH" >> $GITHUB_ENV
5456 echo "SANITIZED_PERF_RES_PATH=$SANITIZED_PERF_RES_PATH" >> $GITHUB_ENV
5557 - name : Checkout historical performance results repository
58+ shell : bash
5659 run : |
5760 git clone -b "$SANITIZED_PERF_RES_GIT_BRANCH" "https://github.com/$SANITIZED_PERF_RES_GIT_REPO" "$SANITIZED_PERF_RES_PATH"
5861 - name : Run aggregator on historical results
62+ shell : bash
5963 run : |
6064 # The current format of the historical results respository is:
6165 #
6872 python ./devops/scripts/benchmarking/aggregate.py "$test_name" "$dir" "$SANITIZED_TIMESTAMP"
6973 done
7074 - name : Upload average to the repo
75+ shell : bash
7176 run : |
7277 # TODO -- waiting on security clearance
7378 cd "$SANITIZED_PERF_RES_PATH"
0 commit comments