From b7fd0afbb16bad316bcd41dac66fed46f0f3cb74 Mon Sep 17 00:00:00 2001 From: Youjung Kim <126618609+ykim-1@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:46:41 -0700 Subject: [PATCH] Update e2e test scripts submodule (#60) --- .github/workflows/e2e-test.yml | 5 ++--- .gitmodules | 6 +++--- e2e_scripts | 1 + tod_scripts | 1 - 4 files changed, 6 insertions(+), 7 deletions(-) create mode 160000 e2e_scripts delete mode 160000 tod_scripts diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 6015bfa..57fa9c1 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -55,14 +55,13 @@ jobs: run: | cp hack/*_go_metadata_test_report.xml . filename=$(ls | grep -E '^[0-9]{12}_go_metadata_test_report\.xml$') - python tod_scripts/add_to_xml_test_report.py \ + 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}" sync - cat $filename - python tod_scripts/test_report_upload_script.py "${filename}" + 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 }} diff --git a/.gitmodules b/.gitmodules index df7dc11..1a19a1c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[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 diff --git a/e2e_scripts b/e2e_scripts new file mode 160000 index 0000000..b561785 --- /dev/null +++ b/e2e_scripts @@ -0,0 +1 @@ +Subproject commit b56178520fae446a0a4f38df6259deb845efa667 diff --git a/tod_scripts b/tod_scripts deleted file mode 160000 index 5f19420..0000000 --- a/tod_scripts +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5f194207625bc4b6485ff85f8dd158efb0f92862