From 8af17b6866efd4aec774e38f0acaeb1f9e69b3a2 Mon Sep 17 00:00:00 2001 From: NatalieYuGong Date: Tue, 26 Feb 2019 16:45:00 -0800 Subject: [PATCH] Support running an image without a context --- UpgradeLog.htm | Bin 0 -> 31828 bytes .../azure/cli/command_modules/acr/_params.py | 2 + .../azure/cli/command_modules/acr/run.py | 61 +++++++++++++----- 3 files changed, 46 insertions(+), 17 deletions(-) create mode 100644 UpgradeLog.htm diff --git a/UpgradeLog.htm b/UpgradeLog.htm new file mode 100644 index 0000000000000000000000000000000000000000..31d0d9012ac3cb28972619dc239480c3a56752e2 GIT binary patch literal 31828 zcmeI5`BNK7mdESY*@*og)MlqmFU=vq9QN29LI{jG%w@1?J0<{epGMr>Gk^N-e!lrg zXH`iQDsgxw)}fH9Dl7BlyYju4FSAPj`#*n+eu_q;_fa`oj6OxPQ6(xw+tF!s5bZ~A zqW_HkBT|h{K82_jtw!h3MpWf|GdhWms8xv0INOh2N9|D$pJLP>{X)Gp?w$eXWwa9= za@?TSA-|`z5Hy2b0J`t35M8=n59#M6XEm;C4)QbC$04P)Xr1~S++F3olj9C0!lcG` z6X=~>3$K?qtxuz8^rc=lXj66P2M&)_Fi~B@PQS0IyTNrQ{na=(PMk)^lx##_Dcym7 z)hZ|2bw*RbK8&`gvC8j;YukNiU*gIo{dRxj!7GQ;Hc(E$K-_u_%u^`qgtG&=a9WJ6 zz&wu2Dfpkl(G7a}JI5pFpFsM7B1u<0?>PGAxjN?TgjPND?PXS=eeyF+i!JJ{Qq$TN zqIhfRQL=?3-|cD}Mv_sD>nn%f8)`RdlZN51yQBZ6#R#}ofgnxwkbdQA)6r0%Oj=Oj zD{1e5udb@xU5Crk3Y8at)t#$%>AL#OgYh4^YI{1@;P861=XkC0bx6N2!MH6Ni~4T9 z{n4wIU~4Q$Cr)l47O@5P9cvMy_%4oiB7s#mR`=nO@O>67!0j#WO9CIz!e@~rwMe~f zN;ST9J?><(!KkzAC9Y4PS)QI_HX6a^v*Kf~LN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Hr*!VY`qP# zH`LUecBo(VpZ5F77*4ZX)shYMYxd%By|oK=c$uWCodl7hwOETJnCV`J?lIY z(m&A%EAOGj-*^m=^dL!!WM4Jw6TazDob*<=d-h~KjbGn?kh#$m=UK4NMnf4a%+J+R z?CER8A2uhifK8B`un#^h?V)btqxwr)s(N~ozVKzknOP$*>n-jZbY0Q2bo!W&jdsOX z{-6IYxGxLfcSdQRlg@!?_F}tYZFN)`VM)N|OR^(csZdFHhm>{&X_r*hy&X#Xr~TWN z!dytwxBh(YGR&xyd(eJYVQ*S)?}AId4?uf1{Mv=Rds|N)>s_UyNfAViuhucTxYj>v zb#tYsvMp2J%{s%>&ABqbui44`f)$M(_Ad96t=FC(y&XPj2|PDmv$HyUN;j(^`ggxk zBBXvG>8Uuq+o{LZ>*P*}QbE^q<$8nSDBoT*L6K72mwAl}BSUBL(Vw<0X*(A5Q`Vz? z)FvbMQ6~w%Psis`;}+yLAKZ*>O5+xX`|oR+lJ?B#h*Rb>i)rfbwo(&}9F3r?h%Aqt zk*=hzw#Tl7-piYLo1mOTk~07Qs*0>_B})-#(zB&$OhQoY`gkL6uD{hd 0: + f.write('\n') + f.close() + file = 'acb.yaml' + request = FileTaskRunRequest( + task_file_path=file, + values_file_path=values, + values=(set_value if set_value else []) + (set_secret if set_secret else []), + source_location=source_location, + timeout=timeout, + platform=PlatformProperties( + os=platform_os, + architecture=platform_arch, + variant=platform_variant + ) ) - ) queued = LongRunningOperation(cmd.cli_ctx)(client_registries.schedule_run( resource_group_name=resource_group_name,