From 7ebec2c5af06b68862c4f4d767ff7a9f284331f6 Mon Sep 17 00:00:00 2001 From: Mark Hamilton Date: Tue, 26 Sep 2023 15:24:35 -0400 Subject: [PATCH] wip --- pipeline.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pipeline.yaml b/pipeline.yaml index e9795c17c4..e4ea26e0ee 100644 --- a/pipeline.yaml +++ b/pipeline.yaml @@ -89,9 +89,12 @@ jobs: mavenServiceConnections: SynapseML_PublicPackages-Feed-Connection - bash: | set -e - sbt publishSigned + sudo apt-get install graphviz doxygen -y + source activate synapseml + sbt packagePython + sbt publishLocalSigned python tools/esrp/prepare_jar.py - displayName: ESRP release + displayName: ESRP release prep env: STORAGE-KEY: $(storage-key) NEXUS-UN: $(nexus-un) @@ -100,11 +103,20 @@ jobs: PGP-PUBLIC: $(pgp-public) PGP-PW: $(pgp-pw) SYNAPSEML_ENABLE_PUBLISH: true + - task: EsrpRelease@3 + inputs: + ConnectedServiceName: 'DataScienceESRPRelease' + Intent: 'PackageDistribution' + ContentType: 'Maven' + PackageLocation: '/home/vsts/.ivy2/local/com.microsoft.azure/' + Owners: 'admukund@microsoft.com,richwyd@microsoft.com,taniaarya@microsoft.com,alsavelv@microsoft.com,marcozo@microsoft.com,romanbat@microsoft.com' + Approvers: 'romanbat@microsoft.com,markus.weimer@microsoft.com,negust@microsoft.com' + ServiceEndpointUrl: 'https://api.esrp.microsoft.com' + MainPublisher: 'synapseml' + DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47' + displayName: 'ESRP Publish Package' - bash: | set -e - sudo apt-get install graphviz doxygen -y - source activate synapseml - sbt packagePython sbt publishBlob publishDocs publishR publishPython uploadNotebooks sbt genBuildInfo echo "##vso[task.uploadsummary]$(pwd)/target/Build.md"