Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto release debug #24713

Merged
merged 67 commits into from
Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
b1ca1b7
fix auto-ask-check bug
msyyc Jan 28, 2022
a61a9d5
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Feb 16, 2022
5ae58ab
update comment
BigCat20196 Feb 16, 2022
79a3594
update comment
BigCat20196 Feb 16, 2022
7071377
fix bug
BigCat20196 Feb 17, 2022
8f6fe79
Update main.py
BigCat20196 Feb 17, 2022
8d23d87
Update main.py
msyyc Feb 17, 2022
44faa80
Update main.py
msyyc Feb 17, 2022
84768eb
fix changelog format for new service
BigCat20196 Feb 18, 2022
29f9a86
fix check_pprint_name bug
BigCat20196 Feb 18, 2022
5b11c12
Update main.py
msyyc Feb 18, 2022
6b13133
fix check_pprint_name bug
BigCat20196 Feb 18, 2022
03f63af
Merge branch 'auto-release-debug' of https://github.com/msyyc/azure-s…
BigCat20196 Feb 18, 2022
c53585b
Update main.py
msyyc Feb 21, 2022
8a8b3d7
Merge branch 'main' into auto-release-debug
msyyc Feb 21, 2022
90ab52d
Update main.py
msyyc Mar 4, 2022
c124933
test
BigCat20196 Mar 9, 2022
e6f89a2
test
BigCat20196 Mar 9, 2022
76faf36
change to azclibot
BigCat20196 Mar 9, 2022
ffb8635
change to azure
BigCat20196 Mar 9, 2022
53ada77
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Mar 9, 2022
40a0f74
fix push
BigCat20196 Mar 9, 2022
2f6b174
test
BigCat20196 Mar 9, 2022
d5ce826
update
BigCat20196 Mar 9, 2022
79a553e
update
BigCat20196 Mar 9, 2022
ec747f1
test
BigCat20196 Mar 9, 2022
6f51fc8
test
BigCat20196 Mar 9, 2022
7107723
reduction
BigCat20196 Mar 9, 2022
6885266
update main
BigCat20196 Mar 11, 2022
6c9bbbd
delete f
BigCat20196 Mar 11, 2022
21b6c6b
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Mar 28, 2022
c2cb7e4
Update main.py
BigCat20196 Mar 28, 2022
5164abe
test
BigCat20196 Mar 28, 2022
cdb30c4
test
BigCat20196 Mar 28, 2022
e173adc
test
BigCat20196 Mar 28, 2022
04baa8a
Update PythonSdkLiveTest.yml for Azure Pipelines
BigCat20196 Mar 28, 2022
2a9f585
Update PythonSdkLiveTest.yml for Azure Pipelines
BigCat20196 Mar 28, 2022
3575ab3
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Mar 29, 2022
0502b3e
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Apr 26, 2022
8b71e04
remove surplus code
msyyc May 7, 2022
68a5273
Update PythonSdkLiveTest.yml for Azure Pipelines
BigCat20196 May 18, 2022
a517b29
Update main.py
BigCat20196 May 18, 2022
3841e32
Update main.py
BigCat20196 May 18, 2022
2fdba35
Update main.py
BigCat20196 May 18, 2022
3ad0f64
Update main.py
BigCat20196 May 18, 2022
a32eac7
Update main.py
BigCat20196 May 18, 2022
7148c2a
Update main.py
BigCat20196 May 18, 2022
6d1fbbb
Update main.py
BigCat20196 May 19, 2022
e008315
Update main.py
BigCat20196 May 19, 2022
63bd619
Update main.py
BigCat20196 May 19, 2022
31a7e2d
Update main.py
BigCat20196 May 19, 2022
dd0c4d8
Update PythonSdkLiveTest.yml for Azure Pipelines
BigCat20196 May 19, 2022
225a28e
Update PythonSdkLiveTest.yml for Azure Pipelines
BigCat20196 May 20, 2022
79c8572
Update PythonSdkLiveTest.yml for Azure Pipelines
BigCat20196 May 20, 2022
9c97784
Merge branch 'auto-release-debug' of https://github.com/msyyc/azure-s…
BigCat20196 May 23, 2022
fe21708
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 May 23, 2022
c725d95
merge code
BigCat20196 May 23, 2022
a41959d
fix bug
BigCat20196 May 23, 2022
aed57d8
update
BigCat20196 May 23, 2022
f5bb4c5
test
BigCat20196 May 23, 2022
38d34ba
update code
BigCat20196 May 23, 2022
1b379c0
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python …
BigCat20196 Jun 6, 2022
047f03c
update bot
BigCat20196 Jun 6, 2022
33da045
update main bot
BigCat20196 Jun 6, 2022
a718531
Update PythonSdkLiveTest.yml for Azure Pipelines
BigCat20196 Jun 6, 2022
4bbcce9
Update main.py
BigCat20196 Jun 6, 2022
bfd4d3e
Update main.py
BigCat20196 Jun 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/auto_release/PythonSdkLiveTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ jobs:

# clone(REPO: https://github.com/Azure/azure-sdk-for-python.git, USR_NAME: Azure, USR_TOKEN: xxxxxxxxxxxxx)
mkdir azure-sdk-for-python
git clone ${REPO:0:8}$(USR_NAME):$(USR_TOKEN)@${REPO:8} $(pwd)/azure-sdk-for-python
git clone ${REPO:0:8}$(USR_NAME):$(azuresdk-github-pat)@${REPO:8} $(pwd)/azure-sdk-for-python

# prepare env if need to generate SDK code
if [ "$(SPEC_README)" ]; then
mkdir azure-rest-api-specs
git clone https://github.com/Azure/azure-rest-api-specs.git $(pwd)/azure-rest-api-specs


# install autorest
sudo npm install -g n
sudo n 14.15.0
Expand Down Expand Up @@ -77,7 +78,6 @@ jobs:
export AZURE_CLIENT_SECRET=$(ENV_CLIENT_SECRET)
export AZURE_SUBSCRIPTION_ID=$(ENV_SUBSCRIPTION_ID)
export ISSUE_LINK=$(ISSUE_LINK)
export USR_TOKEN=$(USR_TOKEN)
export BASE_BRANCH=$(BASE_BRANCH)
export SCRIPT_PATH=$script_path
export AZURESDK_BOT_TOKEN=$(azuresdk-github-pat)
Expand Down
3 changes: 1 addition & 2 deletions scripts/auto_release/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ class CodegenTestPR:

def __init__(self):
self.issue_link = os.getenv('ISSUE_LINK')
self.usr_token = os.getenv('USR_TOKEN')
self.pipeline_link = os.getenv('PIPELINE_LINK')
self.bot_token = os.getenv('AZURESDK_BOT_TOKEN')
self.spec_readme = os.getenv('SPEC_README', '')
Expand Down Expand Up @@ -446,7 +445,7 @@ def run_test(self):
self.run_test_proc()

def create_pr_proc(self):
api = GhApi(owner='Azure', repo='azure-sdk-for-python', token=self.usr_token)
api = GhApi(owner='Azure', repo='azure-sdk-for-python', token=self.bot_token)
pr_title = "[AutoRelease] {}(Do not merge)".format(self.new_branch)
pr_head = "{}:{}".format(os.getenv('USR_NAME'), self.new_branch)
pr_base = 'main'
Expand Down