From 46fc5657bb78547e2fc3966d524d537bd898a3bf Mon Sep 17 00:00:00 2001 From: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com> Date: Thu, 18 Aug 2022 09:52:28 +0800 Subject: [PATCH] [Script]Auto release debug (#25741) * fix auto-ask-check bug * update comment * update comment * fix bug * Update main.py * Update main.py * Update main.py * fix changelog format for new service * fix check_pprint_name bug * Update main.py * fix check_pprint_name bug * Update main.py * Update main.py * test * test * change to azclibot * change to azure * fix push * test * update * update * test * test * reduction * update main * delete f * Update main.py * test * test * test * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * remove surplus code * Update PythonSdkLiveTest.yml for Azure Pipelines * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update main.py * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * Update PythonSdkLiveTest.yml for Azure Pipelines * fix bug * update * test * update code * update bot * update main bot * Update PythonSdkLiveTest.yml for Azure Pipelines * Update main.py * Update main.py * change branch for test * for test * for test * for test * add PyYAML * code * README.md format * multi client * code * add python_tag * restore branch * Update PythonSdkLiveTest.yml * gen multi client * update global_conf * Update auto_codegen.py * Update generate_sdk.py * Update generate_sdk.py * Update generate_sdk.py * single client gen * Update main.py * compatible with meta storage code * add log to lookup readme * dpg package does not need _meta.json in MAINFEST.in * Update main.py * Update PythonSdkLiveTest.yml for Azure Pipelines * add language, apiviewartifacts * uodate edit_sdk_setup * fix * test * test * fix bug * debug * fix bug * fix bug * Update main.py * move to ci check * Update main.py * for test * restore * update msg for failed version * for testing * for testing * restore * restore * pin fastcore version * test * debug * debug * optimize * Update setup.py * sdk generation pipeline support dpg Signed-off-by: Zhou Zheng * auto codegen don't use specFolder to define swagger repo's location Signed-off-by: Zhou Zheng * fetch automation_generate.sh recent change to sdk_generate.sh Signed-off-by: Zhou Zheng * set default spec flord as global constant Signed-off-by: Zhou Zheng * set DEFAULT_SPEC_FOLDER in generate_utils Signed-off-by: Zhou Zheng * code * fix auto-release utils * code * Update main.py * add python commit * update branch * debug * update * Update PythonSdkLiveTest.yml Signed-off-by: Zhou Zheng Co-authored-by: Yuchao Yan Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: Zhou Zheng --- scripts/auto_release/PythonSdkLiveTest.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/auto_release/PythonSdkLiveTest.yml b/scripts/auto_release/PythonSdkLiveTest.yml index f70e2c727afa7..c70f5cea14163 100644 --- a/scripts/auto_release/PythonSdkLiveTest.yml +++ b/scripts/auto_release/PythonSdkLiveTest.yml @@ -47,6 +47,11 @@ jobs: mkdir azure-rest-api-specs git clone https://github.com/Azure/azure-rest-api-specs.git $(pwd)/azure-rest-api-specs + if [ "$(REST_REPO_HASH)" ]; then + cd azure-rest-api-specs + git reset --hard $(REST_REPO_HASH) + cd ../ + fi # install autorest sudo npm install -g n