Skip to content

Commit

Permalink
update e2e test submodule (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai authored Jul 30, 2024
1 parent 0d511d4 commit d3f1b79
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/integration-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,18 @@ jobs:
- name: Set release version env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Add additional information to XML report

- name: Add variables and upload test results
if: always()
run: |
filename=$(ls | grep -E '^[0-9]{12}_packer_test_report\.xml$')
python tod_scripts/add_to_xml_test_report.py \
--branch_name "${{ env.RELEASE_VERSION }}" \
filename=$(ls | grep -E '^[0-9]{12}_packer_test_report\.xml$')
python3 e2e_scripts/tod_scripts/xml_to_obj_storage/scripts/add_gha_info_to_xml.py \
--branch_name "${GITHUB_REF#refs/*/}" \
--gha_run_id "$GITHUB_RUN_ID" \
--gha_run_number "$GITHUB_RUN_NUMBER" \
--xmlfile "${filename}"
- name: Upload test results to the bucket
run: |
filename=$(ls | grep -E '^[0-9]{12}_packer_test_report\.xml$')
python3 tod_scripts/test_report_upload_script.py "${filename}"
sync
python3 e2e_scripts/tod_scripts/xml_to_obj_storage/scripts/xml_to_obj.py "${filename}"
env:
LINODE_CLI_OBJ_ACCESS_KEY: ${{ secrets.LINODE_CLI_OBJ_ACCESS_KEY }}
LINODE_CLI_OBJ_SECRET_KEY: ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }}
LINODE_CLI_OBJ_SECRET_KEY: ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }}
7 changes: 4 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "tod_scripts"]
path = tod_scripts
url = https://github.com/linode/TOD-test-report-uploader.git

[submodule "e2e_scripts"]
path = e2e_scripts
url = https://github.com/linode/dx-e2e-test-scripts
1 change: 1 addition & 0 deletions e2e_scripts
Submodule e2e_scripts added at b56178
1 change: 0 additions & 1 deletion tod_scripts
Submodule tod_scripts deleted from f6da35

0 comments on commit d3f1b79

Please sign in to comment.