From 49bec15caedce1998ae677cdf57c0c699ab2f4c0 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 11 Mar 2024 19:10:25 -0700 Subject: [PATCH 01/38] adding temp pipeline --- doc/sphinx/temp_mgmt/checkout_eng.py | 69 ++ doc/sphinx/temp_mgmt/checkout_tag.py | 58 ++ doc/sphinx/temp_mgmt/get_all_mgmt.py | 29 + .../temp_mgmt/publish_all_mgmt_docs.yml | 651 ++++++++++++++++++ 4 files changed, 807 insertions(+) create mode 100644 doc/sphinx/temp_mgmt/checkout_eng.py create mode 100644 doc/sphinx/temp_mgmt/checkout_tag.py create mode 100644 doc/sphinx/temp_mgmt/get_all_mgmt.py create mode 100644 doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml diff --git a/doc/sphinx/temp_mgmt/checkout_eng.py b/doc/sphinx/temp_mgmt/checkout_eng.py new file mode 100644 index 000000000000..5b3cc3df6b59 --- /dev/null +++ b/doc/sphinx/temp_mgmt/checkout_eng.py @@ -0,0 +1,69 @@ +import os +import shutil +import shlex +import stat +import subprocess +from subprocess import check_call, CalledProcessError + + + +def invoke_command(command: str, working_directory: str) -> None: + try: + command = shlex.split(command) + wd = working_directory.replace("\\", "/") + check_call(command, stderr=subprocess.STDOUT, cwd=wd) + except CalledProcessError as e: + print(e) + raise + + +def prep_directory(path: str) -> str: + cleanup_directory(path) + + os.makedirs(path) + return path + + +def error_handler_git_access(func, path, exc): + """ + This function exists because the git idx file is written with strange permissions that prevent it from being + deleted. Due to this, we need to register an error handler that attempts to fix the file permissions before + re-attempting the delete operations. + """ + + if not os.access(path, os.W_OK): + os.chmod(path, stat.S_IWUSR) + func(path) + else: + raise + +def cleanup_directory(target_directory: str) -> None: + """Invokes a directory delete. Specifically handles the case where bad permissions on a git .idx file + prevent cleanup of the directory with a generic error. + """ + if os.path.exists(target_directory): + shutil.rmtree(target_directory, ignore_errors=False, onerror=error_handler_git_access) + + + +def get_eng_from_main(assembly_area): + clone_folder = prep_directory(os.path.join(assembly_area, "tmp")) + invoke_command( + f"git clone --no-checkout --filter=tree:0 https://github.com/Azure/azure-sdk-for-python .", clone_folder + ) + invoke_command(f"git config gc.auto 0", clone_folder) + invoke_command(f"git sparse-checkout init", clone_folder) + invoke_command(f"git sparse-checkout set --no-cone '/eng' '/tools' '/doc' '/scripts'", clone_folder) + invoke_command(f"git -c advice.detachedHead=false checkout main", clone_folder) + + +def move_dirs(path): + shutil.move(os.path.join(path, "tmp", "eng"), os.path.join(path, "eng")) + shutil.move(os.path.join(path, "tmp", "tools"), os.path.join(path, "tools")) + shutil.move(os.path.join(path, "tmp", "doc"), os.path.join(path, "doc")) + shutil.move(os.path.join(path, "tmp", "scripts"), os.path.join(path, "scripts")) + +get_eng_from_main( + assembly_area=os.getcwd(), +) +move_dirs(os.getcwd()) \ No newline at end of file diff --git a/doc/sphinx/temp_mgmt/checkout_tag.py b/doc/sphinx/temp_mgmt/checkout_tag.py new file mode 100644 index 000000000000..bfd6cd7bfdee --- /dev/null +++ b/doc/sphinx/temp_mgmt/checkout_tag.py @@ -0,0 +1,58 @@ +import os +import argparse +import shutil +from checkout_eng import prep_directory, invoke_command, cleanup_directory + + +def rewrite_dev_reqs(path: str) -> None: + with open(f"{path}/dev_requirements.txt", "w") as file: + file.writelines("-e ../../../tools/azure-sdk-tools\n") + file.writelines("-e ../../../tools/azure-devtools") + + +def get_release_tag( + assembly_area: str, + target_package: str, + service_directory: str, + target_version: str, +) -> None: + clone_folder = prep_directory(os.path.join(assembly_area, "python-sdk")) + checkout_path = os.path.join("sdk", service_directory, target_package) + invoke_command( + f"git clone --no-checkout --filter=tree:0 https://github.com/Azure/azure-sdk-for-python .", clone_folder + ) + invoke_command(f"git config gc.auto 0", clone_folder) + invoke_command(f"git sparse-checkout init", clone_folder) + invoke_command(f'git sparse-checkout add "{checkout_path}"', clone_folder) + invoke_command(f"git -c advice.detachedHead=false checkout {target_package}_{target_version}", clone_folder) + rewrite_dev_reqs(os.path.join(clone_folder, checkout_path)) + + shutil.move( + os.path.join(assembly_area, "python-sdk", "sdk", service_directory), + os.path.join(assembly_area, "sdk", service_directory) + ) + + +if __name__ == "__main__": + parser = argparse.ArgumentParser() + + parser.add_argument( + "--package" + ) + + parser.add_argument( + "--service", + ) + + parser.add_argument( + "--version" + ) + + args = parser.parse_args() + + get_release_tag( + assembly_area=os.getcwd(), + target_package=args.package, + service_directory=args.service, + target_version=args.version + ) diff --git a/doc/sphinx/temp_mgmt/get_all_mgmt.py b/doc/sphinx/temp_mgmt/get_all_mgmt.py new file mode 100644 index 000000000000..c163a17e7834 --- /dev/null +++ b/doc/sphinx/temp_mgmt/get_all_mgmt.py @@ -0,0 +1,29 @@ +import glob +import pathlib +from pypi_tools.pypi import PyPIClient + +root = file_path = pathlib.Path(__file__).resolve().parent.parent.parent.parent + + +def mgmt(): + client = PyPIClient() + service_directories = glob.glob(f"{root}/sdk/*/", recursive = True) + mgmt = {} + for service in service_directories: + packages = glob.glob(f"{service}*/", recursive = True) + for package in packages: + package_path = pathlib.Path(package) + package_name = package_path.name + service_directory = package_path.parent.name + if "mgmt" in package_name: + mgmt[package_name] = {} + mgmt[package_name].update({"service_directory": service_directory}) + latest = client.get_ordered_versions(package_name)[-1] + mgmt[package_name].update({"version": str(latest)}) + return mgmt + + +packages = mgmt() +with open("mgmt.txt", "w+") as fd: + for pkg, details in packages.items(): + fd.write(f" {pkg}:\n ServiceDirectory: {details['service_directory']}\n Version: '{details['version']}'\n") diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml new file mode 100644 index 000000000000..d572b5af49cb --- /dev/null +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -0,0 +1,651 @@ + parameters: + - name: MgmtPackages + type: object + default: + azure-mgmt-connectedvmware: + ServiceDirectory: connectedvmware + Version: '1.0.0' + azure-mgmt-oep: + ServiceDirectory: oep + Version: '1.0.0b2' + azure-mgmt-devhub: + ServiceDirectory: devhub + Version: '1.0.0b1' + azure-mgmt-consumption: + ServiceDirectory: consumption + Version: '11.0.0b1' + azure-mgmt-managedapplications: + ServiceDirectory: managedapplications + Version: '1.0.0b1' + azure-mgmt-changeanalysis: + ServiceDirectory: changeanalysis + Version: '1.0.0' + azure-mgmt-advisor: + ServiceDirectory: advisor + Version: '10.0.0b1' + azure-mgmt-operationsmanagement: + ServiceDirectory: operationsmanagement + Version: '2.0.0b1' + azure-mgmt-edgegateway: + ServiceDirectory: edgegateway + Version: '0.1.0' + azure-mgmt-servermanager: + ServiceDirectory: servermanager + Version: '2.0.0' + azure-mgmt-iothub: + ServiceDirectory: iothub + Version: '3.0.0' + azure-mgmt-iothubprovisioningservices: + ServiceDirectory: iothub + Version: '1.2.0b2' + azure-mgmt-iotcentral: + ServiceDirectory: iothub + Version: '10.0.0b2' + azure-mgmt-scheduler: + ServiceDirectory: scheduler + Version: '7.0.0b1' + azure-mgmt-managedservices: + ServiceDirectory: managedservices + Version: '7.0.0b1' + azure-mgmt-datafactory: + ServiceDirectory: datafactory + Version: '6.0.0' + azure-mgmt-signalr: + ServiceDirectory: signalr + Version: '2.0.0b2' + azure-mgmt-extendedlocation: + ServiceDirectory: extendedlocation + Version: '1.2.0b1' + azure-mgmt-automation: + ServiceDirectory: automation + Version: '1.1.0b3' + azure-mgmt-networkcloud: + ServiceDirectory: networkcloud + Version: '1.0.0' + azure-mgmt-appcomplianceautomation: + ServiceDirectory: appcomplianceautomation + Version: '1.0.0b1' + azure-mgmt-billing: + ServiceDirectory: billing + Version: '6.1.0b1' + azure-mgmt-media: + ServiceDirectory: media + Version: '10.2.0' + azure-mgmt-dnsresolver: + ServiceDirectory: dnsresolver + Version: '1.1.0b1' + azure-mgmt-storagecache: + ServiceDirectory: storage + Version: '1.6.0b1' + azure-mgmt-storage: + ServiceDirectory: storage + Version: '21.1.0' + azure-mgmt-storagesync: + ServiceDirectory: storage + Version: '2.0.0b1' + azure-mgmt-storageimportexport: + ServiceDirectory: storage + Version: '1.0.0b2' + azure-mgmt-timeseriesinsights: + ServiceDirectory: timeseriesinsights + Version: '2.0.0b1' + azure-mgmt-synapse: + ServiceDirectory: synapse + Version: '2.1.0b7' + azure-mgmt-resourceconnector: + ServiceDirectory: resourceconnector + Version: '1.0.0' + azure-mgmt-notificationhubs: + ServiceDirectory: notificationhubs + Version: '8.1.0b1' + azure-mgmt-powerbiembedded: + ServiceDirectory: powerbiembedded + Version: '2.0.0' + azure-mgmt-streamanalytics: + ServiceDirectory: streamanalytics + Version: '2.0.0b2' + azure-mgmt-customproviders: + ServiceDirectory: customproviders + Version: '1.1.0b1' + azure-mgmt-containerregistry: + ServiceDirectory: containerregistry + Version: '10.3.0' + azure-mgmt-web: + ServiceDirectory: appservice + Version: '7.2.0' + azure-mgmt-monitor: + ServiceDirectory: monitor + Version: '6.0.2' + azure-mgmt-managednetworkfabric: + ServiceDirectory: managednetworkfabric + Version: '1.0.0' + azure-mgmt-appplatform: + ServiceDirectory: appplatform + Version: '9.0.0' + azure-mgmt-msi: + ServiceDirectory: resources + Version: '7.1.0b1' + azure-mgmt-resource: + ServiceDirectory: resources + Version: '23.1.0b2' + azure-mgmt-resourcegraph: + ServiceDirectory: resources + Version: '8.1.0b3' + azure-mgmt-databox: + ServiceDirectory: databox + Version: '2.0.0' + azure-mgmt-maps: + ServiceDirectory: maps + Version: '2.1.0' + azure-mgmt-education: + ServiceDirectory: education + Version: '1.0.0b2' + azure-mgmt-costmanagement: + ServiceDirectory: costmanagement + Version: '4.0.1' + azure-mgmt-workloadmonitor: + ServiceDirectory: workloadmonitor + Version: '1.0.0b4' + azure-mgmt-cognitiveservices: + ServiceDirectory: cognitiveservices + Version: '13.5.0' + azure-mgmt-workloads: + ServiceDirectory: workloads + Version: '1.0.0' + azure-mgmt-datadog: + ServiceDirectory: datadog + Version: '2.1.0' + azure-mgmt-resourcemover: + ServiceDirectory: resourcemover + Version: '1.1.0' + azure-mgmt-paloaltonetworksngfw: + ServiceDirectory: paloaltonetworks + Version: '2.0.0b1' + azure-mgmt-recoveryservicessiterecovery: + ServiceDirectory: recoveryservices + Version: '1.2.0' + azure-mgmt-recoveryservices: + ServiceDirectory: recoveryservices + Version: '2.5.0' + azure-mgmt-recoveryservicesbackup: + ServiceDirectory: recoveryservices + Version: '9.0.0' + azure-mgmt-vmwarecloudsimple: + ServiceDirectory: compute + Version: '1.0.0b2' + azure-mgmt-avs: + ServiceDirectory: compute + Version: '8.0.0' + azure-mgmt-compute: + ServiceDirectory: compute + Version: '30.5.0' + azure-mgmt-imagebuilder: + ServiceDirectory: compute + Version: '1.3.0' + azure-mgmt-portal: + ServiceDirectory: portal + Version: '1.1.0b1' + azure-mgmt-logic: + ServiceDirectory: logic + Version: '10.1.0b1' + azure-mgmt-graphservices: + ServiceDirectory: graphservices + Version: '1.0.0' + azure-mgmt-deploymentmanager: + ServiceDirectory: deploymentmanager + Version: '2.0.0b1' + azure-mgmt-azurearcdata: + ServiceDirectory: azurearcdata + Version: '2.0.0b1' + azure-mgmt-selfhelp: + ServiceDirectory: selfhelp + Version: '2.0.0b2' + azure-mgmt-baremetalinfrastructure: + ServiceDirectory: baremetalinfrastructure + Version: '1.1.0b2' + azure-mgmt-cosmosdbforpostgresql: + ServiceDirectory: cosmosdbforpostgresql + Version: '1.0.0' + azure-mgmt-newrelicobservability: + ServiceDirectory: newrelicobservability + Version: '1.0.0' + azure-mgmt-redhatopenshift: + ServiceDirectory: redhatopenshift + Version: '1.4.0' + azure-mgmt-cdn: + ServiceDirectory: cdn + Version: '13.0.0' + azure-mgmt-datalake-store: + ServiceDirectory: datalake + Version: '1.1.0b1' + azure-mgmt-datalake-analytics: + ServiceDirectory: datalake + Version: '1.0.0b2' + azure-mgmt-quantum: + ServiceDirectory: quantum + Version: '1.0.0b4' + azure-mgmt-astro: + ServiceDirectory: astro + Version: '1.0.0b1' + azure-mgmt-sphere: + ServiceDirectory: sphere + Version: '1.0.0b1' + azure-mgmt-datalake-nspkg: + ServiceDirectory: nspkg + Version: '3.0.1' + azure-mgmt-nspkg: + ServiceDirectory: nspkg + Version: '3.0.2' + azure-mgmt-keyvault: + ServiceDirectory: keyvault + Version: '10.3.0' + azure-mgmt-azurestackhci: + ServiceDirectory: azurestackhci + Version: '8.0.0b3' + azure-mgmt-hybridconnectivity: + ServiceDirectory: hybridconnectivity + Version: '1.0.0' + azure-mgmt-managementpartner: + ServiceDirectory: managementpartner + Version: '1.1.0b1' + azure-mgmt-serialconsole: + ServiceDirectory: serialconsole + Version: '1.1.0b1' + azure-mgmt-security: + ServiceDirectory: security + Version: '6.0.0' + azure-mgmt-dashboard: + ServiceDirectory: dashboard + Version: '1.1.0' + azure-mgmt-kusto: + ServiceDirectory: kusto + Version: '3.3.0' + azure-mgmt-communication: + ServiceDirectory: communication + Version: '2.1.0b2' + azure-mgmt-regionmove: + ServiceDirectory: regionmove + Version: '1.0.0b1' + azure-mgmt-hybridkubernetes: + ServiceDirectory: hybridkubernetes + Version: '1.2.0b1' + azure-mgmt-servicefabricmanagedclusters: + ServiceDirectory: servicefabricmanagedclusters + Version: '2.0.0b6' + azure-mgmt-commerce: + ServiceDirectory: commerce + Version: '6.1.0b1' + azure-mgmt-orbital: + ServiceDirectory: orbital + Version: '2.0.0' + azure-mgmt-servicelinker: + ServiceDirectory: servicelinker + Version: '1.2.0b1' + azure-mgmt-servicenetworking: + ServiceDirectory: servicenetworking + Version: '1.0.0' + azure-mgmt-servicefabric: + ServiceDirectory: servicefabric + Version: '2.2.0b1' + azure-mgmt-elastic: + ServiceDirectory: elastic + Version: '1.1.0b3' + azure-mgmt-securitydevops: + ServiceDirectory: securitydevops + Version: '1.0.0b2' + azure-mgmt: + ServiceDirectory: core + Version: '5.0.0' + azure-mgmt-core: + ServiceDirectory: core + Version: '1.4.0' + azure-mgmt-alertsmanagement: + ServiceDirectory: alertsmanagement + Version: '2.0.0b2' + azure-mgmt-support: + ServiceDirectory: support + Version: '6.1.0b2' + azure-mgmt-containerinstance: + ServiceDirectory: containerinstance + Version: '10.1.0' + azure-mgmt-hdinsight: + ServiceDirectory: hdinsight + Version: '9.0.0' + azure-mgmt-hdinsightcontainers: + ServiceDirectory: hdinsight + Version: '1.0.0b1' + azure-mgmt-marketplaceordering: + ServiceDirectory: marketplaceordering + Version: '1.2.0b1' + azure-mgmt-deviceupdate: + ServiceDirectory: deviceupdate + Version: '1.1.0' + azure-mgmt-reservations: + ServiceDirectory: reservations + Version: '2.3.0' + azure-mgmt-apimanagement: + ServiceDirectory: apimanagement + Version: '4.0.0' + azure-mgmt-containerservice: + ServiceDirectory: containerservice + Version: '29.1.0' + azure-mgmt-containerservicefleet: + ServiceDirectory: containerservice + Version: '1.0.0' + azure-mgmt-defendereasm: + ServiceDirectory: defendereasm + Version: '1.0.0b1' + azure-mgmt-search: + ServiceDirectory: search + Version: '9.1.0' + azure-mgmt-loganalytics: + ServiceDirectory: loganalytics + Version: '13.0.0b6' + azure-mgmt-authorization: + ServiceDirectory: authorization + Version: '4.0.0' + azure-mgmt-servicebus: + ServiceDirectory: servicebus + Version: '8.2.0' + azure-mgmt-batch: + ServiceDirectory: batch + Version: '17.2.0' + azure-mgmt-iotfirmwaredefense: + ServiceDirectory: iotfirmwaredefense + Version: '1.0.0b1' + azure-mgmt-peering: + ServiceDirectory: peering + Version: '2.0.0b1' + azure-mgmt-redis: + ServiceDirectory: redis + Version: '14.3.0' + azure-mgmt-hanaonazure: + ServiceDirectory: hanaonazure + Version: '1.1.0b1' + azure-mgmt-quota: + ServiceDirectory: quota + Version: '1.1.0' + azure-mgmt-webpubsub: + ServiceDirectory: webpubsub + Version: '2.0.0b2' + azure-mgmt-databricks: + ServiceDirectory: databricks + Version: '2.0.0' + azure-mgmt-appconfiguration: + ServiceDirectory: appconfiguration + Version: '3.0.0' + azure-mgmt-hybridcompute: + ServiceDirectory: hybridcompute + Version: '9.0.0b1' + azure-mgmt-managementgroups: + ServiceDirectory: managementgroups + Version: '1.1.0b1' + azure-mgmt-edgeorder: + ServiceDirectory: edgeorder + Version: '2.0.0b1' + azure-mgmt-networkanalytics: + ServiceDirectory: networkanalytics + Version: '1.0.0' + azure-mgmt-qumulo: + ServiceDirectory: qumulo + Version: '1.0.0' + azure-mgmt-nginx: + ServiceDirectory: nginx + Version: '3.0.0' + azure-mgmt-dns: + ServiceDirectory: network + Version: '8.1.0' + azure-mgmt-network: + ServiceDirectory: network + Version: '25.3.0' + azure-mgmt-privatedns: + ServiceDirectory: network + Version: '1.1.0' + azure-mgmt-frontdoor: + ServiceDirectory: network + Version: '1.1.0' + azure-mgmt-digitaltwins: + ServiceDirectory: digitaltwins + Version: '6.4.0' + azure-mgmt-hybridnetwork: + ServiceDirectory: hybridnetwork + Version: '2.0.0' + azure-mgmt-playwrighttesting: + ServiceDirectory: playwrighttesting + Version: '1.0.0b2' + azure-mgmt-azurelargeinstance: + ServiceDirectory: azurelargeinstance + Version: '1.0.0b1' + azure-mgmt-datamigration: + ServiceDirectory: datamigration + Version: '10.1.0b1' + azure-mgmt-voiceservices: + ServiceDirectory: voiceservices + Version: '1.0.0' + azure-mgmt-policyinsights: + ServiceDirectory: policyinsights + Version: '1.1.0b4' + azure-mgmt-storagemover: + ServiceDirectory: storagemover + Version: '2.0.0' + azure-mgmt-subscription: + ServiceDirectory: subscription + Version: '3.2.0b1' + azure-mgmt-hybridcontainerservice: + ServiceDirectory: hybridcontainerservice + Version: '1.0.0' + azure-mgmt-kubernetesconfiguration: + ServiceDirectory: kubernetesconfiguration + Version: '3.1.0' + azure-mgmt-recoveryservicesdatareplication: + ServiceDirectory: recoveryservicesdatareplication + Version: '1.0.0b1' + azure-mgmt-devspaces: + ServiceDirectory: aks + Version: '1.0.0b3' + azure-mgmt-storagepool: + ServiceDirectory: storagepool + Version: '1.1.0b1' + azure-mgmt-securityinsight: + ServiceDirectory: securityinsight + Version: '2.0.0b2' + azure-mgmt-cosmosdb: + ServiceDirectory: cosmos + Version: '10.0.0b2' + azure-mgmt-documentdb: + ServiceDirectory: cosmos + Version: '0.1.3' + azure-mgmt-batchai: + ServiceDirectory: batchai + Version: '7.0.0b1' + azure-mgmt-attestation: + ServiceDirectory: attestation + Version: '2.0.0b1' + azure-mgmt-healthbot: + ServiceDirectory: healthbot + Version: '1.0.0b2' + azure-mgmt-resourcehealth: + ServiceDirectory: resourcehealth + Version: '1.0.0b5' + azure-mgmt-dynatrace: + ServiceDirectory: dynatrace + Version: '2.0.0' + azure-mgmt-guestconfig: + ServiceDirectory: machinelearning + Version: '1.0.0b2' + azure-mgmt-machinelearningservices: + ServiceDirectory: machinelearning + Version: '2.0.0b2' + azure-mgmt-machinelearningcompute: + ServiceDirectory: machinelearning + Version: '1.0.0b2' + azure-mgmt-agrifood: + ServiceDirectory: agrifood + Version: '1.0.0b3' + azure-mgmt-dataprotection: + ServiceDirectory: dataprotection + Version: '1.3.0' + azure-mgmt-labservices: + ServiceDirectory: labservices + Version: '2.1.0b1' + azure-mgmt-testbase: + ServiceDirectory: testbase + Version: '1.0.0b2' + azure-mgmt-confluent: + ServiceDirectory: confluent + Version: '2.0.0' + azure-mgmt-chaos: + ServiceDirectory: chaos + Version: '1.1.0' + azure-mgmt-confidentialledger: + ServiceDirectory: confidentialledger + Version: '2.0.0b3' + azure-mgmt-databoxedge: + ServiceDirectory: databoxedge + Version: '2.0.0b1' + azure-mgmt-loadtesting: + ServiceDirectory: loadtesting + Version: '1.0.0' + azure-mgmt-mixedreality: + ServiceDirectory: mixedreality + Version: '1.1.0b1' + azure-mgmt-eventhub: + ServiceDirectory: eventhub + Version: '11.0.0' + azure-mgmt-scvmm: + ServiceDirectory: scvmm + Version: '1.0.0b2' + azure-mgmt-devcenter: + ServiceDirectory: devcenter + Version: '1.1.0b1' + azure-mgmt-rdbms: + ServiceDirectory: rdbms + Version: '10.2.0b15' + azure-mgmt-app: + ServiceDirectory: app + Version: '1.0.0b2' + azure-mgmt-netapp: + ServiceDirectory: netapp + Version: '12.0.0b1' + azure-mgmt-elasticsan: + ServiceDirectory: elasticsan + Version: '1.0.0' + azure-mgmt-relay: + ServiceDirectory: relay + Version: '2.0.0b1' + azure-mgmt-datashare: + ServiceDirectory: datashare + Version: '1.1.0b1' + azure-mgmt-devtestlabs: + ServiceDirectory: devtestlabs + Version: '10.0.0b1' + azure-mgmt-billingbenefits: + ServiceDirectory: billingbenefits + Version: '1.0.0b1' + azure-mgmt-purview: + ServiceDirectory: purview + Version: '1.1.0b1' + azure-mgmt-applicationinsights: + ServiceDirectory: applicationinsights + Version: '4.0.0' + azure-mgmt-logz: + ServiceDirectory: logz + Version: '1.1.0b1' + azure-mgmt-eventgrid: + ServiceDirectory: eventgrid + Version: '10.3.0b3' + azure-mgmt-healthcareapis: + ServiceDirectory: healthcareapis + Version: '2.0.0' + azure-mgmt-trafficmanager: + ServiceDirectory: trafficmanager + Version: '1.1.0' + azure-mgmt-videoanalyzer: + ServiceDirectory: videoanalyzer + Version: '1.0.0b4' + azure-mgmt-redisenterprise: + ServiceDirectory: redisenterprise + Version: '3.0.0' + azure-mgmt-desktopvirtualization: + ServiceDirectory: desktopvirtualization + Version: '1.1.0' + azure-mgmt-apicenter: + ServiceDirectory: apicenter + Version: '1.0.0' + azure-mgmt-automanage: + ServiceDirectory: automanage + Version: '2.0.0b1' + azure-mgmt-maintenance: + ServiceDirectory: maintenance + Version: '2.2.0b1' + azure-mgmt-appcontainers: + ServiceDirectory: appcontainers + Version: '3.0.0' + azure-mgmt-mobilenetwork: + ServiceDirectory: mobilenetwork + Version: '3.1.0' + azure-mgmt-fluidrelay: + ServiceDirectory: fluidrelay + Version: '1.1.0b1' + azure-mgmt-hardwaresecuritymodules: + ServiceDirectory: hardwaresecuritymodules + Version: '1.0.0b1' + azure-mgmt-springappdiscovery: + ServiceDirectory: springappdiscovery + Version: '1.0.0b1' + azure-mgmt-botservice: + ServiceDirectory: botservice + Version: '2.0.0' + azure-mgmt-sql: + ServiceDirectory: sql + Version: '4.0.0b15' + azure-mgmt-sqlvirtualmachine: + ServiceDirectory: sql + Version: '1.0.0b6' + azure-mgmt-networkfunction: + ServiceDirectory: networkfunction + Version: '1.0.0b1' + azure-mgmt-powerbidedicated: + ServiceDirectory: powerbidedicated + Version: '1.1.0b1' + azure-mgmt-azurestack: + ServiceDirectory: azurestack + Version: '2.0.0b1' + + + + job: + - task: UsePythonVersion@0 + displayName: 'Use Python 3.11' + inputs: + versionSpec: '3.11' + + - task: PythonScript@0 + displayName: 'checkout eng/tools/doc/scripts from main' + inputs: + scriptPath: 'checkout_eng.py' + + - script: | + python -m pip install setuptools==58.3.0 + python -m pip install -r eng/ci_tools.txt + displayName: 'Prep Environment' + + - ${{ each pkg in parameters.MgmtPackages }}: + - task: PythonScript@0 + displayName: 'checkout library tag' + inputs: + scriptPath: 'checkout_tag.py' + arguments: >- + --package="${{ pkg }}" + --service="${{ pkg.value.ServiceDirectory }}" + --version="${{ pkg.value.Version }}" + + - task: PythonScript@0 + displayName: 'Generate Docs' + inputs: + scriptPath: 'scripts/devops_tasks/dispatch_tox.py' + arguments: >- + "${{ pkg }}" + --service="${{ pkg.value.ServiceDirectory }}" + --toxenv=sphinx + \ No newline at end of file From 8cb98b98038ffdb62824370a49294596e79618a9 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 17:07:46 -0700 Subject: [PATCH 02/38] try send built docs to artifact staging directory --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index d572b5af49cb..1ffb37d8a33a 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -647,5 +647,6 @@ arguments: >- "${{ pkg }}" --service="${{ pkg.value.ServiceDirectory }}" + --dest-dir="$(Build.ArtifactStagingDirectory)" --toxenv=sphinx \ No newline at end of file From c106a22db4e6e10cfadd210437b96488de3a8b39 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 17:10:26 -0700 Subject: [PATCH 03/38] test with just one library to start --- .../temp_mgmt/publish_all_mgmt_docs.yml | 608 ------------------ 1 file changed, 608 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 1ffb37d8a33a..9a5af0e160b8 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -2,617 +2,9 @@ - name: MgmtPackages type: object default: - azure-mgmt-connectedvmware: - ServiceDirectory: connectedvmware - Version: '1.0.0' - azure-mgmt-oep: - ServiceDirectory: oep - Version: '1.0.0b2' - azure-mgmt-devhub: - ServiceDirectory: devhub - Version: '1.0.0b1' - azure-mgmt-consumption: - ServiceDirectory: consumption - Version: '11.0.0b1' - azure-mgmt-managedapplications: - ServiceDirectory: managedapplications - Version: '1.0.0b1' - azure-mgmt-changeanalysis: - ServiceDirectory: changeanalysis - Version: '1.0.0' azure-mgmt-advisor: ServiceDirectory: advisor Version: '10.0.0b1' - azure-mgmt-operationsmanagement: - ServiceDirectory: operationsmanagement - Version: '2.0.0b1' - azure-mgmt-edgegateway: - ServiceDirectory: edgegateway - Version: '0.1.0' - azure-mgmt-servermanager: - ServiceDirectory: servermanager - Version: '2.0.0' - azure-mgmt-iothub: - ServiceDirectory: iothub - Version: '3.0.0' - azure-mgmt-iothubprovisioningservices: - ServiceDirectory: iothub - Version: '1.2.0b2' - azure-mgmt-iotcentral: - ServiceDirectory: iothub - Version: '10.0.0b2' - azure-mgmt-scheduler: - ServiceDirectory: scheduler - Version: '7.0.0b1' - azure-mgmt-managedservices: - ServiceDirectory: managedservices - Version: '7.0.0b1' - azure-mgmt-datafactory: - ServiceDirectory: datafactory - Version: '6.0.0' - azure-mgmt-signalr: - ServiceDirectory: signalr - Version: '2.0.0b2' - azure-mgmt-extendedlocation: - ServiceDirectory: extendedlocation - Version: '1.2.0b1' - azure-mgmt-automation: - ServiceDirectory: automation - Version: '1.1.0b3' - azure-mgmt-networkcloud: - ServiceDirectory: networkcloud - Version: '1.0.0' - azure-mgmt-appcomplianceautomation: - ServiceDirectory: appcomplianceautomation - Version: '1.0.0b1' - azure-mgmt-billing: - ServiceDirectory: billing - Version: '6.1.0b1' - azure-mgmt-media: - ServiceDirectory: media - Version: '10.2.0' - azure-mgmt-dnsresolver: - ServiceDirectory: dnsresolver - Version: '1.1.0b1' - azure-mgmt-storagecache: - ServiceDirectory: storage - Version: '1.6.0b1' - azure-mgmt-storage: - ServiceDirectory: storage - Version: '21.1.0' - azure-mgmt-storagesync: - ServiceDirectory: storage - Version: '2.0.0b1' - azure-mgmt-storageimportexport: - ServiceDirectory: storage - Version: '1.0.0b2' - azure-mgmt-timeseriesinsights: - ServiceDirectory: timeseriesinsights - Version: '2.0.0b1' - azure-mgmt-synapse: - ServiceDirectory: synapse - Version: '2.1.0b7' - azure-mgmt-resourceconnector: - ServiceDirectory: resourceconnector - Version: '1.0.0' - azure-mgmt-notificationhubs: - ServiceDirectory: notificationhubs - Version: '8.1.0b1' - azure-mgmt-powerbiembedded: - ServiceDirectory: powerbiembedded - Version: '2.0.0' - azure-mgmt-streamanalytics: - ServiceDirectory: streamanalytics - Version: '2.0.0b2' - azure-mgmt-customproviders: - ServiceDirectory: customproviders - Version: '1.1.0b1' - azure-mgmt-containerregistry: - ServiceDirectory: containerregistry - Version: '10.3.0' - azure-mgmt-web: - ServiceDirectory: appservice - Version: '7.2.0' - azure-mgmt-monitor: - ServiceDirectory: monitor - Version: '6.0.2' - azure-mgmt-managednetworkfabric: - ServiceDirectory: managednetworkfabric - Version: '1.0.0' - azure-mgmt-appplatform: - ServiceDirectory: appplatform - Version: '9.0.0' - azure-mgmt-msi: - ServiceDirectory: resources - Version: '7.1.0b1' - azure-mgmt-resource: - ServiceDirectory: resources - Version: '23.1.0b2' - azure-mgmt-resourcegraph: - ServiceDirectory: resources - Version: '8.1.0b3' - azure-mgmt-databox: - ServiceDirectory: databox - Version: '2.0.0' - azure-mgmt-maps: - ServiceDirectory: maps - Version: '2.1.0' - azure-mgmt-education: - ServiceDirectory: education - Version: '1.0.0b2' - azure-mgmt-costmanagement: - ServiceDirectory: costmanagement - Version: '4.0.1' - azure-mgmt-workloadmonitor: - ServiceDirectory: workloadmonitor - Version: '1.0.0b4' - azure-mgmt-cognitiveservices: - ServiceDirectory: cognitiveservices - Version: '13.5.0' - azure-mgmt-workloads: - ServiceDirectory: workloads - Version: '1.0.0' - azure-mgmt-datadog: - ServiceDirectory: datadog - Version: '2.1.0' - azure-mgmt-resourcemover: - ServiceDirectory: resourcemover - Version: '1.1.0' - azure-mgmt-paloaltonetworksngfw: - ServiceDirectory: paloaltonetworks - Version: '2.0.0b1' - azure-mgmt-recoveryservicessiterecovery: - ServiceDirectory: recoveryservices - Version: '1.2.0' - azure-mgmt-recoveryservices: - ServiceDirectory: recoveryservices - Version: '2.5.0' - azure-mgmt-recoveryservicesbackup: - ServiceDirectory: recoveryservices - Version: '9.0.0' - azure-mgmt-vmwarecloudsimple: - ServiceDirectory: compute - Version: '1.0.0b2' - azure-mgmt-avs: - ServiceDirectory: compute - Version: '8.0.0' - azure-mgmt-compute: - ServiceDirectory: compute - Version: '30.5.0' - azure-mgmt-imagebuilder: - ServiceDirectory: compute - Version: '1.3.0' - azure-mgmt-portal: - ServiceDirectory: portal - Version: '1.1.0b1' - azure-mgmt-logic: - ServiceDirectory: logic - Version: '10.1.0b1' - azure-mgmt-graphservices: - ServiceDirectory: graphservices - Version: '1.0.0' - azure-mgmt-deploymentmanager: - ServiceDirectory: deploymentmanager - Version: '2.0.0b1' - azure-mgmt-azurearcdata: - ServiceDirectory: azurearcdata - Version: '2.0.0b1' - azure-mgmt-selfhelp: - ServiceDirectory: selfhelp - Version: '2.0.0b2' - azure-mgmt-baremetalinfrastructure: - ServiceDirectory: baremetalinfrastructure - Version: '1.1.0b2' - azure-mgmt-cosmosdbforpostgresql: - ServiceDirectory: cosmosdbforpostgresql - Version: '1.0.0' - azure-mgmt-newrelicobservability: - ServiceDirectory: newrelicobservability - Version: '1.0.0' - azure-mgmt-redhatopenshift: - ServiceDirectory: redhatopenshift - Version: '1.4.0' - azure-mgmt-cdn: - ServiceDirectory: cdn - Version: '13.0.0' - azure-mgmt-datalake-store: - ServiceDirectory: datalake - Version: '1.1.0b1' - azure-mgmt-datalake-analytics: - ServiceDirectory: datalake - Version: '1.0.0b2' - azure-mgmt-quantum: - ServiceDirectory: quantum - Version: '1.0.0b4' - azure-mgmt-astro: - ServiceDirectory: astro - Version: '1.0.0b1' - azure-mgmt-sphere: - ServiceDirectory: sphere - Version: '1.0.0b1' - azure-mgmt-datalake-nspkg: - ServiceDirectory: nspkg - Version: '3.0.1' - azure-mgmt-nspkg: - ServiceDirectory: nspkg - Version: '3.0.2' - azure-mgmt-keyvault: - ServiceDirectory: keyvault - Version: '10.3.0' - azure-mgmt-azurestackhci: - ServiceDirectory: azurestackhci - Version: '8.0.0b3' - azure-mgmt-hybridconnectivity: - ServiceDirectory: hybridconnectivity - Version: '1.0.0' - azure-mgmt-managementpartner: - ServiceDirectory: managementpartner - Version: '1.1.0b1' - azure-mgmt-serialconsole: - ServiceDirectory: serialconsole - Version: '1.1.0b1' - azure-mgmt-security: - ServiceDirectory: security - Version: '6.0.0' - azure-mgmt-dashboard: - ServiceDirectory: dashboard - Version: '1.1.0' - azure-mgmt-kusto: - ServiceDirectory: kusto - Version: '3.3.0' - azure-mgmt-communication: - ServiceDirectory: communication - Version: '2.1.0b2' - azure-mgmt-regionmove: - ServiceDirectory: regionmove - Version: '1.0.0b1' - azure-mgmt-hybridkubernetes: - ServiceDirectory: hybridkubernetes - Version: '1.2.0b1' - azure-mgmt-servicefabricmanagedclusters: - ServiceDirectory: servicefabricmanagedclusters - Version: '2.0.0b6' - azure-mgmt-commerce: - ServiceDirectory: commerce - Version: '6.1.0b1' - azure-mgmt-orbital: - ServiceDirectory: orbital - Version: '2.0.0' - azure-mgmt-servicelinker: - ServiceDirectory: servicelinker - Version: '1.2.0b1' - azure-mgmt-servicenetworking: - ServiceDirectory: servicenetworking - Version: '1.0.0' - azure-mgmt-servicefabric: - ServiceDirectory: servicefabric - Version: '2.2.0b1' - azure-mgmt-elastic: - ServiceDirectory: elastic - Version: '1.1.0b3' - azure-mgmt-securitydevops: - ServiceDirectory: securitydevops - Version: '1.0.0b2' - azure-mgmt: - ServiceDirectory: core - Version: '5.0.0' - azure-mgmt-core: - ServiceDirectory: core - Version: '1.4.0' - azure-mgmt-alertsmanagement: - ServiceDirectory: alertsmanagement - Version: '2.0.0b2' - azure-mgmt-support: - ServiceDirectory: support - Version: '6.1.0b2' - azure-mgmt-containerinstance: - ServiceDirectory: containerinstance - Version: '10.1.0' - azure-mgmt-hdinsight: - ServiceDirectory: hdinsight - Version: '9.0.0' - azure-mgmt-hdinsightcontainers: - ServiceDirectory: hdinsight - Version: '1.0.0b1' - azure-mgmt-marketplaceordering: - ServiceDirectory: marketplaceordering - Version: '1.2.0b1' - azure-mgmt-deviceupdate: - ServiceDirectory: deviceupdate - Version: '1.1.0' - azure-mgmt-reservations: - ServiceDirectory: reservations - Version: '2.3.0' - azure-mgmt-apimanagement: - ServiceDirectory: apimanagement - Version: '4.0.0' - azure-mgmt-containerservice: - ServiceDirectory: containerservice - Version: '29.1.0' - azure-mgmt-containerservicefleet: - ServiceDirectory: containerservice - Version: '1.0.0' - azure-mgmt-defendereasm: - ServiceDirectory: defendereasm - Version: '1.0.0b1' - azure-mgmt-search: - ServiceDirectory: search - Version: '9.1.0' - azure-mgmt-loganalytics: - ServiceDirectory: loganalytics - Version: '13.0.0b6' - azure-mgmt-authorization: - ServiceDirectory: authorization - Version: '4.0.0' - azure-mgmt-servicebus: - ServiceDirectory: servicebus - Version: '8.2.0' - azure-mgmt-batch: - ServiceDirectory: batch - Version: '17.2.0' - azure-mgmt-iotfirmwaredefense: - ServiceDirectory: iotfirmwaredefense - Version: '1.0.0b1' - azure-mgmt-peering: - ServiceDirectory: peering - Version: '2.0.0b1' - azure-mgmt-redis: - ServiceDirectory: redis - Version: '14.3.0' - azure-mgmt-hanaonazure: - ServiceDirectory: hanaonazure - Version: '1.1.0b1' - azure-mgmt-quota: - ServiceDirectory: quota - Version: '1.1.0' - azure-mgmt-webpubsub: - ServiceDirectory: webpubsub - Version: '2.0.0b2' - azure-mgmt-databricks: - ServiceDirectory: databricks - Version: '2.0.0' - azure-mgmt-appconfiguration: - ServiceDirectory: appconfiguration - Version: '3.0.0' - azure-mgmt-hybridcompute: - ServiceDirectory: hybridcompute - Version: '9.0.0b1' - azure-mgmt-managementgroups: - ServiceDirectory: managementgroups - Version: '1.1.0b1' - azure-mgmt-edgeorder: - ServiceDirectory: edgeorder - Version: '2.0.0b1' - azure-mgmt-networkanalytics: - ServiceDirectory: networkanalytics - Version: '1.0.0' - azure-mgmt-qumulo: - ServiceDirectory: qumulo - Version: '1.0.0' - azure-mgmt-nginx: - ServiceDirectory: nginx - Version: '3.0.0' - azure-mgmt-dns: - ServiceDirectory: network - Version: '8.1.0' - azure-mgmt-network: - ServiceDirectory: network - Version: '25.3.0' - azure-mgmt-privatedns: - ServiceDirectory: network - Version: '1.1.0' - azure-mgmt-frontdoor: - ServiceDirectory: network - Version: '1.1.0' - azure-mgmt-digitaltwins: - ServiceDirectory: digitaltwins - Version: '6.4.0' - azure-mgmt-hybridnetwork: - ServiceDirectory: hybridnetwork - Version: '2.0.0' - azure-mgmt-playwrighttesting: - ServiceDirectory: playwrighttesting - Version: '1.0.0b2' - azure-mgmt-azurelargeinstance: - ServiceDirectory: azurelargeinstance - Version: '1.0.0b1' - azure-mgmt-datamigration: - ServiceDirectory: datamigration - Version: '10.1.0b1' - azure-mgmt-voiceservices: - ServiceDirectory: voiceservices - Version: '1.0.0' - azure-mgmt-policyinsights: - ServiceDirectory: policyinsights - Version: '1.1.0b4' - azure-mgmt-storagemover: - ServiceDirectory: storagemover - Version: '2.0.0' - azure-mgmt-subscription: - ServiceDirectory: subscription - Version: '3.2.0b1' - azure-mgmt-hybridcontainerservice: - ServiceDirectory: hybridcontainerservice - Version: '1.0.0' - azure-mgmt-kubernetesconfiguration: - ServiceDirectory: kubernetesconfiguration - Version: '3.1.0' - azure-mgmt-recoveryservicesdatareplication: - ServiceDirectory: recoveryservicesdatareplication - Version: '1.0.0b1' - azure-mgmt-devspaces: - ServiceDirectory: aks - Version: '1.0.0b3' - azure-mgmt-storagepool: - ServiceDirectory: storagepool - Version: '1.1.0b1' - azure-mgmt-securityinsight: - ServiceDirectory: securityinsight - Version: '2.0.0b2' - azure-mgmt-cosmosdb: - ServiceDirectory: cosmos - Version: '10.0.0b2' - azure-mgmt-documentdb: - ServiceDirectory: cosmos - Version: '0.1.3' - azure-mgmt-batchai: - ServiceDirectory: batchai - Version: '7.0.0b1' - azure-mgmt-attestation: - ServiceDirectory: attestation - Version: '2.0.0b1' - azure-mgmt-healthbot: - ServiceDirectory: healthbot - Version: '1.0.0b2' - azure-mgmt-resourcehealth: - ServiceDirectory: resourcehealth - Version: '1.0.0b5' - azure-mgmt-dynatrace: - ServiceDirectory: dynatrace - Version: '2.0.0' - azure-mgmt-guestconfig: - ServiceDirectory: machinelearning - Version: '1.0.0b2' - azure-mgmt-machinelearningservices: - ServiceDirectory: machinelearning - Version: '2.0.0b2' - azure-mgmt-machinelearningcompute: - ServiceDirectory: machinelearning - Version: '1.0.0b2' - azure-mgmt-agrifood: - ServiceDirectory: agrifood - Version: '1.0.0b3' - azure-mgmt-dataprotection: - ServiceDirectory: dataprotection - Version: '1.3.0' - azure-mgmt-labservices: - ServiceDirectory: labservices - Version: '2.1.0b1' - azure-mgmt-testbase: - ServiceDirectory: testbase - Version: '1.0.0b2' - azure-mgmt-confluent: - ServiceDirectory: confluent - Version: '2.0.0' - azure-mgmt-chaos: - ServiceDirectory: chaos - Version: '1.1.0' - azure-mgmt-confidentialledger: - ServiceDirectory: confidentialledger - Version: '2.0.0b3' - azure-mgmt-databoxedge: - ServiceDirectory: databoxedge - Version: '2.0.0b1' - azure-mgmt-loadtesting: - ServiceDirectory: loadtesting - Version: '1.0.0' - azure-mgmt-mixedreality: - ServiceDirectory: mixedreality - Version: '1.1.0b1' - azure-mgmt-eventhub: - ServiceDirectory: eventhub - Version: '11.0.0' - azure-mgmt-scvmm: - ServiceDirectory: scvmm - Version: '1.0.0b2' - azure-mgmt-devcenter: - ServiceDirectory: devcenter - Version: '1.1.0b1' - azure-mgmt-rdbms: - ServiceDirectory: rdbms - Version: '10.2.0b15' - azure-mgmt-app: - ServiceDirectory: app - Version: '1.0.0b2' - azure-mgmt-netapp: - ServiceDirectory: netapp - Version: '12.0.0b1' - azure-mgmt-elasticsan: - ServiceDirectory: elasticsan - Version: '1.0.0' - azure-mgmt-relay: - ServiceDirectory: relay - Version: '2.0.0b1' - azure-mgmt-datashare: - ServiceDirectory: datashare - Version: '1.1.0b1' - azure-mgmt-devtestlabs: - ServiceDirectory: devtestlabs - Version: '10.0.0b1' - azure-mgmt-billingbenefits: - ServiceDirectory: billingbenefits - Version: '1.0.0b1' - azure-mgmt-purview: - ServiceDirectory: purview - Version: '1.1.0b1' - azure-mgmt-applicationinsights: - ServiceDirectory: applicationinsights - Version: '4.0.0' - azure-mgmt-logz: - ServiceDirectory: logz - Version: '1.1.0b1' - azure-mgmt-eventgrid: - ServiceDirectory: eventgrid - Version: '10.3.0b3' - azure-mgmt-healthcareapis: - ServiceDirectory: healthcareapis - Version: '2.0.0' - azure-mgmt-trafficmanager: - ServiceDirectory: trafficmanager - Version: '1.1.0' - azure-mgmt-videoanalyzer: - ServiceDirectory: videoanalyzer - Version: '1.0.0b4' - azure-mgmt-redisenterprise: - ServiceDirectory: redisenterprise - Version: '3.0.0' - azure-mgmt-desktopvirtualization: - ServiceDirectory: desktopvirtualization - Version: '1.1.0' - azure-mgmt-apicenter: - ServiceDirectory: apicenter - Version: '1.0.0' - azure-mgmt-automanage: - ServiceDirectory: automanage - Version: '2.0.0b1' - azure-mgmt-maintenance: - ServiceDirectory: maintenance - Version: '2.2.0b1' - azure-mgmt-appcontainers: - ServiceDirectory: appcontainers - Version: '3.0.0' - azure-mgmt-mobilenetwork: - ServiceDirectory: mobilenetwork - Version: '3.1.0' - azure-mgmt-fluidrelay: - ServiceDirectory: fluidrelay - Version: '1.1.0b1' - azure-mgmt-hardwaresecuritymodules: - ServiceDirectory: hardwaresecuritymodules - Version: '1.0.0b1' - azure-mgmt-springappdiscovery: - ServiceDirectory: springappdiscovery - Version: '1.0.0b1' - azure-mgmt-botservice: - ServiceDirectory: botservice - Version: '2.0.0' - azure-mgmt-sql: - ServiceDirectory: sql - Version: '4.0.0b15' - azure-mgmt-sqlvirtualmachine: - ServiceDirectory: sql - Version: '1.0.0b6' - azure-mgmt-networkfunction: - ServiceDirectory: networkfunction - Version: '1.0.0b1' - azure-mgmt-powerbidedicated: - ServiceDirectory: powerbidedicated - Version: '1.1.0b1' - azure-mgmt-azurestack: - ServiceDirectory: azurestack - Version: '2.0.0b1' - - job: - task: UsePythonVersion@0 From 66898717e94b858d75eead2d7b572611d2390d71 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 17:17:47 -0700 Subject: [PATCH 04/38] try steps --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 9a5af0e160b8..3d108c496011 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -6,7 +6,7 @@ ServiceDirectory: advisor Version: '10.0.0b1' - job: + steps: - task: UsePythonVersion@0 displayName: 'Use Python 3.11' inputs: From 962597f2b3eae27ee9b05d999ee8c68ae5c4bdeb Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 17:20:39 -0700 Subject: [PATCH 05/38] try fix --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 3d108c496011..14cec8143d86 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -28,17 +28,17 @@ inputs: scriptPath: 'checkout_tag.py' arguments: >- - --package="${{ pkg }}" - --service="${{ pkg.value.ServiceDirectory }}" - --version="${{ pkg.value.Version }}" + --package=${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} + --version=${{ pkg.value.Version }} - task: PythonScript@0 displayName: 'Generate Docs' inputs: scriptPath: 'scripts/devops_tasks/dispatch_tox.py' arguments: >- - "${{ pkg }}" - --service="${{ pkg.value.ServiceDirectory }}" + ${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} --dest-dir="$(Build.ArtifactStagingDirectory)" --toxenv=sphinx \ No newline at end of file From 54d932b2607bfa6e7800d18ee402f0ffc73c6797 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 17:28:43 -0700 Subject: [PATCH 06/38] add script paths --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 14cec8143d86..0272189ef916 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -15,7 +15,7 @@ - task: PythonScript@0 displayName: 'checkout eng/tools/doc/scripts from main' inputs: - scriptPath: 'checkout_eng.py' + scriptPath: 'doc/sphinx/temp_mgmt/checkout_eng.py' - script: | python -m pip install setuptools==58.3.0 @@ -26,7 +26,7 @@ - task: PythonScript@0 displayName: 'checkout library tag' inputs: - scriptPath: 'checkout_tag.py' + scriptPath: 'doc/sphinx/temp_mgmt/checkout_tag.py' arguments: >- --package=${{ pkg.key }} --service=${{ pkg.value.ServiceDirectory }} From 9ec91831f275570ceb35255ed939e1e7de113416 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 17:33:22 -0700 Subject: [PATCH 07/38] add main to eng file --- doc/sphinx/temp_mgmt/checkout_eng.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/sphinx/temp_mgmt/checkout_eng.py b/doc/sphinx/temp_mgmt/checkout_eng.py index 5b3cc3df6b59..feede5c86feb 100644 --- a/doc/sphinx/temp_mgmt/checkout_eng.py +++ b/doc/sphinx/temp_mgmt/checkout_eng.py @@ -63,7 +63,10 @@ def move_dirs(path): shutil.move(os.path.join(path, "tmp", "doc"), os.path.join(path, "doc")) shutil.move(os.path.join(path, "tmp", "scripts"), os.path.join(path, "scripts")) -get_eng_from_main( - assembly_area=os.getcwd(), -) -move_dirs(os.getcwd()) \ No newline at end of file + +if __name__ == "__main__": + + get_eng_from_main( + assembly_area=os.getcwd(), + ) + move_dirs(os.getcwd()) \ No newline at end of file From bdf81cd74ff379023bd1478f1ab49f41f71995af Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 18:07:21 -0700 Subject: [PATCH 08/38] test older pkg --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 0272189ef916..fed40b7e2981 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -4,7 +4,7 @@ default: azure-mgmt-advisor: ServiceDirectory: advisor - Version: '10.0.0b1' + Version: '9.0.0' steps: - task: UsePythonVersion@0 @@ -41,4 +41,8 @@ --service=${{ pkg.value.ServiceDirectory }} --dest-dir="$(Build.ArtifactStagingDirectory)" --toxenv=sphinx - \ No newline at end of file + + - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml + parameters: + ArtifactPath: "$(Build.ArtifactStagingDirectory)" + ArtifactName: 'documentation' From 71ef3f9f5d1206d872c3e915cdb19ee5af72a798 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 18:11:59 -0700 Subject: [PATCH 09/38] try different template --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index fed40b7e2981..8f2f9711dde1 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -42,7 +42,7 @@ --dest-dir="$(Build.ArtifactStagingDirectory)" --toxenv=sphinx - - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml + - template: /eng/common/pipelines/templates/steps/publish-artifact.yml parameters: ArtifactPath: "$(Build.ArtifactStagingDirectory)" ArtifactName: 'documentation' From 65093d1a445049134a766ee32c33eb785a9d9a6e Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 13 Mar 2024 18:22:50 -0700 Subject: [PATCH 10/38] try updating path --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 8f2f9711dde1..b18d332543d9 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -35,7 +35,7 @@ - task: PythonScript@0 displayName: 'Generate Docs' inputs: - scriptPath: 'scripts/devops_tasks/dispatch_tox.py' + scriptPath: 'doc/sphinx/temp_mgmt/scripts/devops_tasks/dispatch_tox.py' arguments: >- ${{ pkg.key }} --service=${{ pkg.value.ServiceDirectory }} From 00d988c2a2ccc9325e7203e85dea2e3db57125be Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 10:23:54 -0700 Subject: [PATCH 11/38] simplify --- doc/sphinx/temp_mgmt/checkout_tag.py | 14 +++++--------- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 7 +------ 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/doc/sphinx/temp_mgmt/checkout_tag.py b/doc/sphinx/temp_mgmt/checkout_tag.py index bfd6cd7bfdee..f4389e4243cb 100644 --- a/doc/sphinx/temp_mgmt/checkout_tag.py +++ b/doc/sphinx/temp_mgmt/checkout_tag.py @@ -1,13 +1,9 @@ import os import argparse import shutil +import pathlib from checkout_eng import prep_directory, invoke_command, cleanup_directory - - -def rewrite_dev_reqs(path: str) -> None: - with open(f"{path}/dev_requirements.txt", "w") as file: - file.writelines("-e ../../../tools/azure-sdk-tools\n") - file.writelines("-e ../../../tools/azure-devtools") +root = pathlib.Path(__file__).resolve().parent.parent.parent.parent def get_release_tag( @@ -25,11 +21,11 @@ def get_release_tag( invoke_command(f"git sparse-checkout init", clone_folder) invoke_command(f'git sparse-checkout add "{checkout_path}"', clone_folder) invoke_command(f"git -c advice.detachedHead=false checkout {target_package}_{target_version}", clone_folder) - rewrite_dev_reqs(os.path.join(clone_folder, checkout_path)) + cleanup_directory(os.path.join(root, "sdk", service_directory, target_package)) shutil.move( - os.path.join(assembly_area, "python-sdk", "sdk", service_directory), - os.path.join(assembly_area, "sdk", service_directory) + os.path.join(assembly_area, "python-sdk", "sdk", service_directory, target_package), + os.path.join(root, "sdk", service_directory) ) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index b18d332543d9..f2adfeb482c3 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -12,11 +12,6 @@ inputs: versionSpec: '3.11' - - task: PythonScript@0 - displayName: 'checkout eng/tools/doc/scripts from main' - inputs: - scriptPath: 'doc/sphinx/temp_mgmt/checkout_eng.py' - - script: | python -m pip install setuptools==58.3.0 python -m pip install -r eng/ci_tools.txt @@ -35,7 +30,7 @@ - task: PythonScript@0 displayName: 'Generate Docs' inputs: - scriptPath: 'doc/sphinx/temp_mgmt/scripts/devops_tasks/dispatch_tox.py' + scriptPath: 'scripts/devops_tasks/dispatch_tox.py' arguments: >- ${{ pkg.key }} --service=${{ pkg.value.ServiceDirectory }} From 2f54a9e7928c2890797fb332e6508c248d9cb950 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 10:31:23 -0700 Subject: [PATCH 12/38] try publish again --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index f2adfeb482c3..ed79a3394e43 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -34,10 +34,9 @@ arguments: >- ${{ pkg.key }} --service=${{ pkg.value.ServiceDirectory }} - --dest-dir="$(Build.ArtifactStagingDirectory)" --toxenv=sphinx - template: /eng/common/pipelines/templates/steps/publish-artifact.yml parameters: - ArtifactPath: "$(Build.ArtifactStagingDirectory)" + ArtifactPath: '$(Build.SourcesDirectory)/_docs' ArtifactName: 'documentation' From 503b9b43568bb74235c9691fe8d802e1985b58e0 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 10:39:17 -0700 Subject: [PATCH 13/38] try multiple libraries --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index ed79a3394e43..bd8d16cd206a 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -5,6 +5,12 @@ azure-mgmt-advisor: ServiceDirectory: advisor Version: '9.0.0' + azure-mgmt-iothub: + ServiceDirectory: iothub + Version: '3.0.0' + azure-mgmt-iothubprovisioningservices: + ServiceDirectory: iothub + Version: '1.2.0b2' steps: - task: UsePythonVersion@0 From b1bf36816e22a508c54066b84c702da1cea03de5 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 12:40:13 -0700 Subject: [PATCH 14/38] add all mgmt packages --- .../temp_mgmt/publish_all_mgmt_docs.yml | 602 +++++++++++++++++- 1 file changed, 601 insertions(+), 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index bd8d16cd206a..70e099bbba30 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -2,15 +2,615 @@ - name: MgmtPackages type: object default: + azure-mgmt-connectedvmware: + ServiceDirectory: connectedvmware + Version: '1.0.0' + azure-mgmt-oep: + ServiceDirectory: oep + Version: '1.0.0b2' + azure-mgmt-devhub: + ServiceDirectory: devhub + Version: '1.0.0b1' + azure-mgmt-consumption: + ServiceDirectory: consumption + Version: '11.0.0b1' + azure-mgmt-managedapplications: + ServiceDirectory: managedapplications + Version: '1.0.0b1' + azure-mgmt-changeanalysis: + ServiceDirectory: changeanalysis + Version: '1.0.0' azure-mgmt-advisor: ServiceDirectory: advisor - Version: '9.0.0' + Version: '10.0.0b1' + azure-mgmt-operationsmanagement: + ServiceDirectory: operationsmanagement + Version: '2.0.0b1' + azure-mgmt-edgegateway: + ServiceDirectory: edgegateway + Version: '0.1.0' + azure-mgmt-servermanager: + ServiceDirectory: servermanager + Version: '2.0.0' azure-mgmt-iothub: ServiceDirectory: iothub Version: '3.0.0' azure-mgmt-iothubprovisioningservices: ServiceDirectory: iothub Version: '1.2.0b2' + azure-mgmt-iotcentral: + ServiceDirectory: iothub + Version: '10.0.0b2' + azure-mgmt-scheduler: + ServiceDirectory: scheduler + Version: '7.0.0b1' + azure-mgmt-managedservices: + ServiceDirectory: managedservices + Version: '7.0.0b1' + azure-mgmt-datafactory: + ServiceDirectory: datafactory + Version: '6.0.0' + azure-mgmt-signalr: + ServiceDirectory: signalr + Version: '2.0.0b2' + azure-mgmt-extendedlocation: + ServiceDirectory: extendedlocation + Version: '1.2.0b1' + azure-mgmt-automation: + ServiceDirectory: automation + Version: '1.1.0b3' + azure-mgmt-networkcloud: + ServiceDirectory: networkcloud + Version: '1.0.0' + azure-mgmt-appcomplianceautomation: + ServiceDirectory: appcomplianceautomation + Version: '1.0.0b1' + azure-mgmt-billing: + ServiceDirectory: billing + Version: '6.1.0b1' + azure-mgmt-media: + ServiceDirectory: media + Version: '10.2.0' + azure-mgmt-dnsresolver: + ServiceDirectory: dnsresolver + Version: '1.1.0b1' + azure-mgmt-storagecache: + ServiceDirectory: storage + Version: '1.6.0b1' + azure-mgmt-storage: + ServiceDirectory: storage + Version: '21.1.0' + azure-mgmt-storagesync: + ServiceDirectory: storage + Version: '2.0.0b1' + azure-mgmt-storageimportexport: + ServiceDirectory: storage + Version: '1.0.0b2' + azure-mgmt-timeseriesinsights: + ServiceDirectory: timeseriesinsights + Version: '2.0.0b1' + azure-mgmt-synapse: + ServiceDirectory: synapse + Version: '2.1.0b7' + azure-mgmt-resourceconnector: + ServiceDirectory: resourceconnector + Version: '1.0.0' + azure-mgmt-notificationhubs: + ServiceDirectory: notificationhubs + Version: '8.1.0b1' + azure-mgmt-powerbiembedded: + ServiceDirectory: powerbiembedded + Version: '2.0.0' + azure-mgmt-streamanalytics: + ServiceDirectory: streamanalytics + Version: '2.0.0b2' + azure-mgmt-customproviders: + ServiceDirectory: customproviders + Version: '1.1.0b1' + azure-mgmt-containerregistry: + ServiceDirectory: containerregistry + Version: '10.3.0' + azure-mgmt-web: + ServiceDirectory: appservice + Version: '7.2.0' + azure-mgmt-monitor: + ServiceDirectory: monitor + Version: '6.0.2' + azure-mgmt-managednetworkfabric: + ServiceDirectory: managednetworkfabric + Version: '1.0.0' + azure-mgmt-appplatform: + ServiceDirectory: appplatform + Version: '9.0.0' + azure-mgmt-msi: + ServiceDirectory: resources + Version: '7.1.0b1' + azure-mgmt-resource: + ServiceDirectory: resources + Version: '23.1.0b2' + azure-mgmt-resourcegraph: + ServiceDirectory: resources + Version: '8.1.0b3' + azure-mgmt-databox: + ServiceDirectory: databox + Version: '2.0.0' + azure-mgmt-maps: + ServiceDirectory: maps + Version: '2.1.0' + azure-mgmt-education: + ServiceDirectory: education + Version: '1.0.0b2' + azure-mgmt-costmanagement: + ServiceDirectory: costmanagement + Version: '4.0.1' + azure-mgmt-workloadmonitor: + ServiceDirectory: workloadmonitor + Version: '1.0.0b4' + azure-mgmt-cognitiveservices: + ServiceDirectory: cognitiveservices + Version: '13.5.0' + azure-mgmt-workloads: + ServiceDirectory: workloads + Version: '1.0.0' + azure-mgmt-datadog: + ServiceDirectory: datadog + Version: '2.1.0' + azure-mgmt-resourcemover: + ServiceDirectory: resourcemover + Version: '1.1.0' + azure-mgmt-paloaltonetworksngfw: + ServiceDirectory: paloaltonetworks + Version: '2.0.0b1' + azure-mgmt-recoveryservicessiterecovery: + ServiceDirectory: recoveryservices + Version: '1.2.0' + azure-mgmt-recoveryservices: + ServiceDirectory: recoveryservices + Version: '2.5.0' + azure-mgmt-recoveryservicesbackup: + ServiceDirectory: recoveryservices + Version: '9.0.0' + azure-mgmt-vmwarecloudsimple: + ServiceDirectory: compute + Version: '1.0.0b2' + azure-mgmt-avs: + ServiceDirectory: compute + Version: '8.0.0' + azure-mgmt-compute: + ServiceDirectory: compute + Version: '30.5.0' + azure-mgmt-imagebuilder: + ServiceDirectory: compute + Version: '1.3.0' + azure-mgmt-portal: + ServiceDirectory: portal + Version: '1.1.0b1' + azure-mgmt-logic: + ServiceDirectory: logic + Version: '10.1.0b1' + azure-mgmt-graphservices: + ServiceDirectory: graphservices + Version: '1.0.0' + azure-mgmt-deploymentmanager: + ServiceDirectory: deploymentmanager + Version: '2.0.0b1' + azure-mgmt-azurearcdata: + ServiceDirectory: azurearcdata + Version: '2.0.0b1' + azure-mgmt-selfhelp: + ServiceDirectory: selfhelp + Version: '2.0.0b2' + azure-mgmt-baremetalinfrastructure: + ServiceDirectory: baremetalinfrastructure + Version: '1.1.0b2' + azure-mgmt-cosmosdbforpostgresql: + ServiceDirectory: cosmosdbforpostgresql + Version: '1.0.0' + azure-mgmt-newrelicobservability: + ServiceDirectory: newrelicobservability + Version: '1.0.0' + azure-mgmt-redhatopenshift: + ServiceDirectory: redhatopenshift + Version: '1.4.0' + azure-mgmt-cdn: + ServiceDirectory: cdn + Version: '13.0.0' + azure-mgmt-datalake-store: + ServiceDirectory: datalake + Version: '1.1.0b1' + azure-mgmt-datalake-analytics: + ServiceDirectory: datalake + Version: '1.0.0b2' + azure-mgmt-quantum: + ServiceDirectory: quantum + Version: '1.0.0b4' + azure-mgmt-astro: + ServiceDirectory: astro + Version: '1.0.0b1' + azure-mgmt-sphere: + ServiceDirectory: sphere + Version: '1.0.0b1' + azure-mgmt-datalake-nspkg: + ServiceDirectory: nspkg + Version: '3.0.1' + azure-mgmt-nspkg: + ServiceDirectory: nspkg + Version: '3.0.2' + azure-mgmt-keyvault: + ServiceDirectory: keyvault + Version: '10.3.0' + azure-mgmt-azurestackhci: + ServiceDirectory: azurestackhci + Version: '8.0.0b3' + azure-mgmt-hybridconnectivity: + ServiceDirectory: hybridconnectivity + Version: '1.0.0' + azure-mgmt-managementpartner: + ServiceDirectory: managementpartner + Version: '1.1.0b1' + azure-mgmt-serialconsole: + ServiceDirectory: serialconsole + Version: '1.1.0b1' + azure-mgmt-security: + ServiceDirectory: security + Version: '6.0.0' + azure-mgmt-dashboard: + ServiceDirectory: dashboard + Version: '1.1.0' + azure-mgmt-kusto: + ServiceDirectory: kusto + Version: '3.3.0' + azure-mgmt-communication: + ServiceDirectory: communication + Version: '2.1.0b2' + azure-mgmt-regionmove: + ServiceDirectory: regionmove + Version: '1.0.0b1' + azure-mgmt-hybridkubernetes: + ServiceDirectory: hybridkubernetes + Version: '1.2.0b1' + azure-mgmt-servicefabricmanagedclusters: + ServiceDirectory: servicefabricmanagedclusters + Version: '2.0.0b6' + azure-mgmt-commerce: + ServiceDirectory: commerce + Version: '6.1.0b1' + azure-mgmt-orbital: + ServiceDirectory: orbital + Version: '2.0.0' + azure-mgmt-servicelinker: + ServiceDirectory: servicelinker + Version: '1.2.0b1' + azure-mgmt-servicenetworking: + ServiceDirectory: servicenetworking + Version: '1.0.0' + azure-mgmt-servicefabric: + ServiceDirectory: servicefabric + Version: '2.2.0b1' + azure-mgmt-elastic: + ServiceDirectory: elastic + Version: '1.1.0b3' + azure-mgmt-securitydevops: + ServiceDirectory: securitydevops + Version: '1.0.0b2' + azure-mgmt: + ServiceDirectory: core + Version: '5.0.0' + azure-mgmt-core: + ServiceDirectory: core + Version: '1.4.0' + azure-mgmt-alertsmanagement: + ServiceDirectory: alertsmanagement + Version: '2.0.0b2' + azure-mgmt-support: + ServiceDirectory: support + Version: '6.1.0b2' + azure-mgmt-containerinstance: + ServiceDirectory: containerinstance + Version: '10.1.0' + azure-mgmt-hdinsight: + ServiceDirectory: hdinsight + Version: '9.0.0' + azure-mgmt-hdinsightcontainers: + ServiceDirectory: hdinsight + Version: '1.0.0b1' + azure-mgmt-marketplaceordering: + ServiceDirectory: marketplaceordering + Version: '1.2.0b1' + azure-mgmt-deviceupdate: + ServiceDirectory: deviceupdate + Version: '1.1.0' + azure-mgmt-reservations: + ServiceDirectory: reservations + Version: '2.3.0' + azure-mgmt-apimanagement: + ServiceDirectory: apimanagement + Version: '4.0.0' + azure-mgmt-containerservice: + ServiceDirectory: containerservice + Version: '29.1.0' + azure-mgmt-containerservicefleet: + ServiceDirectory: containerservice + Version: '1.0.0' + azure-mgmt-defendereasm: + ServiceDirectory: defendereasm + Version: '1.0.0b1' + azure-mgmt-search: + ServiceDirectory: search + Version: '9.1.0' + azure-mgmt-loganalytics: + ServiceDirectory: loganalytics + Version: '13.0.0b6' + azure-mgmt-authorization: + ServiceDirectory: authorization + Version: '4.0.0' + azure-mgmt-servicebus: + ServiceDirectory: servicebus + Version: '8.2.0' + azure-mgmt-batch: + ServiceDirectory: batch + Version: '17.2.0' + azure-mgmt-iotfirmwaredefense: + ServiceDirectory: iotfirmwaredefense + Version: '1.0.0b1' + azure-mgmt-peering: + ServiceDirectory: peering + Version: '2.0.0b1' + azure-mgmt-redis: + ServiceDirectory: redis + Version: '14.3.0' + azure-mgmt-hanaonazure: + ServiceDirectory: hanaonazure + Version: '1.1.0b1' + azure-mgmt-quota: + ServiceDirectory: quota + Version: '1.1.0' + azure-mgmt-webpubsub: + ServiceDirectory: webpubsub + Version: '2.0.0b2' + azure-mgmt-databricks: + ServiceDirectory: databricks + Version: '2.0.0' + azure-mgmt-appconfiguration: + ServiceDirectory: appconfiguration + Version: '3.0.0' + azure-mgmt-hybridcompute: + ServiceDirectory: hybridcompute + Version: '9.0.0b1' + azure-mgmt-managementgroups: + ServiceDirectory: managementgroups + Version: '1.1.0b1' + azure-mgmt-edgeorder: + ServiceDirectory: edgeorder + Version: '2.0.0b1' + azure-mgmt-networkanalytics: + ServiceDirectory: networkanalytics + Version: '1.0.0' + azure-mgmt-qumulo: + ServiceDirectory: qumulo + Version: '1.0.0' + azure-mgmt-nginx: + ServiceDirectory: nginx + Version: '3.0.0' + azure-mgmt-dns: + ServiceDirectory: network + Version: '8.1.0' + azure-mgmt-network: + ServiceDirectory: network + Version: '25.3.0' + azure-mgmt-privatedns: + ServiceDirectory: network + Version: '1.1.0' + azure-mgmt-frontdoor: + ServiceDirectory: network + Version: '1.1.0' + azure-mgmt-digitaltwins: + ServiceDirectory: digitaltwins + Version: '6.4.0' + azure-mgmt-hybridnetwork: + ServiceDirectory: hybridnetwork + Version: '2.0.0' + azure-mgmt-playwrighttesting: + ServiceDirectory: playwrighttesting + Version: '1.0.0b2' + azure-mgmt-azurelargeinstance: + ServiceDirectory: azurelargeinstance + Version: '1.0.0b1' + azure-mgmt-datamigration: + ServiceDirectory: datamigration + Version: '10.1.0b1' + azure-mgmt-voiceservices: + ServiceDirectory: voiceservices + Version: '1.0.0' + azure-mgmt-policyinsights: + ServiceDirectory: policyinsights + Version: '1.1.0b4' + azure-mgmt-storagemover: + ServiceDirectory: storagemover + Version: '2.0.0' + azure-mgmt-subscription: + ServiceDirectory: subscription + Version: '3.2.0b1' + azure-mgmt-hybridcontainerservice: + ServiceDirectory: hybridcontainerservice + Version: '1.0.0' + azure-mgmt-kubernetesconfiguration: + ServiceDirectory: kubernetesconfiguration + Version: '3.1.0' + azure-mgmt-recoveryservicesdatareplication: + ServiceDirectory: recoveryservicesdatareplication + Version: '1.0.0b1' + azure-mgmt-devspaces: + ServiceDirectory: aks + Version: '1.0.0b3' + azure-mgmt-storagepool: + ServiceDirectory: storagepool + Version: '1.1.0b1' + azure-mgmt-securityinsight: + ServiceDirectory: securityinsight + Version: '2.0.0b2' + azure-mgmt-cosmosdb: + ServiceDirectory: cosmos + Version: '10.0.0b2' + azure-mgmt-documentdb: + ServiceDirectory: cosmos + Version: '0.1.3' + azure-mgmt-batchai: + ServiceDirectory: batchai + Version: '7.0.0b1' + azure-mgmt-attestation: + ServiceDirectory: attestation + Version: '2.0.0b1' + azure-mgmt-healthbot: + ServiceDirectory: healthbot + Version: '1.0.0b2' + azure-mgmt-resourcehealth: + ServiceDirectory: resourcehealth + Version: '1.0.0b5' + azure-mgmt-dynatrace: + ServiceDirectory: dynatrace + Version: '2.0.0' + azure-mgmt-guestconfig: + ServiceDirectory: machinelearning + Version: '1.0.0b2' + azure-mgmt-machinelearningservices: + ServiceDirectory: machinelearning + Version: '2.0.0b2' + azure-mgmt-machinelearningcompute: + ServiceDirectory: machinelearning + Version: '1.0.0b2' + azure-mgmt-agrifood: + ServiceDirectory: agrifood + Version: '1.0.0b3' + azure-mgmt-dataprotection: + ServiceDirectory: dataprotection + Version: '1.3.0' + azure-mgmt-labservices: + ServiceDirectory: labservices + Version: '2.1.0b1' + azure-mgmt-testbase: + ServiceDirectory: testbase + Version: '1.0.0b2' + azure-mgmt-confluent: + ServiceDirectory: confluent + Version: '2.0.0' + azure-mgmt-chaos: + ServiceDirectory: chaos + Version: '1.1.0' + azure-mgmt-confidentialledger: + ServiceDirectory: confidentialledger + Version: '2.0.0b3' + azure-mgmt-databoxedge: + ServiceDirectory: databoxedge + Version: '2.0.0b1' + azure-mgmt-loadtesting: + ServiceDirectory: loadtesting + Version: '1.0.0' + azure-mgmt-mixedreality: + ServiceDirectory: mixedreality + Version: '1.1.0b1' + azure-mgmt-eventhub: + ServiceDirectory: eventhub + Version: '11.0.0' + azure-mgmt-scvmm: + ServiceDirectory: scvmm + Version: '1.0.0b2' + azure-mgmt-devcenter: + ServiceDirectory: devcenter + Version: '1.1.0b1' + azure-mgmt-rdbms: + ServiceDirectory: rdbms + Version: '10.2.0b15' + azure-mgmt-app: + ServiceDirectory: app + Version: '1.0.0b2' + azure-mgmt-netapp: + ServiceDirectory: netapp + Version: '12.0.0b1' + azure-mgmt-elasticsan: + ServiceDirectory: elasticsan + Version: '1.0.0' + azure-mgmt-relay: + ServiceDirectory: relay + Version: '2.0.0b1' + azure-mgmt-datashare: + ServiceDirectory: datashare + Version: '1.1.0b1' + azure-mgmt-devtestlabs: + ServiceDirectory: devtestlabs + Version: '10.0.0b1' + azure-mgmt-billingbenefits: + ServiceDirectory: billingbenefits + Version: '1.0.0b1' + azure-mgmt-purview: + ServiceDirectory: purview + Version: '1.1.0b1' + azure-mgmt-applicationinsights: + ServiceDirectory: applicationinsights + Version: '4.0.0' + azure-mgmt-logz: + ServiceDirectory: logz + Version: '1.1.0b1' + azure-mgmt-eventgrid: + ServiceDirectory: eventgrid + Version: '10.3.0b3' + azure-mgmt-healthcareapis: + ServiceDirectory: healthcareapis + Version: '2.0.0' + azure-mgmt-trafficmanager: + ServiceDirectory: trafficmanager + Version: '1.1.0' + azure-mgmt-videoanalyzer: + ServiceDirectory: videoanalyzer + Version: '1.0.0b4' + azure-mgmt-redisenterprise: + ServiceDirectory: redisenterprise + Version: '3.0.0' + azure-mgmt-desktopvirtualization: + ServiceDirectory: desktopvirtualization + Version: '1.1.0' + azure-mgmt-apicenter: + ServiceDirectory: apicenter + Version: '1.0.0' + azure-mgmt-automanage: + ServiceDirectory: automanage + Version: '2.0.0b1' + azure-mgmt-maintenance: + ServiceDirectory: maintenance + Version: '2.2.0b1' + azure-mgmt-appcontainers: + ServiceDirectory: appcontainers + Version: '3.0.0' + azure-mgmt-mobilenetwork: + ServiceDirectory: mobilenetwork + Version: '3.1.0' + azure-mgmt-fluidrelay: + ServiceDirectory: fluidrelay + Version: '1.1.0b1' + azure-mgmt-hardwaresecuritymodules: + ServiceDirectory: hardwaresecuritymodules + Version: '1.0.0b1' + azure-mgmt-springappdiscovery: + ServiceDirectory: springappdiscovery + Version: '1.0.0b1' + azure-mgmt-botservice: + ServiceDirectory: botservice + Version: '2.0.0' + azure-mgmt-sql: + ServiceDirectory: sql + Version: '4.0.0b15' + azure-mgmt-sqlvirtualmachine: + ServiceDirectory: sql + Version: '1.0.0b6' + azure-mgmt-networkfunction: + ServiceDirectory: networkfunction + Version: '1.0.0b1' + azure-mgmt-powerbidedicated: + ServiceDirectory: powerbidedicated + Version: '1.1.0b1' + azure-mgmt-azurestack: + ServiceDirectory: azurestack + Version: '2.0.0b1' steps: - task: UsePythonVersion@0 From 9a92c727e5e09e7209dd83668beb222d11e83ecf Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 12:52:27 -0700 Subject: [PATCH 15/38] update list of packages --- .../temp_mgmt/publish_all_mgmt_docs.yml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 70e099bbba30..591801db7f31 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -49,7 +49,7 @@ Version: '7.0.0b1' azure-mgmt-datafactory: ServiceDirectory: datafactory - Version: '6.0.0' + Version: '6.1.0' azure-mgmt-signalr: ServiceDirectory: signalr Version: '2.0.0b2' @@ -178,7 +178,7 @@ Version: '8.0.0' azure-mgmt-compute: ServiceDirectory: compute - Version: '30.5.0' + Version: '30.6.0' azure-mgmt-imagebuilder: ServiceDirectory: compute Version: '1.3.0' @@ -205,10 +205,10 @@ Version: '1.1.0b2' azure-mgmt-cosmosdbforpostgresql: ServiceDirectory: cosmosdbforpostgresql - Version: '1.0.0' + Version: '1.1.0b1' azure-mgmt-newrelicobservability: ServiceDirectory: newrelicobservability - Version: '1.0.0' + Version: '1.1.0' azure-mgmt-redhatopenshift: ServiceDirectory: redhatopenshift Version: '1.4.0' @@ -262,7 +262,7 @@ Version: '3.3.0' azure-mgmt-communication: ServiceDirectory: communication - Version: '2.1.0b2' + Version: '2.1.0' azure-mgmt-regionmove: ServiceDirectory: regionmove Version: '1.0.0b1' @@ -337,7 +337,7 @@ Version: '1.0.0b1' azure-mgmt-search: ServiceDirectory: search - Version: '9.1.0' + Version: '9.2.0b1' azure-mgmt-loganalytics: ServiceDirectory: loganalytics Version: '13.0.0b6' @@ -349,7 +349,7 @@ Version: '8.2.0' azure-mgmt-batch: ServiceDirectory: batch - Version: '17.2.0' + Version: '17.3.0' azure-mgmt-iotfirmwaredefense: ServiceDirectory: iotfirmwaredefense Version: '1.0.0b1' @@ -391,7 +391,7 @@ Version: '1.0.0' azure-mgmt-nginx: ServiceDirectory: nginx - Version: '3.0.0' + Version: '3.1.0b1' azure-mgmt-dns: ServiceDirectory: network Version: '8.1.0' @@ -493,7 +493,7 @@ Version: '1.0.0b2' azure-mgmt-confluent: ServiceDirectory: confluent - Version: '2.0.0' + Version: '2.1.0' azure-mgmt-chaos: ServiceDirectory: chaos Version: '1.1.0' @@ -580,10 +580,10 @@ Version: '2.2.0b1' azure-mgmt-appcontainers: ServiceDirectory: appcontainers - Version: '3.0.0' + Version: '3.1.0b1' azure-mgmt-mobilenetwork: ServiceDirectory: mobilenetwork - Version: '3.1.0' + Version: '3.2.0' azure-mgmt-fluidrelay: ServiceDirectory: fluidrelay Version: '1.1.0b1' From eb8927e9c89dd3aa9bc60207a5889c8654987da8 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 13:12:51 -0700 Subject: [PATCH 16/38] remove pkgs that released after the fix --- doc/sphinx/temp_mgmt/get_all_mgmt.py | 11 ++++-- .../temp_mgmt/publish_all_mgmt_docs.yml | 35 ++----------------- 2 files changed, 11 insertions(+), 35 deletions(-) diff --git a/doc/sphinx/temp_mgmt/get_all_mgmt.py b/doc/sphinx/temp_mgmt/get_all_mgmt.py index c163a17e7834..4c45991cbc83 100644 --- a/doc/sphinx/temp_mgmt/get_all_mgmt.py +++ b/doc/sphinx/temp_mgmt/get_all_mgmt.py @@ -1,9 +1,10 @@ import glob import pathlib +import datetime from pypi_tools.pypi import PyPIClient root = file_path = pathlib.Path(__file__).resolve().parent.parent.parent.parent - +mgmt_docs_fix = datetime.datetime(2024, 3, 6, 12, 0, 0) def mgmt(): client = PyPIClient() @@ -19,7 +20,13 @@ def mgmt(): mgmt[package_name] = {} mgmt[package_name].update({"service_directory": service_directory}) latest = client.get_ordered_versions(package_name)[-1] - mgmt[package_name].update({"version": str(latest)}) + release = client.project_release(package_name, str(latest)) + release_date = release["urls"][0]["upload_time"] + dt = datetime.datetime.strptime(release_date, '%Y-%m-%dT%H:%M:%S') + if dt < mgmt_docs_fix: + mgmt[package_name].update({"version": str(latest)}) + else: + del mgmt[package_name] return mgmt diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 591801db7f31..18b2be3b9e06 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -47,9 +47,6 @@ azure-mgmt-managedservices: ServiceDirectory: managedservices Version: '7.0.0b1' - azure-mgmt-datafactory: - ServiceDirectory: datafactory - Version: '6.1.0' azure-mgmt-signalr: ServiceDirectory: signalr Version: '2.0.0b2' @@ -176,9 +173,6 @@ azure-mgmt-avs: ServiceDirectory: compute Version: '8.0.0' - azure-mgmt-compute: - ServiceDirectory: compute - Version: '30.6.0' azure-mgmt-imagebuilder: ServiceDirectory: compute Version: '1.3.0' @@ -203,12 +197,6 @@ azure-mgmt-baremetalinfrastructure: ServiceDirectory: baremetalinfrastructure Version: '1.1.0b2' - azure-mgmt-cosmosdbforpostgresql: - ServiceDirectory: cosmosdbforpostgresql - Version: '1.1.0b1' - azure-mgmt-newrelicobservability: - ServiceDirectory: newrelicobservability - Version: '1.1.0' azure-mgmt-redhatopenshift: ServiceDirectory: redhatopenshift Version: '1.4.0' @@ -260,9 +248,6 @@ azure-mgmt-kusto: ServiceDirectory: kusto Version: '3.3.0' - azure-mgmt-communication: - ServiceDirectory: communication - Version: '2.1.0' azure-mgmt-regionmove: ServiceDirectory: regionmove Version: '1.0.0b1' @@ -335,9 +320,6 @@ azure-mgmt-defendereasm: ServiceDirectory: defendereasm Version: '1.0.0b1' - azure-mgmt-search: - ServiceDirectory: search - Version: '9.2.0b1' azure-mgmt-loganalytics: ServiceDirectory: loganalytics Version: '13.0.0b6' @@ -347,9 +329,6 @@ azure-mgmt-servicebus: ServiceDirectory: servicebus Version: '8.2.0' - azure-mgmt-batch: - ServiceDirectory: batch - Version: '17.3.0' azure-mgmt-iotfirmwaredefense: ServiceDirectory: iotfirmwaredefense Version: '1.0.0b1' @@ -389,9 +368,6 @@ azure-mgmt-qumulo: ServiceDirectory: qumulo Version: '1.0.0' - azure-mgmt-nginx: - ServiceDirectory: nginx - Version: '3.1.0b1' azure-mgmt-dns: ServiceDirectory: network Version: '8.1.0' @@ -491,9 +467,6 @@ azure-mgmt-testbase: ServiceDirectory: testbase Version: '1.0.0b2' - azure-mgmt-confluent: - ServiceDirectory: confluent - Version: '2.1.0' azure-mgmt-chaos: ServiceDirectory: chaos Version: '1.1.0' @@ -578,12 +551,6 @@ azure-mgmt-maintenance: ServiceDirectory: maintenance Version: '2.2.0b1' - azure-mgmt-appcontainers: - ServiceDirectory: appcontainers - Version: '3.1.0b1' - azure-mgmt-mobilenetwork: - ServiceDirectory: mobilenetwork - Version: '3.2.0' azure-mgmt-fluidrelay: ServiceDirectory: fluidrelay Version: '1.1.0b1' @@ -613,6 +580,8 @@ Version: '2.0.0b1' steps: + - timeoutInMinutes: 200 + - task: UsePythonVersion@0 displayName: 'Use Python 3.11' inputs: From e1070be44f36c416eae8b627eb7e46a0833a5454 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 13:18:06 -0700 Subject: [PATCH 17/38] move test timeout --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 18b2be3b9e06..850d6599c166 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -580,8 +580,6 @@ Version: '2.0.0b1' steps: - - timeoutInMinutes: 200 - - task: UsePythonVersion@0 displayName: 'Use Python 3.11' inputs: @@ -611,6 +609,7 @@ --service=${{ pkg.value.ServiceDirectory }} --toxenv=sphinx + timeoutInMinutes: 200 - template: /eng/common/pipelines/templates/steps/publish-artifact.yml parameters: ArtifactPath: '$(Build.SourcesDirectory)/_docs' From 6735509c979e53546532a17cc8bc35bb42d61c23 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 13:29:59 -0700 Subject: [PATCH 18/38] try --- .../temp_mgmt/publish_all_mgmt_docs.yml | 65 ++++++++++--------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 850d6599c166..84719b967add 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -579,38 +579,39 @@ ServiceDirectory: azurestack Version: '2.0.0b1' - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python 3.11' - inputs: - versionSpec: '3.11' - - - script: | - python -m pip install setuptools==58.3.0 - python -m pip install -r eng/ci_tools.txt - displayName: 'Prep Environment' - - - ${{ each pkg in parameters.MgmtPackages }}: - - task: PythonScript@0 - displayName: 'checkout library tag' +- job: 'Fix Mgmt Docs' + timeoutInMinutes: 200 + steps: + - task: UsePythonVersion@0 + displayName: 'Use Python 3.11' inputs: - scriptPath: 'doc/sphinx/temp_mgmt/checkout_tag.py' - arguments: >- - --package=${{ pkg.key }} - --service=${{ pkg.value.ServiceDirectory }} - --version=${{ pkg.value.Version }} + versionSpec: '3.11' + + - script: | + python -m pip install setuptools==58.3.0 + python -m pip install -r eng/ci_tools.txt + displayName: 'Prep Environment' - - task: PythonScript@0 - displayName: 'Generate Docs' - inputs: - scriptPath: 'scripts/devops_tasks/dispatch_tox.py' - arguments: >- - ${{ pkg.key }} - --service=${{ pkg.value.ServiceDirectory }} - --toxenv=sphinx + - ${{ each pkg in parameters.MgmtPackages }}: + - task: PythonScript@0 + displayName: 'checkout library tag' + inputs: + scriptPath: 'doc/sphinx/temp_mgmt/checkout_tag.py' + arguments: >- + --package=${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} + --version=${{ pkg.value.Version }} + + - task: PythonScript@0 + displayName: 'Generate Docs' + inputs: + scriptPath: 'scripts/devops_tasks/dispatch_tox.py' + arguments: >- + ${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} + --toxenv=sphinx - timeoutInMinutes: 200 - - template: /eng/common/pipelines/templates/steps/publish-artifact.yml - parameters: - ArtifactPath: '$(Build.SourcesDirectory)/_docs' - ArtifactName: 'documentation' + - template: /eng/common/pipelines/templates/steps/publish-artifact.yml + parameters: + ArtifactPath: '$(Build.SourcesDirectory)/_docs' + ArtifactName: 'documentation' From 799907c4b2c8f99efd5d7f443dff4b98a1dee261 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 14:23:02 -0700 Subject: [PATCH 19/38] remove timeout --- .../temp_mgmt/publish_all_mgmt_docs.yml | 65 +++++++++---------- 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 84719b967add..b9fccc2078c7 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -579,39 +579,34 @@ ServiceDirectory: azurestack Version: '2.0.0b1' -- job: 'Fix Mgmt Docs' - timeoutInMinutes: 200 - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python 3.11' + steps: + - task: UsePythonVersion@0 + displayName: 'Use Python 3.11' + inputs: + versionSpec: '3.11' + + - script: | + python -m pip install setuptools==58.3.0 + python -m pip install -r eng/ci_tools.txt + displayName: 'Prep Environment' + - ${{ each pkg in parameters.MgmtPackages }}: + - task: PythonScript@0 + displayName: 'checkout library tag' inputs: - versionSpec: '3.11' - - - script: | - python -m pip install setuptools==58.3.0 - python -m pip install -r eng/ci_tools.txt - displayName: 'Prep Environment' - - - ${{ each pkg in parameters.MgmtPackages }}: - - task: PythonScript@0 - displayName: 'checkout library tag' - inputs: - scriptPath: 'doc/sphinx/temp_mgmt/checkout_tag.py' - arguments: >- - --package=${{ pkg.key }} - --service=${{ pkg.value.ServiceDirectory }} - --version=${{ pkg.value.Version }} - - - task: PythonScript@0 - displayName: 'Generate Docs' - inputs: - scriptPath: 'scripts/devops_tasks/dispatch_tox.py' - arguments: >- - ${{ pkg.key }} - --service=${{ pkg.value.ServiceDirectory }} - --toxenv=sphinx - - - template: /eng/common/pipelines/templates/steps/publish-artifact.yml - parameters: - ArtifactPath: '$(Build.SourcesDirectory)/_docs' - ArtifactName: 'documentation' + scriptPath: 'doc/sphinx/temp_mgmt/checkout_tag.py' + arguments: >- + --package=${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} + --version=${{ pkg.value.Version }} + - task: PythonScript@0 + displayName: 'Generate Docs' + inputs: + scriptPath: 'scripts/devops_tasks/dispatch_tox.py' + arguments: >- + ${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} + --toxenv=sphinx + - template: /eng/common/pipelines/templates/steps/publish-artifact.yml + parameters: + ArtifactPath: '$(Build.SourcesDirectory)/_docs' + ArtifactName: 'documentation' \ No newline at end of file From 2ede060f23a9ce110e74eb2d7eb03d486a5a9c19 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 15:00:33 -0700 Subject: [PATCH 20/38] remove changeanalysis, broken and will be deprecated --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index b9fccc2078c7..ef33f57d5b3a 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -17,9 +17,6 @@ azure-mgmt-managedapplications: ServiceDirectory: managedapplications Version: '1.0.0b1' - azure-mgmt-changeanalysis: - ServiceDirectory: changeanalysis - Version: '1.0.0' azure-mgmt-advisor: ServiceDirectory: advisor Version: '10.0.0b1' From 6946a194656ce0014fdbfbfc305d237bb46558df Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 15:34:05 -0700 Subject: [PATCH 21/38] remove edgegateway, broken and will be deprecated --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index ef33f57d5b3a..28a139c935eb 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -23,9 +23,6 @@ azure-mgmt-operationsmanagement: ServiceDirectory: operationsmanagement Version: '2.0.0b1' - azure-mgmt-edgegateway: - ServiceDirectory: edgegateway - Version: '0.1.0' azure-mgmt-servermanager: ServiceDirectory: servermanager Version: '2.0.0' From 37321cd865d438d94de876f23b642d4e5addc86f Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 15:52:45 -0700 Subject: [PATCH 22/38] removing more problematic, soon to be deprecated packages --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 28a139c935eb..01da02f5ad4d 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -23,9 +23,6 @@ azure-mgmt-operationsmanagement: ServiceDirectory: operationsmanagement Version: '2.0.0b1' - azure-mgmt-servermanager: - ServiceDirectory: servermanager - Version: '2.0.0' azure-mgmt-iothub: ServiceDirectory: iothub Version: '3.0.0' @@ -35,9 +32,6 @@ azure-mgmt-iotcentral: ServiceDirectory: iothub Version: '10.0.0b2' - azure-mgmt-scheduler: - ServiceDirectory: scheduler - Version: '7.0.0b1' azure-mgmt-managedservices: ServiceDirectory: managedservices Version: '7.0.0b1' @@ -89,9 +83,6 @@ azure-mgmt-notificationhubs: ServiceDirectory: notificationhubs Version: '8.1.0b1' - azure-mgmt-powerbiembedded: - ServiceDirectory: powerbiembedded - Version: '2.0.0' azure-mgmt-streamanalytics: ServiceDirectory: streamanalytics Version: '2.0.0b2' @@ -242,9 +233,6 @@ azure-mgmt-kusto: ServiceDirectory: kusto Version: '3.3.0' - azure-mgmt-regionmove: - ServiceDirectory: regionmove - Version: '1.0.0b1' azure-mgmt-hybridkubernetes: ServiceDirectory: hybridkubernetes Version: '1.2.0b1' @@ -422,12 +410,6 @@ azure-mgmt-cosmosdb: ServiceDirectory: cosmos Version: '10.0.0b2' - azure-mgmt-documentdb: - ServiceDirectory: cosmos - Version: '0.1.3' - azure-mgmt-batchai: - ServiceDirectory: batchai - Version: '7.0.0b1' azure-mgmt-attestation: ServiceDirectory: attestation Version: '2.0.0b1' From c74d54640ca2df005b48dcfc17320804deb49339 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 16:29:50 -0700 Subject: [PATCH 23/38] small fix for storage mgmt --- doc/sphinx/temp_mgmt/checkout_tag.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/sphinx/temp_mgmt/checkout_tag.py b/doc/sphinx/temp_mgmt/checkout_tag.py index f4389e4243cb..3b5fe9cb02f3 100644 --- a/doc/sphinx/temp_mgmt/checkout_tag.py +++ b/doc/sphinx/temp_mgmt/checkout_tag.py @@ -5,6 +5,10 @@ from checkout_eng import prep_directory, invoke_command, cleanup_directory root = pathlib.Path(__file__).resolve().parent.parent.parent.parent +def rewrite_dev_reqs(path: str) -> None: + with open(f"{path}/dev_requirements.txt", "w") as file: + file.writelines("-e ../../../tools/azure-sdk-tools\n") + file.writelines("-e ../../../tools/azure-devtools") def get_release_tag( assembly_area: str, @@ -21,6 +25,9 @@ def get_release_tag( invoke_command(f"git sparse-checkout init", clone_folder) invoke_command(f'git sparse-checkout add "{checkout_path}"', clone_folder) invoke_command(f"git -c advice.detachedHead=false checkout {target_package}_{target_version}", clone_folder) + if target_package in ["azure-mgmt-storage"]: + # rewrite dev reqs for problematic tagged package test deps like tools/vcrpy + rewrite_dev_reqs(os.path.join(clone_folder, checkout_path)) cleanup_directory(os.path.join(root, "sdk", service_directory, target_package)) shutil.move( From da1906e33ca27e10fba9baf08ba525a922f99707 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Mon, 18 Mar 2024 17:12:18 -0700 Subject: [PATCH 24/38] fix another storage --- doc/sphinx/temp_mgmt/checkout_tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/checkout_tag.py b/doc/sphinx/temp_mgmt/checkout_tag.py index 3b5fe9cb02f3..7ab194a3da32 100644 --- a/doc/sphinx/temp_mgmt/checkout_tag.py +++ b/doc/sphinx/temp_mgmt/checkout_tag.py @@ -25,7 +25,7 @@ def get_release_tag( invoke_command(f"git sparse-checkout init", clone_folder) invoke_command(f'git sparse-checkout add "{checkout_path}"', clone_folder) invoke_command(f"git -c advice.detachedHead=false checkout {target_package}_{target_version}", clone_folder) - if target_package in ["azure-mgmt-storage"]: + if target_package in ["azure-mgmt-storage", "azure-mgmt-storagesync"]: # rewrite dev reqs for problematic tagged package test deps like tools/vcrpy rewrite_dev_reqs(os.path.join(clone_folder, checkout_path)) From 546670d0b8695f829e39b60d7af27cea14a3bb51 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 19 Mar 2024 09:52:22 -0700 Subject: [PATCH 25/38] try again to set a timeout --- .../temp_mgmt/publish_all_mgmt_docs.yml | 65 ++++++++++--------- 1 file changed, 34 insertions(+), 31 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 01da02f5ad4d..0bf7d6bfed4e 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -555,34 +555,37 @@ ServiceDirectory: azurestack Version: '2.0.0b1' - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python 3.11' - inputs: - versionSpec: '3.11' - - - script: | - python -m pip install setuptools==58.3.0 - python -m pip install -r eng/ci_tools.txt - displayName: 'Prep Environment' - - ${{ each pkg in parameters.MgmtPackages }}: - - task: PythonScript@0 - displayName: 'checkout library tag' - inputs: - scriptPath: 'doc/sphinx/temp_mgmt/checkout_tag.py' - arguments: >- - --package=${{ pkg.key }} - --service=${{ pkg.value.ServiceDirectory }} - --version=${{ pkg.value.Version }} - - task: PythonScript@0 - displayName: 'Generate Docs' - inputs: - scriptPath: 'scripts/devops_tasks/dispatch_tox.py' - arguments: >- - ${{ pkg.key }} - --service=${{ pkg.value.ServiceDirectory }} - --toxenv=sphinx - - template: /eng/common/pipelines/templates/steps/publish-artifact.yml - parameters: - ArtifactPath: '$(Build.SourcesDirectory)/_docs' - ArtifactName: 'documentation' \ No newline at end of file +jobs: + - job: 'PublishAllMgmtDocs' + timeoutInMinutes: 200 + steps: + - task: UsePythonVersion@0 + displayName: 'Use Python 3.11' + inputs: + versionSpec: '3.11' + + - script: | + python -m pip install setuptools==58.3.0 + python -m pip install -r eng/ci_tools.txt + displayName: 'Prep Environment' + - ${{ each pkg in parameters.MgmtPackages }}: + - task: PythonScript@0 + displayName: 'checkout library tag' + inputs: + scriptPath: 'doc/sphinx/temp_mgmt/checkout_tag.py' + arguments: >- + --package=${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} + --version=${{ pkg.value.Version }} + - task: PythonScript@0 + displayName: 'Generate Docs' + inputs: + scriptPath: 'scripts/devops_tasks/dispatch_tox.py' + arguments: >- + ${{ pkg.key }} + --service=${{ pkg.value.ServiceDirectory }} + --toxenv=sphinx + - template: /eng/common/pipelines/templates/steps/publish-artifact.yml + parameters: + ArtifactPath: '$(Build.SourcesDirectory)/_docs' + ArtifactName: 'documentation' From 361ec25f39129d71fa593e17353f05c6c6ada5a0 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 19 Mar 2024 09:56:55 -0700 Subject: [PATCH 26/38] Fix indentation --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 0bf7d6bfed4e..f4f00441a701 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -1,4 +1,4 @@ - parameters: +parameters: - name: MgmtPackages type: object default: @@ -557,7 +557,7 @@ jobs: - job: 'PublishAllMgmtDocs' - timeoutInMinutes: 200 + timeoutInMinutes: 240 steps: - task: UsePythonVersion@0 displayName: 'Use Python 3.11' From 3ff4dab40436788726e632a311bdb37307232387 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 19 Mar 2024 14:14:31 -0700 Subject: [PATCH 27/38] ran out of space? run the next chunk --- .../temp_mgmt/publish_all_mgmt_docs.yml | 330 +++++++++--------- 1 file changed, 165 insertions(+), 165 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index f4f00441a701..e1f45c12d1fa 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -2,171 +2,171 @@ parameters: - name: MgmtPackages type: object default: - azure-mgmt-connectedvmware: - ServiceDirectory: connectedvmware - Version: '1.0.0' - azure-mgmt-oep: - ServiceDirectory: oep - Version: '1.0.0b2' - azure-mgmt-devhub: - ServiceDirectory: devhub - Version: '1.0.0b1' - azure-mgmt-consumption: - ServiceDirectory: consumption - Version: '11.0.0b1' - azure-mgmt-managedapplications: - ServiceDirectory: managedapplications - Version: '1.0.0b1' - azure-mgmt-advisor: - ServiceDirectory: advisor - Version: '10.0.0b1' - azure-mgmt-operationsmanagement: - ServiceDirectory: operationsmanagement - Version: '2.0.0b1' - azure-mgmt-iothub: - ServiceDirectory: iothub - Version: '3.0.0' - azure-mgmt-iothubprovisioningservices: - ServiceDirectory: iothub - Version: '1.2.0b2' - azure-mgmt-iotcentral: - ServiceDirectory: iothub - Version: '10.0.0b2' - azure-mgmt-managedservices: - ServiceDirectory: managedservices - Version: '7.0.0b1' - azure-mgmt-signalr: - ServiceDirectory: signalr - Version: '2.0.0b2' - azure-mgmt-extendedlocation: - ServiceDirectory: extendedlocation - Version: '1.2.0b1' - azure-mgmt-automation: - ServiceDirectory: automation - Version: '1.1.0b3' - azure-mgmt-networkcloud: - ServiceDirectory: networkcloud - Version: '1.0.0' - azure-mgmt-appcomplianceautomation: - ServiceDirectory: appcomplianceautomation - Version: '1.0.0b1' - azure-mgmt-billing: - ServiceDirectory: billing - Version: '6.1.0b1' - azure-mgmt-media: - ServiceDirectory: media - Version: '10.2.0' - azure-mgmt-dnsresolver: - ServiceDirectory: dnsresolver - Version: '1.1.0b1' - azure-mgmt-storagecache: - ServiceDirectory: storage - Version: '1.6.0b1' - azure-mgmt-storage: - ServiceDirectory: storage - Version: '21.1.0' - azure-mgmt-storagesync: - ServiceDirectory: storage - Version: '2.0.0b1' - azure-mgmt-storageimportexport: - ServiceDirectory: storage - Version: '1.0.0b2' - azure-mgmt-timeseriesinsights: - ServiceDirectory: timeseriesinsights - Version: '2.0.0b1' - azure-mgmt-synapse: - ServiceDirectory: synapse - Version: '2.1.0b7' - azure-mgmt-resourceconnector: - ServiceDirectory: resourceconnector - Version: '1.0.0' - azure-mgmt-notificationhubs: - ServiceDirectory: notificationhubs - Version: '8.1.0b1' - azure-mgmt-streamanalytics: - ServiceDirectory: streamanalytics - Version: '2.0.0b2' - azure-mgmt-customproviders: - ServiceDirectory: customproviders - Version: '1.1.0b1' - azure-mgmt-containerregistry: - ServiceDirectory: containerregistry - Version: '10.3.0' - azure-mgmt-web: - ServiceDirectory: appservice - Version: '7.2.0' - azure-mgmt-monitor: - ServiceDirectory: monitor - Version: '6.0.2' - azure-mgmt-managednetworkfabric: - ServiceDirectory: managednetworkfabric - Version: '1.0.0' - azure-mgmt-appplatform: - ServiceDirectory: appplatform - Version: '9.0.0' - azure-mgmt-msi: - ServiceDirectory: resources - Version: '7.1.0b1' - azure-mgmt-resource: - ServiceDirectory: resources - Version: '23.1.0b2' - azure-mgmt-resourcegraph: - ServiceDirectory: resources - Version: '8.1.0b3' - azure-mgmt-databox: - ServiceDirectory: databox - Version: '2.0.0' - azure-mgmt-maps: - ServiceDirectory: maps - Version: '2.1.0' - azure-mgmt-education: - ServiceDirectory: education - Version: '1.0.0b2' - azure-mgmt-costmanagement: - ServiceDirectory: costmanagement - Version: '4.0.1' - azure-mgmt-workloadmonitor: - ServiceDirectory: workloadmonitor - Version: '1.0.0b4' - azure-mgmt-cognitiveservices: - ServiceDirectory: cognitiveservices - Version: '13.5.0' - azure-mgmt-workloads: - ServiceDirectory: workloads - Version: '1.0.0' - azure-mgmt-datadog: - ServiceDirectory: datadog - Version: '2.1.0' - azure-mgmt-resourcemover: - ServiceDirectory: resourcemover - Version: '1.1.0' - azure-mgmt-paloaltonetworksngfw: - ServiceDirectory: paloaltonetworks - Version: '2.0.0b1' - azure-mgmt-recoveryservicessiterecovery: - ServiceDirectory: recoveryservices - Version: '1.2.0' - azure-mgmt-recoveryservices: - ServiceDirectory: recoveryservices - Version: '2.5.0' - azure-mgmt-recoveryservicesbackup: - ServiceDirectory: recoveryservices - Version: '9.0.0' - azure-mgmt-vmwarecloudsimple: - ServiceDirectory: compute - Version: '1.0.0b2' - azure-mgmt-avs: - ServiceDirectory: compute - Version: '8.0.0' - azure-mgmt-imagebuilder: - ServiceDirectory: compute - Version: '1.3.0' - azure-mgmt-portal: - ServiceDirectory: portal - Version: '1.1.0b1' - azure-mgmt-logic: - ServiceDirectory: logic - Version: '10.1.0b1' + # azure-mgmt-connectedvmware: + # ServiceDirectory: connectedvmware + # Version: '1.0.0' + # azure-mgmt-oep: + # ServiceDirectory: oep + # Version: '1.0.0b2' + # azure-mgmt-devhub: + # ServiceDirectory: devhub + # Version: '1.0.0b1' + # azure-mgmt-consumption: + # ServiceDirectory: consumption + # Version: '11.0.0b1' + # azure-mgmt-managedapplications: + # ServiceDirectory: managedapplications + # Version: '1.0.0b1' + # azure-mgmt-advisor: + # ServiceDirectory: advisor + # Version: '10.0.0b1' + # azure-mgmt-operationsmanagement: + # ServiceDirectory: operationsmanagement + # Version: '2.0.0b1' + # azure-mgmt-iothub: + # ServiceDirectory: iothub + # Version: '3.0.0' + # azure-mgmt-iothubprovisioningservices: + # ServiceDirectory: iothub + # Version: '1.2.0b2' + # azure-mgmt-iotcentral: + # ServiceDirectory: iothub + # Version: '10.0.0b2' + # azure-mgmt-managedservices: + # ServiceDirectory: managedservices + # Version: '7.0.0b1' + # azure-mgmt-signalr: + # ServiceDirectory: signalr + # Version: '2.0.0b2' + # azure-mgmt-extendedlocation: + # ServiceDirectory: extendedlocation + # Version: '1.2.0b1' + # azure-mgmt-automation: + # ServiceDirectory: automation + # Version: '1.1.0b3' + # azure-mgmt-networkcloud: + # ServiceDirectory: networkcloud + # Version: '1.0.0' + # azure-mgmt-appcomplianceautomation: + # ServiceDirectory: appcomplianceautomation + # Version: '1.0.0b1' + # azure-mgmt-billing: + # ServiceDirectory: billing + # Version: '6.1.0b1' + # azure-mgmt-media: + # ServiceDirectory: media + # Version: '10.2.0' + # azure-mgmt-dnsresolver: + # ServiceDirectory: dnsresolver + # Version: '1.1.0b1' + # azure-mgmt-storagecache: + # ServiceDirectory: storage + # Version: '1.6.0b1' + # azure-mgmt-storage: + # ServiceDirectory: storage + # Version: '21.1.0' + # azure-mgmt-storagesync: + # ServiceDirectory: storage + # Version: '2.0.0b1' + # azure-mgmt-storageimportexport: + # ServiceDirectory: storage + # Version: '1.0.0b2' + # azure-mgmt-timeseriesinsights: + # ServiceDirectory: timeseriesinsights + # Version: '2.0.0b1' + # azure-mgmt-synapse: + # ServiceDirectory: synapse + # Version: '2.1.0b7' + # azure-mgmt-resourceconnector: + # ServiceDirectory: resourceconnector + # Version: '1.0.0' + # azure-mgmt-notificationhubs: + # ServiceDirectory: notificationhubs + # Version: '8.1.0b1' + # azure-mgmt-streamanalytics: + # ServiceDirectory: streamanalytics + # Version: '2.0.0b2' + # azure-mgmt-customproviders: + # ServiceDirectory: customproviders + # Version: '1.1.0b1' + # azure-mgmt-containerregistry: + # ServiceDirectory: containerregistry + # Version: '10.3.0' + # azure-mgmt-web: + # ServiceDirectory: appservice + # Version: '7.2.0' + # azure-mgmt-monitor: + # ServiceDirectory: monitor + # Version: '6.0.2' + # azure-mgmt-managednetworkfabric: + # ServiceDirectory: managednetworkfabric + # Version: '1.0.0' + # azure-mgmt-appplatform: + # ServiceDirectory: appplatform + # Version: '9.0.0' + # azure-mgmt-msi: + # ServiceDirectory: resources + # Version: '7.1.0b1' + # azure-mgmt-resource: + # ServiceDirectory: resources + # Version: '23.1.0b2' + # azure-mgmt-resourcegraph: + # ServiceDirectory: resources + # Version: '8.1.0b3' + # azure-mgmt-databox: + # ServiceDirectory: databox + # Version: '2.0.0' + # azure-mgmt-maps: + # ServiceDirectory: maps + # Version: '2.1.0' + # azure-mgmt-education: + # ServiceDirectory: education + # Version: '1.0.0b2' + # azure-mgmt-costmanagement: + # ServiceDirectory: costmanagement + # Version: '4.0.1' + # azure-mgmt-workloadmonitor: + # ServiceDirectory: workloadmonitor + # Version: '1.0.0b4' + # azure-mgmt-cognitiveservices: + # ServiceDirectory: cognitiveservices + # Version: '13.5.0' + # azure-mgmt-workloads: + # ServiceDirectory: workloads + # Version: '1.0.0' + # azure-mgmt-datadog: + # ServiceDirectory: datadog + # Version: '2.1.0' + # azure-mgmt-resourcemover: + # ServiceDirectory: resourcemover + # Version: '1.1.0' + # azure-mgmt-paloaltonetworksngfw: + # ServiceDirectory: paloaltonetworks + # Version: '2.0.0b1' + # azure-mgmt-recoveryservicessiterecovery: + # ServiceDirectory: recoveryservices + # Version: '1.2.0' + # azure-mgmt-recoveryservices: + # ServiceDirectory: recoveryservices + # Version: '2.5.0' + # azure-mgmt-recoveryservicesbackup: + # ServiceDirectory: recoveryservices + # Version: '9.0.0' + # azure-mgmt-vmwarecloudsimple: + # ServiceDirectory: compute + # Version: '1.0.0b2' + # azure-mgmt-avs: + # ServiceDirectory: compute + # Version: '8.0.0' + # azure-mgmt-imagebuilder: + # ServiceDirectory: compute + # Version: '1.3.0' + # azure-mgmt-portal: + # ServiceDirectory: portal + # Version: '1.1.0b1' + # azure-mgmt-logic: + # ServiceDirectory: logic + # Version: '10.1.0b1' azure-mgmt-graphservices: ServiceDirectory: graphservices Version: '1.0.0' From a7e9778a20669e631c4ea9c57446e4b12741f0c9 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 19 Mar 2024 14:27:34 -0700 Subject: [PATCH 28/38] deleting nspkg --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index e1f45c12d1fa..304ebf694f8a 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -203,12 +203,6 @@ parameters: azure-mgmt-sphere: ServiceDirectory: sphere Version: '1.0.0b1' - azure-mgmt-datalake-nspkg: - ServiceDirectory: nspkg - Version: '3.0.1' - azure-mgmt-nspkg: - ServiceDirectory: nspkg - Version: '3.0.2' azure-mgmt-keyvault: ServiceDirectory: keyvault Version: '10.3.0' From 14c85e9dadaf392fb44e1718a1eb3670ba30823c Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 19 Mar 2024 15:24:12 -0700 Subject: [PATCH 29/38] delete azure-mgmt --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 304ebf694f8a..67ea7e1e2163 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -254,9 +254,6 @@ parameters: azure-mgmt-securitydevops: ServiceDirectory: securitydevops Version: '1.0.0b2' - azure-mgmt: - ServiceDirectory: core - Version: '5.0.0' azure-mgmt-core: ServiceDirectory: core Version: '1.4.0' From d9116286eee0df247f97e647ca00f16f69c81a8b Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 19 Mar 2024 17:06:05 -0700 Subject: [PATCH 30/38] next set of packages test --- .../temp_mgmt/publish_all_mgmt_docs.yml | 438 +++++++++--------- 1 file changed, 219 insertions(+), 219 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 67ea7e1e2163..cecd76e71d2c 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -167,225 +167,225 @@ parameters: # azure-mgmt-logic: # ServiceDirectory: logic # Version: '10.1.0b1' - azure-mgmt-graphservices: - ServiceDirectory: graphservices - Version: '1.0.0' - azure-mgmt-deploymentmanager: - ServiceDirectory: deploymentmanager - Version: '2.0.0b1' - azure-mgmt-azurearcdata: - ServiceDirectory: azurearcdata - Version: '2.0.0b1' - azure-mgmt-selfhelp: - ServiceDirectory: selfhelp - Version: '2.0.0b2' - azure-mgmt-baremetalinfrastructure: - ServiceDirectory: baremetalinfrastructure - Version: '1.1.0b2' - azure-mgmt-redhatopenshift: - ServiceDirectory: redhatopenshift - Version: '1.4.0' - azure-mgmt-cdn: - ServiceDirectory: cdn - Version: '13.0.0' - azure-mgmt-datalake-store: - ServiceDirectory: datalake - Version: '1.1.0b1' - azure-mgmt-datalake-analytics: - ServiceDirectory: datalake - Version: '1.0.0b2' - azure-mgmt-quantum: - ServiceDirectory: quantum - Version: '1.0.0b4' - azure-mgmt-astro: - ServiceDirectory: astro - Version: '1.0.0b1' - azure-mgmt-sphere: - ServiceDirectory: sphere - Version: '1.0.0b1' - azure-mgmt-keyvault: - ServiceDirectory: keyvault - Version: '10.3.0' - azure-mgmt-azurestackhci: - ServiceDirectory: azurestackhci - Version: '8.0.0b3' - azure-mgmt-hybridconnectivity: - ServiceDirectory: hybridconnectivity - Version: '1.0.0' - azure-mgmt-managementpartner: - ServiceDirectory: managementpartner - Version: '1.1.0b1' - azure-mgmt-serialconsole: - ServiceDirectory: serialconsole - Version: '1.1.0b1' - azure-mgmt-security: - ServiceDirectory: security - Version: '6.0.0' - azure-mgmt-dashboard: - ServiceDirectory: dashboard - Version: '1.1.0' - azure-mgmt-kusto: - ServiceDirectory: kusto - Version: '3.3.0' - azure-mgmt-hybridkubernetes: - ServiceDirectory: hybridkubernetes - Version: '1.2.0b1' - azure-mgmt-servicefabricmanagedclusters: - ServiceDirectory: servicefabricmanagedclusters - Version: '2.0.0b6' - azure-mgmt-commerce: - ServiceDirectory: commerce - Version: '6.1.0b1' - azure-mgmt-orbital: - ServiceDirectory: orbital - Version: '2.0.0' - azure-mgmt-servicelinker: - ServiceDirectory: servicelinker - Version: '1.2.0b1' - azure-mgmt-servicenetworking: - ServiceDirectory: servicenetworking - Version: '1.0.0' - azure-mgmt-servicefabric: - ServiceDirectory: servicefabric - Version: '2.2.0b1' - azure-mgmt-elastic: - ServiceDirectory: elastic - Version: '1.1.0b3' - azure-mgmt-securitydevops: - ServiceDirectory: securitydevops - Version: '1.0.0b2' - azure-mgmt-core: - ServiceDirectory: core - Version: '1.4.0' - azure-mgmt-alertsmanagement: - ServiceDirectory: alertsmanagement - Version: '2.0.0b2' - azure-mgmt-support: - ServiceDirectory: support - Version: '6.1.0b2' - azure-mgmt-containerinstance: - ServiceDirectory: containerinstance - Version: '10.1.0' - azure-mgmt-hdinsight: - ServiceDirectory: hdinsight - Version: '9.0.0' - azure-mgmt-hdinsightcontainers: - ServiceDirectory: hdinsight - Version: '1.0.0b1' - azure-mgmt-marketplaceordering: - ServiceDirectory: marketplaceordering - Version: '1.2.0b1' - azure-mgmt-deviceupdate: - ServiceDirectory: deviceupdate - Version: '1.1.0' - azure-mgmt-reservations: - ServiceDirectory: reservations - Version: '2.3.0' - azure-mgmt-apimanagement: - ServiceDirectory: apimanagement - Version: '4.0.0' - azure-mgmt-containerservice: - ServiceDirectory: containerservice - Version: '29.1.0' - azure-mgmt-containerservicefleet: - ServiceDirectory: containerservice - Version: '1.0.0' - azure-mgmt-defendereasm: - ServiceDirectory: defendereasm - Version: '1.0.0b1' - azure-mgmt-loganalytics: - ServiceDirectory: loganalytics - Version: '13.0.0b6' - azure-mgmt-authorization: - ServiceDirectory: authorization - Version: '4.0.0' - azure-mgmt-servicebus: - ServiceDirectory: servicebus - Version: '8.2.0' - azure-mgmt-iotfirmwaredefense: - ServiceDirectory: iotfirmwaredefense - Version: '1.0.0b1' - azure-mgmt-peering: - ServiceDirectory: peering - Version: '2.0.0b1' - azure-mgmt-redis: - ServiceDirectory: redis - Version: '14.3.0' - azure-mgmt-hanaonazure: - ServiceDirectory: hanaonazure - Version: '1.1.0b1' - azure-mgmt-quota: - ServiceDirectory: quota - Version: '1.1.0' - azure-mgmt-webpubsub: - ServiceDirectory: webpubsub - Version: '2.0.0b2' - azure-mgmt-databricks: - ServiceDirectory: databricks - Version: '2.0.0' - azure-mgmt-appconfiguration: - ServiceDirectory: appconfiguration - Version: '3.0.0' - azure-mgmt-hybridcompute: - ServiceDirectory: hybridcompute - Version: '9.0.0b1' - azure-mgmt-managementgroups: - ServiceDirectory: managementgroups - Version: '1.1.0b1' - azure-mgmt-edgeorder: - ServiceDirectory: edgeorder - Version: '2.0.0b1' - azure-mgmt-networkanalytics: - ServiceDirectory: networkanalytics - Version: '1.0.0' - azure-mgmt-qumulo: - ServiceDirectory: qumulo - Version: '1.0.0' - azure-mgmt-dns: - ServiceDirectory: network - Version: '8.1.0' - azure-mgmt-network: - ServiceDirectory: network - Version: '25.3.0' - azure-mgmt-privatedns: - ServiceDirectory: network - Version: '1.1.0' - azure-mgmt-frontdoor: - ServiceDirectory: network - Version: '1.1.0' - azure-mgmt-digitaltwins: - ServiceDirectory: digitaltwins - Version: '6.4.0' - azure-mgmt-hybridnetwork: - ServiceDirectory: hybridnetwork - Version: '2.0.0' - azure-mgmt-playwrighttesting: - ServiceDirectory: playwrighttesting - Version: '1.0.0b2' - azure-mgmt-azurelargeinstance: - ServiceDirectory: azurelargeinstance - Version: '1.0.0b1' - azure-mgmt-datamigration: - ServiceDirectory: datamigration - Version: '10.1.0b1' - azure-mgmt-voiceservices: - ServiceDirectory: voiceservices - Version: '1.0.0' - azure-mgmt-policyinsights: - ServiceDirectory: policyinsights - Version: '1.1.0b4' - azure-mgmt-storagemover: - ServiceDirectory: storagemover - Version: '2.0.0' - azure-mgmt-subscription: - ServiceDirectory: subscription - Version: '3.2.0b1' - azure-mgmt-hybridcontainerservice: - ServiceDirectory: hybridcontainerservice - Version: '1.0.0' - azure-mgmt-kubernetesconfiguration: - ServiceDirectory: kubernetesconfiguration - Version: '3.1.0' + # azure-mgmt-graphservices: + # ServiceDirectory: graphservices + # Version: '1.0.0' + # azure-mgmt-deploymentmanager: + # ServiceDirectory: deploymentmanager + # Version: '2.0.0b1' + # azure-mgmt-azurearcdata: + # ServiceDirectory: azurearcdata + # Version: '2.0.0b1' + # azure-mgmt-selfhelp: + # ServiceDirectory: selfhelp + # Version: '2.0.0b2' + # azure-mgmt-baremetalinfrastructure: + # ServiceDirectory: baremetalinfrastructure + # Version: '1.1.0b2' + # azure-mgmt-redhatopenshift: + # ServiceDirectory: redhatopenshift + # Version: '1.4.0' + # azure-mgmt-cdn: + # ServiceDirectory: cdn + # Version: '13.0.0' + # azure-mgmt-datalake-store: + # ServiceDirectory: datalake + # Version: '1.1.0b1' + # azure-mgmt-datalake-analytics: + # ServiceDirectory: datalake + # Version: '1.0.0b2' + # azure-mgmt-quantum: + # ServiceDirectory: quantum + # Version: '1.0.0b4' + # azure-mgmt-astro: + # ServiceDirectory: astro + # Version: '1.0.0b1' + # azure-mgmt-sphere: + # ServiceDirectory: sphere + # Version: '1.0.0b1' + # azure-mgmt-keyvault: + # ServiceDirectory: keyvault + # Version: '10.3.0' + # azure-mgmt-azurestackhci: + # ServiceDirectory: azurestackhci + # Version: '8.0.0b3' + # azure-mgmt-hybridconnectivity: + # ServiceDirectory: hybridconnectivity + # Version: '1.0.0' + # azure-mgmt-managementpartner: + # ServiceDirectory: managementpartner + # Version: '1.1.0b1' + # azure-mgmt-serialconsole: + # ServiceDirectory: serialconsole + # Version: '1.1.0b1' + # azure-mgmt-security: + # ServiceDirectory: security + # Version: '6.0.0' + # azure-mgmt-dashboard: + # ServiceDirectory: dashboard + # Version: '1.1.0' + # azure-mgmt-kusto: + # ServiceDirectory: kusto + # Version: '3.3.0' + # azure-mgmt-hybridkubernetes: + # ServiceDirectory: hybridkubernetes + # Version: '1.2.0b1' + # azure-mgmt-servicefabricmanagedclusters: + # ServiceDirectory: servicefabricmanagedclusters + # Version: '2.0.0b6' + # azure-mgmt-commerce: + # ServiceDirectory: commerce + # Version: '6.1.0b1' + # azure-mgmt-orbital: + # ServiceDirectory: orbital + # Version: '2.0.0' + # azure-mgmt-servicelinker: + # ServiceDirectory: servicelinker + # Version: '1.2.0b1' + # azure-mgmt-servicenetworking: + # ServiceDirectory: servicenetworking + # Version: '1.0.0' + # azure-mgmt-servicefabric: + # ServiceDirectory: servicefabric + # Version: '2.2.0b1' + # azure-mgmt-elastic: + # ServiceDirectory: elastic + # Version: '1.1.0b3' + # azure-mgmt-securitydevops: + # ServiceDirectory: securitydevops + # Version: '1.0.0b2' + # azure-mgmt-core: + # ServiceDirectory: core + # Version: '1.4.0' + # azure-mgmt-alertsmanagement: + # ServiceDirectory: alertsmanagement + # Version: '2.0.0b2' + # azure-mgmt-support: + # ServiceDirectory: support + # Version: '6.1.0b2' + # azure-mgmt-containerinstance: + # ServiceDirectory: containerinstance + # Version: '10.1.0' + # azure-mgmt-hdinsight: + # ServiceDirectory: hdinsight + # Version: '9.0.0' + # azure-mgmt-hdinsightcontainers: + # ServiceDirectory: hdinsight + # Version: '1.0.0b1' + # azure-mgmt-marketplaceordering: + # ServiceDirectory: marketplaceordering + # Version: '1.2.0b1' + # azure-mgmt-deviceupdate: + # ServiceDirectory: deviceupdate + # Version: '1.1.0' + # azure-mgmt-reservations: + # ServiceDirectory: reservations + # Version: '2.3.0' + # azure-mgmt-apimanagement: + # ServiceDirectory: apimanagement + # Version: '4.0.0' + # azure-mgmt-containerservice: + # ServiceDirectory: containerservice + # Version: '29.1.0' + # azure-mgmt-containerservicefleet: + # ServiceDirectory: containerservice + # Version: '1.0.0' + # azure-mgmt-defendereasm: + # ServiceDirectory: defendereasm + # Version: '1.0.0b1' + # azure-mgmt-loganalytics: + # ServiceDirectory: loganalytics + # Version: '13.0.0b6' + # azure-mgmt-authorization: + # ServiceDirectory: authorization + # Version: '4.0.0' + # azure-mgmt-servicebus: + # ServiceDirectory: servicebus + # Version: '8.2.0' + # azure-mgmt-iotfirmwaredefense: + # ServiceDirectory: iotfirmwaredefense + # Version: '1.0.0b1' + # azure-mgmt-peering: + # ServiceDirectory: peering + # Version: '2.0.0b1' + # azure-mgmt-redis: + # ServiceDirectory: redis + # Version: '14.3.0' + # azure-mgmt-hanaonazure: + # ServiceDirectory: hanaonazure + # Version: '1.1.0b1' + # azure-mgmt-quota: + # ServiceDirectory: quota + # Version: '1.1.0' + # azure-mgmt-webpubsub: + # ServiceDirectory: webpubsub + # Version: '2.0.0b2' + # azure-mgmt-databricks: + # ServiceDirectory: databricks + # Version: '2.0.0' + # azure-mgmt-appconfiguration: + # ServiceDirectory: appconfiguration + # Version: '3.0.0' + # azure-mgmt-hybridcompute: + # ServiceDirectory: hybridcompute + # Version: '9.0.0b1' + # azure-mgmt-managementgroups: + # ServiceDirectory: managementgroups + # Version: '1.1.0b1' + # azure-mgmt-edgeorder: + # ServiceDirectory: edgeorder + # Version: '2.0.0b1' + # azure-mgmt-networkanalytics: + # ServiceDirectory: networkanalytics + # Version: '1.0.0' + # azure-mgmt-qumulo: + # ServiceDirectory: qumulo + # Version: '1.0.0' + # azure-mgmt-dns: + # ServiceDirectory: network + # Version: '8.1.0' + # azure-mgmt-network: + # ServiceDirectory: network + # Version: '25.3.0' + # azure-mgmt-privatedns: + # ServiceDirectory: network + # Version: '1.1.0' + # azure-mgmt-frontdoor: + # ServiceDirectory: network + # Version: '1.1.0' + # azure-mgmt-digitaltwins: + # ServiceDirectory: digitaltwins + # Version: '6.4.0' + # azure-mgmt-hybridnetwork: + # ServiceDirectory: hybridnetwork + # Version: '2.0.0' + # azure-mgmt-playwrighttesting: + # ServiceDirectory: playwrighttesting + # Version: '1.0.0b2' + # azure-mgmt-azurelargeinstance: + # ServiceDirectory: azurelargeinstance + # Version: '1.0.0b1' + # azure-mgmt-datamigration: + # ServiceDirectory: datamigration + # Version: '10.1.0b1' + # azure-mgmt-voiceservices: + # ServiceDirectory: voiceservices + # Version: '1.0.0' + # azure-mgmt-policyinsights: + # ServiceDirectory: policyinsights + # Version: '1.1.0b4' + # azure-mgmt-storagemover: + # ServiceDirectory: storagemover + # Version: '2.0.0' + # azure-mgmt-subscription: + # ServiceDirectory: subscription + # Version: '3.2.0b1' + # azure-mgmt-hybridcontainerservice: + # ServiceDirectory: hybridcontainerservice + # Version: '1.0.0' + # azure-mgmt-kubernetesconfiguration: + # ServiceDirectory: kubernetesconfiguration + # Version: '3.1.0' azure-mgmt-recoveryservicesdatareplication: ServiceDirectory: recoveryservicesdatareplication Version: '1.0.0b1' From f4f72c88021ffc87324d14202d8712f894fb2dac Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 19 Mar 2024 17:35:04 -0700 Subject: [PATCH 31/38] fix loadtestservice dir --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index cecd76e71d2c..1828099a32ed 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -444,7 +444,7 @@ parameters: ServiceDirectory: databoxedge Version: '2.0.0b1' azure-mgmt-loadtesting: - ServiceDirectory: loadtesting + ServiceDirectory: loadtestservice Version: '1.0.0' azure-mgmt-mixedreality: ServiceDirectory: mixedreality From 4d3a5b18b92313a75f75e6aa4c386a273981b2b6 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 20 Mar 2024 09:51:51 -0700 Subject: [PATCH 32/38] remove deprecated azure-mgmt-app --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 1828099a32ed..3c040126a278 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -461,9 +461,6 @@ parameters: azure-mgmt-rdbms: ServiceDirectory: rdbms Version: '10.2.0b15' - azure-mgmt-app: - ServiceDirectory: app - Version: '1.0.0b2' azure-mgmt-netapp: ServiceDirectory: netapp Version: '12.0.0b1' From 3c70c90428cb691e4c9d12aab0544ae16e9700d4 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 20 Mar 2024 11:31:38 -0700 Subject: [PATCH 33/38] remove videoanalyzer, deprecated --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 3c040126a278..5eb54dd5f3bf 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -497,9 +497,6 @@ parameters: azure-mgmt-trafficmanager: ServiceDirectory: trafficmanager Version: '1.1.0' - azure-mgmt-videoanalyzer: - ServiceDirectory: videoanalyzer - Version: '1.0.0b4' azure-mgmt-redisenterprise: ServiceDirectory: redisenterprise Version: '3.0.0' From 2efdaf8b8ab4a9b4547bf929606d740cad968b38 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 20 Mar 2024 13:22:47 -0700 Subject: [PATCH 34/38] fix for network --- doc/sphinx/generate_doc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/sphinx/generate_doc.py b/doc/sphinx/generate_doc.py index cd86969179ab..eadd85202d60 100644 --- a/doc/sphinx/generate_doc.py +++ b/doc/sphinx/generate_doc.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +MULTIAPI_SLIM_PACKAGES = ["azure.mgmt.network"] def make_title(title): """Create a underlined title with the correct number of =.""" @@ -160,7 +161,7 @@ def generate_doc(output_directory: str = "./ref/", package_root: str = None) -> for namespace, multi_api_versions in namespaces.items(): _LOGGER.info("Working on %s", namespace) - if not multi_api_versions: + if not multi_api_versions or namespace in MULTIAPI_SLIM_PACKAGES: write_rst(namespace, rst_path_template, rst_namespace_template, package_list_path) continue From ed40cc7ee0f61cc029d35c972bf034ebf042f28e Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Thu, 21 Mar 2024 15:31:35 -0700 Subject: [PATCH 35/38] try output artifacts for one lib --- .../temp_mgmt/publish_all_mgmt_docs.yml | 569 +----------------- 1 file changed, 33 insertions(+), 536 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 5eb54dd5f3bf..21abac8add8d 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -2,543 +2,10 @@ parameters: - name: MgmtPackages type: object default: - # azure-mgmt-connectedvmware: - # ServiceDirectory: connectedvmware - # Version: '1.0.0' - # azure-mgmt-oep: - # ServiceDirectory: oep - # Version: '1.0.0b2' - # azure-mgmt-devhub: - # ServiceDirectory: devhub - # Version: '1.0.0b1' - # azure-mgmt-consumption: - # ServiceDirectory: consumption - # Version: '11.0.0b1' - # azure-mgmt-managedapplications: - # ServiceDirectory: managedapplications - # Version: '1.0.0b1' - # azure-mgmt-advisor: - # ServiceDirectory: advisor - # Version: '10.0.0b1' - # azure-mgmt-operationsmanagement: - # ServiceDirectory: operationsmanagement - # Version: '2.0.0b1' - # azure-mgmt-iothub: - # ServiceDirectory: iothub - # Version: '3.0.0' - # azure-mgmt-iothubprovisioningservices: - # ServiceDirectory: iothub - # Version: '1.2.0b2' - # azure-mgmt-iotcentral: - # ServiceDirectory: iothub - # Version: '10.0.0b2' - # azure-mgmt-managedservices: - # ServiceDirectory: managedservices - # Version: '7.0.0b1' - # azure-mgmt-signalr: - # ServiceDirectory: signalr - # Version: '2.0.0b2' - # azure-mgmt-extendedlocation: - # ServiceDirectory: extendedlocation - # Version: '1.2.0b1' - # azure-mgmt-automation: - # ServiceDirectory: automation - # Version: '1.1.0b3' - # azure-mgmt-networkcloud: - # ServiceDirectory: networkcloud - # Version: '1.0.0' - # azure-mgmt-appcomplianceautomation: - # ServiceDirectory: appcomplianceautomation - # Version: '1.0.0b1' - # azure-mgmt-billing: - # ServiceDirectory: billing - # Version: '6.1.0b1' - # azure-mgmt-media: - # ServiceDirectory: media - # Version: '10.2.0' - # azure-mgmt-dnsresolver: - # ServiceDirectory: dnsresolver - # Version: '1.1.0b1' - # azure-mgmt-storagecache: - # ServiceDirectory: storage - # Version: '1.6.0b1' - # azure-mgmt-storage: - # ServiceDirectory: storage - # Version: '21.1.0' - # azure-mgmt-storagesync: - # ServiceDirectory: storage - # Version: '2.0.0b1' - # azure-mgmt-storageimportexport: - # ServiceDirectory: storage - # Version: '1.0.0b2' - # azure-mgmt-timeseriesinsights: - # ServiceDirectory: timeseriesinsights - # Version: '2.0.0b1' - # azure-mgmt-synapse: - # ServiceDirectory: synapse - # Version: '2.1.0b7' - # azure-mgmt-resourceconnector: - # ServiceDirectory: resourceconnector - # Version: '1.0.0' - # azure-mgmt-notificationhubs: - # ServiceDirectory: notificationhubs - # Version: '8.1.0b1' - # azure-mgmt-streamanalytics: - # ServiceDirectory: streamanalytics - # Version: '2.0.0b2' - # azure-mgmt-customproviders: - # ServiceDirectory: customproviders - # Version: '1.1.0b1' - # azure-mgmt-containerregistry: - # ServiceDirectory: containerregistry - # Version: '10.3.0' - # azure-mgmt-web: - # ServiceDirectory: appservice - # Version: '7.2.0' - # azure-mgmt-monitor: - # ServiceDirectory: monitor - # Version: '6.0.2' - # azure-mgmt-managednetworkfabric: - # ServiceDirectory: managednetworkfabric - # Version: '1.0.0' - # azure-mgmt-appplatform: - # ServiceDirectory: appplatform - # Version: '9.0.0' - # azure-mgmt-msi: - # ServiceDirectory: resources - # Version: '7.1.0b1' - # azure-mgmt-resource: - # ServiceDirectory: resources - # Version: '23.1.0b2' - # azure-mgmt-resourcegraph: - # ServiceDirectory: resources - # Version: '8.1.0b3' - # azure-mgmt-databox: - # ServiceDirectory: databox - # Version: '2.0.0' - # azure-mgmt-maps: - # ServiceDirectory: maps - # Version: '2.1.0' - # azure-mgmt-education: - # ServiceDirectory: education - # Version: '1.0.0b2' - # azure-mgmt-costmanagement: - # ServiceDirectory: costmanagement - # Version: '4.0.1' - # azure-mgmt-workloadmonitor: - # ServiceDirectory: workloadmonitor - # Version: '1.0.0b4' - # azure-mgmt-cognitiveservices: - # ServiceDirectory: cognitiveservices - # Version: '13.5.0' - # azure-mgmt-workloads: - # ServiceDirectory: workloads - # Version: '1.0.0' - # azure-mgmt-datadog: - # ServiceDirectory: datadog - # Version: '2.1.0' - # azure-mgmt-resourcemover: - # ServiceDirectory: resourcemover - # Version: '1.1.0' - # azure-mgmt-paloaltonetworksngfw: - # ServiceDirectory: paloaltonetworks - # Version: '2.0.0b1' - # azure-mgmt-recoveryservicessiterecovery: - # ServiceDirectory: recoveryservices - # Version: '1.2.0' - # azure-mgmt-recoveryservices: - # ServiceDirectory: recoveryservices - # Version: '2.5.0' - # azure-mgmt-recoveryservicesbackup: - # ServiceDirectory: recoveryservices - # Version: '9.0.0' - # azure-mgmt-vmwarecloudsimple: - # ServiceDirectory: compute - # Version: '1.0.0b2' - # azure-mgmt-avs: - # ServiceDirectory: compute - # Version: '8.0.0' - # azure-mgmt-imagebuilder: - # ServiceDirectory: compute - # Version: '1.3.0' - # azure-mgmt-portal: - # ServiceDirectory: portal - # Version: '1.1.0b1' - # azure-mgmt-logic: - # ServiceDirectory: logic - # Version: '10.1.0b1' - # azure-mgmt-graphservices: - # ServiceDirectory: graphservices - # Version: '1.0.0' - # azure-mgmt-deploymentmanager: - # ServiceDirectory: deploymentmanager - # Version: '2.0.0b1' - # azure-mgmt-azurearcdata: - # ServiceDirectory: azurearcdata - # Version: '2.0.0b1' - # azure-mgmt-selfhelp: - # ServiceDirectory: selfhelp - # Version: '2.0.0b2' - # azure-mgmt-baremetalinfrastructure: - # ServiceDirectory: baremetalinfrastructure - # Version: '1.1.0b2' - # azure-mgmt-redhatopenshift: - # ServiceDirectory: redhatopenshift - # Version: '1.4.0' - # azure-mgmt-cdn: - # ServiceDirectory: cdn - # Version: '13.0.0' - # azure-mgmt-datalake-store: - # ServiceDirectory: datalake - # Version: '1.1.0b1' - # azure-mgmt-datalake-analytics: - # ServiceDirectory: datalake - # Version: '1.0.0b2' - # azure-mgmt-quantum: - # ServiceDirectory: quantum - # Version: '1.0.0b4' - # azure-mgmt-astro: - # ServiceDirectory: astro - # Version: '1.0.0b1' - # azure-mgmt-sphere: - # ServiceDirectory: sphere - # Version: '1.0.0b1' - # azure-mgmt-keyvault: - # ServiceDirectory: keyvault - # Version: '10.3.0' - # azure-mgmt-azurestackhci: - # ServiceDirectory: azurestackhci - # Version: '8.0.0b3' - # azure-mgmt-hybridconnectivity: - # ServiceDirectory: hybridconnectivity - # Version: '1.0.0' - # azure-mgmt-managementpartner: - # ServiceDirectory: managementpartner - # Version: '1.1.0b1' - # azure-mgmt-serialconsole: - # ServiceDirectory: serialconsole - # Version: '1.1.0b1' - # azure-mgmt-security: - # ServiceDirectory: security - # Version: '6.0.0' - # azure-mgmt-dashboard: - # ServiceDirectory: dashboard - # Version: '1.1.0' - # azure-mgmt-kusto: - # ServiceDirectory: kusto - # Version: '3.3.0' - # azure-mgmt-hybridkubernetes: - # ServiceDirectory: hybridkubernetes - # Version: '1.2.0b1' - # azure-mgmt-servicefabricmanagedclusters: - # ServiceDirectory: servicefabricmanagedclusters - # Version: '2.0.0b6' - # azure-mgmt-commerce: - # ServiceDirectory: commerce - # Version: '6.1.0b1' - # azure-mgmt-orbital: - # ServiceDirectory: orbital - # Version: '2.0.0' - # azure-mgmt-servicelinker: - # ServiceDirectory: servicelinker - # Version: '1.2.0b1' - # azure-mgmt-servicenetworking: - # ServiceDirectory: servicenetworking - # Version: '1.0.0' - # azure-mgmt-servicefabric: - # ServiceDirectory: servicefabric - # Version: '2.2.0b1' - # azure-mgmt-elastic: - # ServiceDirectory: elastic - # Version: '1.1.0b3' - # azure-mgmt-securitydevops: - # ServiceDirectory: securitydevops - # Version: '1.0.0b2' - # azure-mgmt-core: - # ServiceDirectory: core - # Version: '1.4.0' - # azure-mgmt-alertsmanagement: - # ServiceDirectory: alertsmanagement - # Version: '2.0.0b2' - # azure-mgmt-support: - # ServiceDirectory: support - # Version: '6.1.0b2' - # azure-mgmt-containerinstance: - # ServiceDirectory: containerinstance - # Version: '10.1.0' - # azure-mgmt-hdinsight: - # ServiceDirectory: hdinsight - # Version: '9.0.0' - # azure-mgmt-hdinsightcontainers: - # ServiceDirectory: hdinsight - # Version: '1.0.0b1' - # azure-mgmt-marketplaceordering: - # ServiceDirectory: marketplaceordering - # Version: '1.2.0b1' - # azure-mgmt-deviceupdate: - # ServiceDirectory: deviceupdate - # Version: '1.1.0' - # azure-mgmt-reservations: - # ServiceDirectory: reservations - # Version: '2.3.0' - # azure-mgmt-apimanagement: - # ServiceDirectory: apimanagement - # Version: '4.0.0' - # azure-mgmt-containerservice: - # ServiceDirectory: containerservice - # Version: '29.1.0' - # azure-mgmt-containerservicefleet: - # ServiceDirectory: containerservice - # Version: '1.0.0' - # azure-mgmt-defendereasm: - # ServiceDirectory: defendereasm - # Version: '1.0.0b1' - # azure-mgmt-loganalytics: - # ServiceDirectory: loganalytics - # Version: '13.0.0b6' - # azure-mgmt-authorization: - # ServiceDirectory: authorization - # Version: '4.0.0' - # azure-mgmt-servicebus: - # ServiceDirectory: servicebus - # Version: '8.2.0' - # azure-mgmt-iotfirmwaredefense: - # ServiceDirectory: iotfirmwaredefense - # Version: '1.0.0b1' - # azure-mgmt-peering: - # ServiceDirectory: peering - # Version: '2.0.0b1' - # azure-mgmt-redis: - # ServiceDirectory: redis - # Version: '14.3.0' - # azure-mgmt-hanaonazure: - # ServiceDirectory: hanaonazure - # Version: '1.1.0b1' - # azure-mgmt-quota: - # ServiceDirectory: quota - # Version: '1.1.0' - # azure-mgmt-webpubsub: - # ServiceDirectory: webpubsub - # Version: '2.0.0b2' - # azure-mgmt-databricks: - # ServiceDirectory: databricks - # Version: '2.0.0' - # azure-mgmt-appconfiguration: - # ServiceDirectory: appconfiguration - # Version: '3.0.0' - # azure-mgmt-hybridcompute: - # ServiceDirectory: hybridcompute - # Version: '9.0.0b1' - # azure-mgmt-managementgroups: - # ServiceDirectory: managementgroups - # Version: '1.1.0b1' - # azure-mgmt-edgeorder: - # ServiceDirectory: edgeorder - # Version: '2.0.0b1' - # azure-mgmt-networkanalytics: - # ServiceDirectory: networkanalytics - # Version: '1.0.0' - # azure-mgmt-qumulo: - # ServiceDirectory: qumulo - # Version: '1.0.0' - # azure-mgmt-dns: - # ServiceDirectory: network - # Version: '8.1.0' - # azure-mgmt-network: - # ServiceDirectory: network - # Version: '25.3.0' - # azure-mgmt-privatedns: - # ServiceDirectory: network - # Version: '1.1.0' - # azure-mgmt-frontdoor: - # ServiceDirectory: network - # Version: '1.1.0' - # azure-mgmt-digitaltwins: - # ServiceDirectory: digitaltwins - # Version: '6.4.0' - # azure-mgmt-hybridnetwork: - # ServiceDirectory: hybridnetwork - # Version: '2.0.0' - # azure-mgmt-playwrighttesting: - # ServiceDirectory: playwrighttesting - # Version: '1.0.0b2' - # azure-mgmt-azurelargeinstance: - # ServiceDirectory: azurelargeinstance - # Version: '1.0.0b1' - # azure-mgmt-datamigration: - # ServiceDirectory: datamigration - # Version: '10.1.0b1' - # azure-mgmt-voiceservices: - # ServiceDirectory: voiceservices - # Version: '1.0.0' - # azure-mgmt-policyinsights: - # ServiceDirectory: policyinsights - # Version: '1.1.0b4' - # azure-mgmt-storagemover: - # ServiceDirectory: storagemover - # Version: '2.0.0' - # azure-mgmt-subscription: - # ServiceDirectory: subscription - # Version: '3.2.0b1' - # azure-mgmt-hybridcontainerservice: - # ServiceDirectory: hybridcontainerservice - # Version: '1.0.0' - # azure-mgmt-kubernetesconfiguration: - # ServiceDirectory: kubernetesconfiguration - # Version: '3.1.0' - azure-mgmt-recoveryservicesdatareplication: - ServiceDirectory: recoveryservicesdatareplication - Version: '1.0.0b1' - azure-mgmt-devspaces: - ServiceDirectory: aks - Version: '1.0.0b3' - azure-mgmt-storagepool: - ServiceDirectory: storagepool - Version: '1.1.0b1' - azure-mgmt-securityinsight: - ServiceDirectory: securityinsight - Version: '2.0.0b2' - azure-mgmt-cosmosdb: - ServiceDirectory: cosmos - Version: '10.0.0b2' - azure-mgmt-attestation: - ServiceDirectory: attestation - Version: '2.0.0b1' - azure-mgmt-healthbot: - ServiceDirectory: healthbot - Version: '1.0.0b2' - azure-mgmt-resourcehealth: - ServiceDirectory: resourcehealth - Version: '1.0.0b5' - azure-mgmt-dynatrace: - ServiceDirectory: dynatrace - Version: '2.0.0' - azure-mgmt-guestconfig: - ServiceDirectory: machinelearning - Version: '1.0.0b2' - azure-mgmt-machinelearningservices: - ServiceDirectory: machinelearning - Version: '2.0.0b2' - azure-mgmt-machinelearningcompute: - ServiceDirectory: machinelearning - Version: '1.0.0b2' - azure-mgmt-agrifood: - ServiceDirectory: agrifood - Version: '1.0.0b3' - azure-mgmt-dataprotection: - ServiceDirectory: dataprotection - Version: '1.3.0' - azure-mgmt-labservices: - ServiceDirectory: labservices - Version: '2.1.0b1' - azure-mgmt-testbase: - ServiceDirectory: testbase - Version: '1.0.0b2' - azure-mgmt-chaos: - ServiceDirectory: chaos - Version: '1.1.0' - azure-mgmt-confidentialledger: - ServiceDirectory: confidentialledger - Version: '2.0.0b3' - azure-mgmt-databoxedge: - ServiceDirectory: databoxedge - Version: '2.0.0b1' - azure-mgmt-loadtesting: - ServiceDirectory: loadtestservice - Version: '1.0.0' - azure-mgmt-mixedreality: - ServiceDirectory: mixedreality - Version: '1.1.0b1' - azure-mgmt-eventhub: - ServiceDirectory: eventhub - Version: '11.0.0' - azure-mgmt-scvmm: - ServiceDirectory: scvmm - Version: '1.0.0b2' - azure-mgmt-devcenter: - ServiceDirectory: devcenter - Version: '1.1.0b1' - azure-mgmt-rdbms: - ServiceDirectory: rdbms - Version: '10.2.0b15' - azure-mgmt-netapp: - ServiceDirectory: netapp - Version: '12.0.0b1' - azure-mgmt-elasticsan: - ServiceDirectory: elasticsan - Version: '1.0.0' - azure-mgmt-relay: - ServiceDirectory: relay - Version: '2.0.0b1' - azure-mgmt-datashare: - ServiceDirectory: datashare - Version: '1.1.0b1' - azure-mgmt-devtestlabs: - ServiceDirectory: devtestlabs + azure-mgmt-advisor: + ServiceDirectory: advisor Version: '10.0.0b1' - azure-mgmt-billingbenefits: - ServiceDirectory: billingbenefits - Version: '1.0.0b1' - azure-mgmt-purview: - ServiceDirectory: purview - Version: '1.1.0b1' - azure-mgmt-applicationinsights: - ServiceDirectory: applicationinsights - Version: '4.0.0' - azure-mgmt-logz: - ServiceDirectory: logz - Version: '1.1.0b1' - azure-mgmt-eventgrid: - ServiceDirectory: eventgrid - Version: '10.3.0b3' - azure-mgmt-healthcareapis: - ServiceDirectory: healthcareapis - Version: '2.0.0' - azure-mgmt-trafficmanager: - ServiceDirectory: trafficmanager - Version: '1.1.0' - azure-mgmt-redisenterprise: - ServiceDirectory: redisenterprise - Version: '3.0.0' - azure-mgmt-desktopvirtualization: - ServiceDirectory: desktopvirtualization - Version: '1.1.0' - azure-mgmt-apicenter: - ServiceDirectory: apicenter - Version: '1.0.0' - azure-mgmt-automanage: - ServiceDirectory: automanage - Version: '2.0.0b1' - azure-mgmt-maintenance: - ServiceDirectory: maintenance - Version: '2.2.0b1' - azure-mgmt-fluidrelay: - ServiceDirectory: fluidrelay - Version: '1.1.0b1' - azure-mgmt-hardwaresecuritymodules: - ServiceDirectory: hardwaresecuritymodules - Version: '1.0.0b1' - azure-mgmt-springappdiscovery: - ServiceDirectory: springappdiscovery - Version: '1.0.0b1' - azure-mgmt-botservice: - ServiceDirectory: botservice - Version: '2.0.0' - azure-mgmt-sql: - ServiceDirectory: sql - Version: '4.0.0b15' - azure-mgmt-sqlvirtualmachine: - ServiceDirectory: sql - Version: '1.0.0b6' - azure-mgmt-networkfunction: - ServiceDirectory: networkfunction - Version: '1.0.0b1' - azure-mgmt-powerbidedicated: - ServiceDirectory: powerbidedicated - Version: '1.1.0b1' - azure-mgmt-azurestack: - ServiceDirectory: azurestack - Version: '2.0.0b1' + jobs: - job: 'PublishAllMgmtDocs' @@ -574,3 +41,33 @@ jobs: parameters: ArtifactPath: '$(Build.SourcesDirectory)/_docs' ArtifactName: 'documentation' + + - job: PublishGitHubIODocs + displayName: Publish Docs to GitHubIO Blob Storage + environment: githubio + + pool: + name: azsdk-pool-mms-win-2022-general + image: azsdk-pool-mms-win-2022-1espt + os: windows + + strategy: + runOnce: + deploy: + steps: + - checkout: self + + - pwsh: | + Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}} + workingDirectory: $(Pipeline.Workspace) + displayName: Output Visible Artifacts + + # - template: /eng/common/pipelines/templates/steps/publish-blobs.yml + # parameters: + # FolderForUpload: '$(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}}' + # BlobSASKey: '$(azure-sdk-docs-prod-sas)' + # BlobName: '$(azure-sdk-docs-prod-blob-name)' + # TargetLanguage: 'python' + # ArtifactLocation: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}' + # # we override the regular script path because we have cloned the build tools repo as a separate artifact. + # ScriptPath: 'doc/sphinx/temp_mgmt/copydocs.ps1' From 681669152fd8520ac46809d3f99edd452de462ba Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Thu, 21 Mar 2024 15:33:01 -0700 Subject: [PATCH 36/38] remove env --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 21abac8add8d..24c5f4114054 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -44,7 +44,6 @@ jobs: - job: PublishGitHubIODocs displayName: Publish Docs to GitHubIO Blob Storage - environment: githubio pool: name: azsdk-pool-mms-win-2022-general From 227771e6dcc7a875afc8af0fa03c683a8cd9f848 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Thu, 21 Mar 2024 15:36:29 -0700 Subject: [PATCH 37/38] update --- doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 24c5f4114054..23aff4e3f43d 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -57,7 +57,7 @@ jobs: - checkout: self - pwsh: | - Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}} + Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{pkg.key}} workingDirectory: $(Pipeline.Workspace) displayName: Output Visible Artifacts From 279392deb43ef89103f844d819bb259b8368eee2 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Thu, 21 Mar 2024 17:12:31 -0700 Subject: [PATCH 38/38] try --- .../temp_mgmt/publish_all_mgmt_docs.yml | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml index 23aff4e3f43d..f202e79ae406 100644 --- a/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml +++ b/doc/sphinx/temp_mgmt/publish_all_mgmt_docs.yml @@ -42,31 +42,29 @@ jobs: ArtifactPath: '$(Build.SourcesDirectory)/_docs' ArtifactName: 'documentation' - - job: PublishGitHubIODocs - displayName: Publish Docs to GitHubIO Blob Storage + - ${{ each pkg in parameters.MgmtPackages }}: + - job: PublishGitHubIODocs + displayName: Publish Docs to GitHubIO Blob Storage - pool: - name: azsdk-pool-mms-win-2022-general - image: azsdk-pool-mms-win-2022-1espt - os: windows + pool: + name: azsdk-pool-mms-win-2022-general + image: azsdk-pool-mms-win-2022-1espt + os: windows - strategy: - runOnce: - deploy: - steps: - - checkout: self + steps: + - checkout: self - - pwsh: | - Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{pkg.key}} - workingDirectory: $(Pipeline.Workspace) - displayName: Output Visible Artifacts + - pwsh: | + Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{pkg.key}} + workingDirectory: $(Pipeline.Workspace) + displayName: Output Visible Artifacts - # - template: /eng/common/pipelines/templates/steps/publish-blobs.yml - # parameters: - # FolderForUpload: '$(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}}' - # BlobSASKey: '$(azure-sdk-docs-prod-sas)' - # BlobName: '$(azure-sdk-docs-prod-blob-name)' - # TargetLanguage: 'python' - # ArtifactLocation: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}' - # # we override the regular script path because we have cloned the build tools repo as a separate artifact. - # ScriptPath: 'doc/sphinx/temp_mgmt/copydocs.ps1' + # - template: /eng/common/pipelines/templates/steps/publish-blobs.yml + # parameters: + # FolderForUpload: '$(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}}' + # BlobSASKey: '$(azure-sdk-docs-prod-sas)' + # BlobName: '$(azure-sdk-docs-prod-blob-name)' + # TargetLanguage: 'python' + # ArtifactLocation: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}' + # # we override the regular script path because we have cloned the build tools repo as a separate artifact. + # ScriptPath: 'doc/sphinx/temp_mgmt/copydocs.ps1'