Skip to content

Commit ed30020

Browse files
authored
{CI} Drop service connections in azure devops public project (Azure#30271)
1 parent d68ba44 commit ed30020

File tree

2 files changed

+0
-113
lines changed

2 files changed

+0
-113
lines changed

azure-pipelines-full-tests.yml

-34
Original file line numberDiff line numberDiff line change
@@ -140,37 +140,3 @@ jobs:
140140
instance_idx: '$(Instance_idx)'
141141
fullTest: true
142142
jobName: 'FullTest'
143-
144-
- job: NotifyCIErrors
145-
dependsOn:
146-
- AutomationTest20200901
147-
- AutomationTest20190301
148-
- AutomationTest20180301
149-
- AutomationFullTestPython39ProfileLatest
150-
condition: and(failed(), in(variables['Build.Reason'], 'BatchedCI'))
151-
displayName: Notify CI Errors
152-
pool:
153-
name: ${{ variables.ubuntu_pool }}
154-
steps:
155-
- task: UsePythonVersion@0
156-
displayName: 'Use Python 3.12'
157-
inputs:
158-
versionSpec: 3.12
159-
- task: AzureCLI@2
160-
inputs:
161-
azureSubscription: 'Azure CLI'
162-
scriptType: 'bash'
163-
scriptLocation: 'inlineScript'
164-
inlineScript: |
165-
pip install requests
166-
teams_api_url=$(az keyvault secret show --vault-name $(TEAMS_BOT_VAULT_NAME) --name $(TEAMS_BOT_API_URL_SECRET_NAME) --query value -otsv)
167-
teams_api_key=$(az keyvault secret show --vault-name $(TEAMS_BOT_VAULT_NAME) --name $(TEAMS_BOT_API_KEY_SECRET_NAME) --query value -otsv)
168-
echo "If any task fails, notify to teams channel"
169-
python scripts/ci/notify_ci_errors.py $teams_api_url $teams_api_key $(TEAMS_CHANNEL_ID)
170-
displayName: 'Notify To Teams Channel'
171-
env:
172-
BASE_URI: $(System.CollectionUri)
173-
PROJECT_TYPE: $(System.TeamProject)
174-
BUILD_ID: $(Build.BuildId)
175-
JOB_ID: $(System.JobId)
176-
enabled: false

azure-pipelines.yml

-79
Original file line numberDiff line numberDiff line change
@@ -1188,82 +1188,3 @@ jobs:
11881188
KUSTO_TABLE: $(KUSTO_TABLE)
11891189
KUSTO_TENANT_ID: $(KUSTO_TENANT_ID)
11901190
enabled: false
1191-
1192-
#- job: VerifySphinxDocumentGenerator
1193-
# displayName: "Verify Sphinx Document Generator"
1194-
# pool:
1195-
# name: ${{ variables.ubuntu_pool }}
1196-
# steps:
1197-
# - task: UsePythonVersion@0
1198-
# displayName: 'Use Python 3.10'
1199-
# inputs:
1200-
# versionSpec: 3.10
1201-
# - bash: pip install --upgrade pip wheel
1202-
# displayName: "Install pip and wheel"
1203-
# - bash: ./scripts/ci/test_ref_doc.sh
1204-
# displayName: "Verify Sphinx Document Generator"
1205-
1206-
- job: NotifyCIErrors
1207-
dependsOn:
1208-
- CheckPullRequest
1209-
- RejectPullRequestToMasterBranch
1210-
- CredentialScanner
1211-
- PolicyCheck
1212-
- ExtractMetadata
1213-
- VerifyLinuxRequirements
1214-
- VerifyDarwinRequirements
1215-
- VerifyWindowsRequirements
1216-
- VerifyVersions
1217-
- BuildWindowsMSI
1218-
- TestMsiInstallation
1219-
- BuildWindowsZIP
1220-
- TestZipInstallation
1221-
- BuildDockerImageAzureLinux
1222-
- TestDockerImageAzureLinux
1223-
- BuildPythonWheel
1224-
- TestPythonWheel
1225-
- TestCore
1226-
- TestTelemetry
1227-
- IntegrationTestAgainstProfiles
1228-
- TestExtensionsLoading
1229-
- BuildHomebrewFormula
1230-
- TestHomebrewFormula
1231-
- TestHomebrewPackage
1232-
- BuildRpmPackagesAzureLinux
1233-
- BuildRpmPackages
1234-
- TestRpmPackage
1235-
- BuildDebPackages
1236-
- TestDebPackages
1237-
- CheckStyle
1238-
- CheckHeaders
1239-
- PerformanceCheck
1240-
- CheckLinter
1241-
- CodegenCoverage
1242-
# - VerifySphinxDocumentGenerator
1243-
condition: and(failed(), in(variables['Build.Reason'], 'BatchedCI'))
1244-
displayName: Notify CI Errors
1245-
pool:
1246-
name: ${{ variables.ubuntu_pool }}
1247-
steps:
1248-
- task: UsePythonVersion@0
1249-
displayName: 'Use Python 3.12'
1250-
inputs:
1251-
versionSpec: 3.12
1252-
- task: AzureCLI@2
1253-
inputs:
1254-
azureSubscription: 'Azure CLI'
1255-
scriptType: 'bash'
1256-
scriptLocation: 'inlineScript'
1257-
inlineScript: |
1258-
pip install requests
1259-
teams_api_url=$(az keyvault secret show --vault-name $(TEAMS_BOT_VAULT_NAME) --name $(TEAMS_BOT_API_URL_SECRET_NAME) --query value -otsv)
1260-
teams_api_key=$(az keyvault secret show --vault-name $(TEAMS_BOT_VAULT_NAME) --name $(TEAMS_BOT_API_KEY_SECRET_NAME) --query value -otsv)
1261-
echo "If any task fails, notify to teams channel"
1262-
python scripts/ci/notify_ci_errors.py $teams_api_url $teams_api_key $(TEAMS_CHANNEL_ID)
1263-
displayName: 'Notify To Teams Channel'
1264-
env:
1265-
BASE_URI: $(System.CollectionUri)
1266-
PROJECT_TYPE: $(System.TeamProject)
1267-
BUILD_ID: $(Build.BuildId)
1268-
JOB_ID: $(System.JobId)
1269-
enabled: false

0 commit comments

Comments
 (0)