Skip to content

Add UPN to deployer function return type - #17099

Merged
Levi Muriuki (levimatheri) merged 2 commits into
mainfrom
levi/deployer-upn
May 7, 2025
Merged

Levi Muriuki (levimatheri) merged 2 commits into
mainfrom
levi/deployer-upn

Conversation

@levimatheri

@levimatheri Levi Muriuki (levimatheri) commented May 7, 2025 •

Copy link
Copy Markdown
Member

For Azure/bicep-reps#14. The backend changes for this have already landed in all clouds.

Microsoft Reviewers: Open in CodeFlow

@github-actions

github-actions Bot commented May 7, 2025 •

Copy link
Copy Markdown
Contributor

Test this change out locally with the following install scripts (Action run 14896593568)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 14896593568
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 14896593568"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 14896593568
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 14896593568"

@github-actions

github-actions Bot commented May 7, 2025

Copy link
Copy Markdown
Contributor

Dotnet Test Results

    78 files   -     39      78 suites   - 39   34m 5s ⏱️ - 18m 16s
12 093 tests  -      9  12 093 ✅  -      9  0 💤 ±0  0 ❌ ±0 
27 944 runs   - 13 955  27 944 ✅  - 13 955  0 💤 ±0  0 ❌ ±0 

Results for commit 3440c35. ± Comparison against base commit 6796a14.

This pull request removes 1791 and adds 615 tests. Note that renamed tests count towards both.

		nestedProp1: 1
		nestedProp2: 2
		prop1: true
		prop2: false
	1
	2
	\$'")
	prop1: true
	prop2: false
