From 1ed7dd22fd0837061ed6835b03813e11dc013a64 Mon Sep 17 00:00:00 2001 From: Mark Hamilton Date: Thu, 18 Apr 2024 15:57:27 -0400 Subject: [PATCH] chore: remove hack for materializing keys (#2211) --- .../ml/services/search/SearchWriterSuite.scala | 2 -- pipeline.yaml | 13 +------------ templates/update_cli.yml | 2 +- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/search/SearchWriterSuite.scala b/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/search/SearchWriterSuite.scala index da4e24ce84..8b2069b664 100644 --- a/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/search/SearchWriterSuite.scala +++ b/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/search/SearchWriterSuite.scala @@ -132,8 +132,6 @@ class SearchWriterSuite extends TestBase with AzureSearchKey with IndexJsonGette override def beforeAll(): Unit = { println("WARNING CREATING SEARCH ENGINE!") - println("materializing keys for tests") - println((openAIAPIKey + openAIAPIKeyGpt4 + openAIServiceName + cognitiveKey).length) SearchIndex.createIfNoneExists(azureSearchKey, testServiceName, createSimpleIndexJson(indexName)) diff --git a/pipeline.yaml b/pipeline.yaml index a7ff8f3d9d..f669a5bb02 100644 --- a/pipeline.yaml +++ b/pipeline.yaml @@ -94,7 +94,7 @@ jobs: artifactsFeeds: SynapseML_PublicPackages mavenServiceConnections: SynapseML_PublicPackages-Feed-Connection - task: AzureCLI@2 - displayName: 'Publish Artifacts 1' + displayName: 'Publish Artifacts' inputs: azureSubscription: 'SynapseML Build' scriptLocation: inlineScript @@ -104,17 +104,6 @@ jobs: sudo apt-get install graphviz doxygen -y source activate synapseml sbt packagePython uploadNotebooks - env: - SYNAPSEML_ENABLE_PUBLISH: true - - task: AzureCLI@2 - displayName: 'Publish Artifacts 2' - inputs: - azureSubscription: 'SynapseML Build' - scriptLocation: inlineScript - scriptType: bash - inlineScript: | - set -e - source activate synapseml sbt -DskipCodegen=true publishBlob publishDocs publishR publishPython sbt genBuildInfo echo "##vso[task.uploadsummary]$(pwd)/target/Build.md" diff --git a/templates/update_cli.yml b/templates/update_cli.yml index 42dc16e210..80fba27275 100644 --- a/templates/update_cli.yml +++ b/templates/update_cli.yml @@ -8,5 +8,5 @@ steps: versionSpec: '8' jdkArchitectureOption: 'x64' jdkSourceOption: 'PreInstalled' - - bash: pip install azure-cli==2.59.0 + - bash: pip install azure-cli==2.58.0 displayName: 'Upgrade Azure CLI'