File tree Expand file tree Collapse file tree 4 files changed +9
-71
lines changed
Expand file tree Collapse file tree 4 files changed +9
-71
lines changed Original file line number Diff line number Diff line change 1414 steps :
1515 - name : Clone Repository
1616 uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
19+ submodules : ' recursive'
1720
1821 - name : Update system packages
1922 run : sudo apt-get update -y
5053 - name : Add additional information to XML report
5154 run : |
5255 filename=$(ls | grep -E '^[0-9]{12}_cli_test_report\.xml$')
53- python scripts /add_to_xml_test_report.py \
56+ python tod_scripts /add_to_xml_test_report.py \
5457 --branch_name "${GITHUB_REF#refs/*/}" \
5558 --gha_run_id "$GITHUB_RUN_ID" \
5659 --gha_run_number "$GITHUB_RUN_NUMBER" \
5962 - name : Upload test results
6063 run : |
6164 filename=$(ls | grep -E '^[0-9]{12}_cli_test_report\.xml$')
62- linode-cli obj --cluster us-southeast-1 put "${filename}" dx-test-results
65+ python tod_scripts/test_report_upload_script.py "${filename}"
6366 env :
64- LINODE_CLI_TOKEN : ${{ secrets.SHARED_DX_TOKEN }}
6567 LINODE_CLI_OBJ_ACCESS_KEY : ${{ secrets.LINODE_CLI_OBJ_ACCESS_KEY }}
6668 LINODE_CLI_OBJ_SECRET_KEY : ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }}
6769
Original file line number Diff line number Diff line change 44[submodule "test/test_helper/bats-support "]
55 path = test/test_helper/bats-support
66 url = https://github.com/ztombol/bats-support
7+ [submodule "tod_scripts "]
8+ path = tod_scripts
9+ url = https://github.com/linode/TOD-test-report-uploader.git
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments