Skip to content

Conversation

shenglol
Copy link
Contributor

@shenglol shenglol commented Sep 26, 2025

Updated requirements for building and running the project.

Description

Example Usage

Checklist

Microsoft Reviewers: Open in CodeFlow

Updated requirements for building and running the project.
Copy link
Contributor

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

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

Copy link
Contributor

Dotnet Test Results

    90 files   -     45      90 suites   - 45   40m 30s ⏱️ - 27m 46s
12 384 tests  -     13  12 384 ✅  -     13  0 💤 ±0  0 ❌ ±0 
28 513 runs   - 14 250  28 513 ✅  - 14 250  0 💤 ±0  0 ❌ ±0 

Results for commit af2a40a. ± Comparison against base commit 145cebd.

This pull request removes 1915 and adds 652 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
��K
�0\u0010\u0006�=E�\u0001b��U�{7�\u001b\u000f\u0010�\u0011+���B@���Bܴ��C0�*d\u00062I��zo�\u0016L\u0006�%�I�&hl�%9���0�\u0010So\u0014Q%d�\u0010v�O��n\u001bS���q�\u000f
56M^@�К\u000b\u0016*"%�u,Vm-\u001d��\u0018W�9'y��#\u0017{+��b�}�kz\u0003>�7�\u0013}�?�8b�J\u0011	\u001eQ�ڕ��?K&�<�\u000f\u001c\u001cJp\u0015�
d;(�P\u0007\u001b|2W\u000bϥg�<���\u0002Y\u0007��\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
��K\u000e� \u0010\u0006`֞�'�3�\u0000��]z\u0005�M|�Դ461�]�0q��MmM�[2�0<~��\�-ݡlZ�Qۜ��A��\u001a]\u001f !C�\u0002\u000c\u000c�f,�g�dD�\u0006��Q���\u0007	��p��\u0002
Y�\u0008���\u0000�Pb\u0013k��\u001afW\u0017�E�/��y~nk?4TS
k\u001f4\u0019��~ߺ�O�\u0007\u0010\u000c	4IR\u0012L�?�!��d������=A�$I��')��\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
��M\u000b� \u0018\u0007p�}
�\u0007p�|+�!��"V\u0010t
iB\u000b�b[0���\u000e�e��^����G�Q������F'�(� B�\u0008�
[����\u0006a\u0012\u0010��\u0001�\\u0004\u0000���NZ<�J\u0017��1��ATA]��	��J1N�D�q)	��ڹ�F��K�扩ѵ����k���t:|�o�+���L\u0019 \u001c\u000b\u001ep\u0016`	�S��Q2����zQ|\n��is���\u0002�\u001fx�\u001c�q��\u0000`	H�\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�ӽ
�0\u0010\u0007��>E�\u0003ĤI�F��"��\u0000�=�bki#\u0014�w7\u001dĥť\u001f��M!wp\u0017����݂ɠn\u0008�T�	\u001a\u001bu"!z�;L(��\u001bETI\u0019"���7�qo���*s��Aa���\u000bH��q,�֚p�e\u0014�+WK�jL���s��\u0019����ʮ�\u0018j_��ހ��M7�[�)\u0017�I\u001aI.\u0005�
��d.��d�����������B���\u0008u��'sm��n��y�t^\u000e"�#\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\u0003��A\u000b� \u0014\u0007p�}
�\u0007p:uj�CСE� �\u001a҄\u0016lŶ`З�\u001d��F�m\u0005�;��O�/�w�Y\u0019���B\u0014c�#04l��u�\u0008\u0013��\u0017\u000c��<\u0000\u00006�O��^պ��Lq�\u000f
$�u���\u0008.%cJ)D\u0019�������jD����QV��A��Z��y_�����x��xg|�?\u000e\u0018 \u001c��rF�\u0000v�m\u001e�$����?�89,6���o\u0013o\u000e�\u000f��\u001c�q��=\u0001`�\u0017�\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\u000e�0\u0010\u0006�=EOPf`��\u0005{�^�Q\u0012\u001f�\u0018\u001e��xw���\u0005�
����m'3M��hg�ma\u000fEݨ\u0004�DJ�
��ht}��\u0002�\u000b\u0008�L,��g�dD״���,��\u0007ř���,rԜeD�\u0018�
tl�6~o?���j�c޹��nN���
\u0005�T��\u0017
F��߷z|�?@,�!�	A��c�O�E2����?֞ \u0008� X�\u0013Q\u0017$%\u0000\u000c\u0000\u0000,"The path: index.json was not found in artifact contents")
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
")
…

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.

2 participants