…
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000
�ӱ
�0\u0010\u0006��>E�\u0001b��\u0012+��\u0008.>@lOTl�&B@|w�A\Z\�
�\u001bs\u0007�\��de�\u0002m��c��鄑w�V��%�!�<p�
hA\u0008
o����y��Q>q�\u000fʦ��}�sa�֐�\u001c\u0018H-��G�V��DN��������\u000e�T��U_�����x��p+z��.\u0015\u0011\u0010{�2\u0012\u0004�\u001a@���$����+\u001d�k\u000cg,<�K�6،gtk�\u000eoߞ-I�$\u0019�\u001d|8�\u0000\u000c\u0000\u0000,"Value cannot be null. (Parameter 'source')")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000
��A\u000b�0\u0014\u0007��\u0014�\u0007����4�\u0010t�\u0008\u000b��1r��\u0016j �囇�tQ\u000b���`o\u001b�ao���V�.+\u000c�\u0007\u001eFC#��s�E�DT�\u0010D$\u0008���\u000c>I�{U�Ҍ2�^?�\u0005���\GTr!��\u00040��\u0017��L��W��sS�9ʊT7�R]��=�k��1�\u001e��\u001b�>�0�(�\u001eɥ\u000f\u0014\u0011\u0001�L�'�������a�����~��s���ߞɲ,�\u001a�\u0013�\u0011}\u0000\u000c\u0000\u0000,"'7' is an invalid end of a number. Expected a delimiter. Path: $.INVALID_JSON | LineNumber: 0 | BytePositionInLine: 20.")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000
��K
�0\u0010\u0006�=EN���.�w�\u0015�\u0016|�T��\u0005��\u000b�E���\u0008�[f\u00062���do�]a�E�\u0008%i�\u0008�4�4���\u0008I34/��(
��a�I&tMkk?�\u001aw� i�m�e��!���@	�2\u0004���a���f�S޹��z'.M���r�?�+�9�?��-}�?�d�|�!�*���T�����?���\u0011z�(��(�'GAc-\u0000\u000c\u0000\u0000,"The path: index.json was not found in artifact contents")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003��A\u000b�0\u0014\u0007��\u0014�\u000f0���U�!�\u0011\u0016\u0004]c� \u0003-�@��7\u000f�E�\u0016��i��ao�7��t�2:1EI\u0002��'�oԒB��7�P��\u0017��\u0002�i\��I�{Y�¶2�Y?�O���̄L	)�+��\u0002�\u0010�����jl�o�:�i���\�k�ij�����tx��pg|���\u0005b`3J(f�T\u0002�yģ����Ë��b\u0013-���6��������q\u001c�\u0019�\u00134x�?\u0000\u000c\u0000\u0000,"'7' is an invalid end of a number. Expected a delimiter. Path: $.INVALID_JSON | LineNumber: 0 | BytePositionInLine: 20.")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003��K
� \u0010\u0006`�=�'03:*]d�e� m�\u000fbJ\u001e4Pz���EB7iR���\u0019�Q�E�sCQ�CٴBiI�`s��\u0010��GH��}\u0001\u0006Vk�\u0018\u001ff�dD�v�	�,1�\u0007I�]w��\u001c-\u0019�exz����7���*!�������\u0017������_��ɔ�\u001f�֌O�\u0007�\u000cu�dQ���T1��d�������A�$I��'\u001a�*P\u0000\u000c\u0000\u0000,"The path: index.json was not found in artifact contents")
Bicep.Core.IntegrationTests.AzTypesViaRegistryTests ‑ Bicep_compiler_handles_corrupted_extension_package_gracefully (\u001f�\u0008\u0000\u0000\u0000\u0000\u0000\u0000\u0003��K
�0\u0010\u0006�=E�\u0001Ҥ��
ݻ\u0011�x�؎X���\u0011\u0002��M\u0017��M\u001f�����L\u001e?	��nA�д$\u0016\u0011\u000f	\u001a\u001bu$��\u001d�\u0015b�"��p�؎>I�{kt�F���\u000f��X����).�������F���ˆ�X�km�iQ�`ɥ�U]y9T��1�\u0001����Ƿ�Ә#&\��E\u001cQ�>���,����?pp��֐\u0019�wP\u001e�	6���-<����<ϛ�\u000b���\u000e\u0000\u000c\u0000\u0000,"Value cannot be null. (Parameter 'source')")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("output loopOutput array = [for i in range(0, 2): {
  prop: map(containerWorkers, (w) => w.properties.ipAddress.ip)
}]")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("resource propertyLoop 'Microsoft.ContainerInstance/containerGroups@2022-09-01' = {
  name: 'gh9440-loop'
  location: 'westus'
  properties: {
    containers: [for i in range(0, 2): {
      name: 'gh9440-w1c-${i}'
      properties: {
        command: [
          'echo "${join(map(containerWorkers, (w) => w.properties.ipAddress.ip), ',')}"'
        ]
      }
    }]
  }
}")
Bicep.Core.IntegrationTests.DirectResourceCollectionTests ‑ DirectResourceCollectionAccess_NotAllowedWithinLoops ("var loopVar = [for i in range(0, 2): {
  prop: map(containerWorkers, (w) => w.properties.ipAddress.ip)
}]")
Bicep.Core.IntegrationTests.Emit.ParamsFileWriterTests ‑ Params_file_with_no_errors_should_compile_correctly ("
using 'main.bicep'

// involves all syntax
param myParam = {
  arr: [
    {
      a : 'b'
    }
    {
      c : true
    }
  ]
  name: 'complex object!'
  priority: 3
  val: null
  obj: {
      a: 'b'
      c: [
          'd'
           1
      ]
  }
}","
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "myParam": {
      "value": {
        "arr" : [
          {
            "a" : "b"
          },
          {
            "c" : true
          }
        ],
        "name" : "complex object!",
        "priority" : 3,
        "val" : null,
        "obj" : {
          "a" : "b",
          "c" : [
            "d",
            1
          ]
        }
      }
    }
  }
}","
param myParam object
")
…

@mumian

Copy link
Copy Markdown
Contributor

The content PR is ready for review: https://github.com/MicrosoftDocs/azure-docs-pr/pull/299868.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants