Skip to content

Commit

Permalink
Bump deployments version to 1.0.1040 (Azure#11440)
Browse files Browse the repository at this point in the history
Supports Azure#11222 / Azure#9230
###### Microsoft Reviewers:
codeflow:open?pullrequest=https://github.com/Azure/bicep/pull/11440&drop=dogfoodAlpha
  • Loading branch information
kalbert312 committed Aug 2, 2023
1 parent c9422e0 commit 7ceb2ac
Show file tree
Hide file tree
Showing 22 changed files with 244 additions and 247 deletions.
24 changes: 12 additions & 12 deletions src/Bicep.Cli.IntegrationTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
},
"Azure.Deployments.Core": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "HtAYoJh3yEng8/YdF5RcwESQf/M4bcgDf0iO4Y7bjdZjZIetguP2yestidQ+a3Ffs/V2Fp2poIfYbJ1mUt2kHg==",
"resolved": "1.0.1040",
"contentHash": "joA1CvSA2st5SlDAiFwfenQBHDz0ZL8/vecR/OQhcZ1X/735odypvu58wiX4uQj2DMHbC/gKeW7Rwn2kdZAg1g==",
"dependencies": {
"Microsoft.PowerPlatform.ResourceStack": "6.0.0.1457",
"Newtonsoft.Json": "13.0.2",
Expand All @@ -121,21 +121,21 @@
},
"Azure.Deployments.Expression": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "hamcVBIzrITSrom/BG8luwyzGY2ztzV8Ak2lKoaho4ICWY3AnFy1ErLfbxfC7JD9gh03zcWVP8fSCYb2dxF9bA==",
"resolved": "1.0.1040",
"contentHash": "lCJreXno5J1zNC3aY6WTBb8jTik7MA1rGJzgXM9fSakSDQMYdPvWWdGz4hVbYi8cVAzmT7WDXKQZI4wmjnWa8w==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"IPNetwork2": "2.6.548",
"Newtonsoft.Json": "13.0.2"
}
},
"Azure.Deployments.Templates": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "wwaU8fMnNXaK/lMBIUNbt5rnVdVhRJS2xlGjBwKVFyJLA4g1Sua9MmaiHRWoU+N4k+gbhPcB6xX9p8bIe5uhRw==",
"resolved": "1.0.1040",
"contentHash": "/PT0gQ/x6elQCNht05ZZURZAym3U1Nc6CNSN4ooXZpoTIx81mU5cq90Gm8sBegRq0Z3rF9IDVbQx8/DmAkBDXA==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Expression": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"Azure.Deployments.Expression": "1.0.1040",
"Microsoft.Automata.SRM": "1.2.2",
"Newtonsoft.Json": "13.0.2"
}
Expand Down Expand Up @@ -2020,9 +2020,9 @@
"Azure.Bicep.Types.Az": "[0.2.552, )",
"Azure.Bicep.Types.K8s": "[0.1.504, )",
"Azure.Containers.ContainerRegistry": "[1.1.0, )",
"Azure.Deployments.Core": "[1.0.1010, )",
"Azure.Deployments.Expression": "[1.0.1010, )",
"Azure.Deployments.Templates": "[1.0.1010, )",
"Azure.Deployments.Core": "[1.0.1040, )",
"Azure.Deployments.Expression": "[1.0.1040, )",
"Azure.Deployments.Templates": "[1.0.1040, )",
"Azure.Identity": "[1.9.0, )",
"Azure.ResourceManager.Resources": "[1.6.0, )",
"JsonPatch.Net": "[2.1.0, )",
Expand Down
24 changes: 12 additions & 12 deletions src/Bicep.Cli.UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
},
"Azure.Deployments.Core": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "HtAYoJh3yEng8/YdF5RcwESQf/M4bcgDf0iO4Y7bjdZjZIetguP2yestidQ+a3Ffs/V2Fp2poIfYbJ1mUt2kHg==",
"resolved": "1.0.1040",
"contentHash": "joA1CvSA2st5SlDAiFwfenQBHDz0ZL8/vecR/OQhcZ1X/735odypvu58wiX4uQj2DMHbC/gKeW7Rwn2kdZAg1g==",
"dependencies": {
"Microsoft.PowerPlatform.ResourceStack": "6.0.0.1457",
"Newtonsoft.Json": "13.0.2",
Expand All @@ -121,21 +121,21 @@
},
"Azure.Deployments.Expression": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "hamcVBIzrITSrom/BG8luwyzGY2ztzV8Ak2lKoaho4ICWY3AnFy1ErLfbxfC7JD9gh03zcWVP8fSCYb2dxF9bA==",
"resolved": "1.0.1040",
"contentHash": "lCJreXno5J1zNC3aY6WTBb8jTik7MA1rGJzgXM9fSakSDQMYdPvWWdGz4hVbYi8cVAzmT7WDXKQZI4wmjnWa8w==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"IPNetwork2": "2.6.548",
"Newtonsoft.Json": "13.0.2"
}
},
"Azure.Deployments.Templates": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "wwaU8fMnNXaK/lMBIUNbt5rnVdVhRJS2xlGjBwKVFyJLA4g1Sua9MmaiHRWoU+N4k+gbhPcB6xX9p8bIe5uhRw==",
"resolved": "1.0.1040",
"contentHash": "/PT0gQ/x6elQCNht05ZZURZAym3U1Nc6CNSN4ooXZpoTIx81mU5cq90Gm8sBegRq0Z3rF9IDVbQx8/DmAkBDXA==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Expression": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"Azure.Deployments.Expression": "1.0.1040",
"Microsoft.Automata.SRM": "1.2.2",
"Newtonsoft.Json": "13.0.2"
}
Expand Down Expand Up @@ -1841,9 +1841,9 @@
"Azure.Bicep.Types.Az": "[0.2.552, )",
"Azure.Bicep.Types.K8s": "[0.1.504, )",
"Azure.Containers.ContainerRegistry": "[1.1.0, )",
"Azure.Deployments.Core": "[1.0.1010, )",
"Azure.Deployments.Expression": "[1.0.1010, )",
"Azure.Deployments.Templates": "[1.0.1010, )",
"Azure.Deployments.Core": "[1.0.1040, )",
"Azure.Deployments.Expression": "[1.0.1040, )",
"Azure.Deployments.Templates": "[1.0.1040, )",
"Azure.Identity": "[1.9.0, )",
"Azure.ResourceManager.Resources": "[1.6.0, )",
"JsonPatch.Net": "[2.1.0, )",
Expand Down
24 changes: 12 additions & 12 deletions src/Bicep.Cli/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@
},
"Azure.Deployments.Core": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "HtAYoJh3yEng8/YdF5RcwESQf/M4bcgDf0iO4Y7bjdZjZIetguP2yestidQ+a3Ffs/V2Fp2poIfYbJ1mUt2kHg==",
"resolved": "1.0.1040",
"contentHash": "joA1CvSA2st5SlDAiFwfenQBHDz0ZL8/vecR/OQhcZ1X/735odypvu58wiX4uQj2DMHbC/gKeW7Rwn2kdZAg1g==",
"dependencies": {
"Microsoft.PowerPlatform.ResourceStack": "6.0.0.1457",
"Newtonsoft.Json": "13.0.2",
Expand All @@ -114,21 +114,21 @@
},
"Azure.Deployments.Expression": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "hamcVBIzrITSrom/BG8luwyzGY2ztzV8Ak2lKoaho4ICWY3AnFy1ErLfbxfC7JD9gh03zcWVP8fSCYb2dxF9bA==",
"resolved": "1.0.1040",
"contentHash": "lCJreXno5J1zNC3aY6WTBb8jTik7MA1rGJzgXM9fSakSDQMYdPvWWdGz4hVbYi8cVAzmT7WDXKQZI4wmjnWa8w==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"IPNetwork2": "2.6.548",
"Newtonsoft.Json": "13.0.2"
}
},
"Azure.Deployments.Templates": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "wwaU8fMnNXaK/lMBIUNbt5rnVdVhRJS2xlGjBwKVFyJLA4g1Sua9MmaiHRWoU+N4k+gbhPcB6xX9p8bIe5uhRw==",
"resolved": "1.0.1040",
"contentHash": "/PT0gQ/x6elQCNht05ZZURZAym3U1Nc6CNSN4ooXZpoTIx81mU5cq90Gm8sBegRq0Z3rF9IDVbQx8/DmAkBDXA==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Expression": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"Azure.Deployments.Expression": "1.0.1040",
"Microsoft.Automata.SRM": "1.2.2",
"Newtonsoft.Json": "13.0.2"
}
Expand Down Expand Up @@ -1779,9 +1779,9 @@
"Azure.Bicep.Types.Az": "[0.2.552, )",
"Azure.Bicep.Types.K8s": "[0.1.504, )",
"Azure.Containers.ContainerRegistry": "[1.1.0, )",
"Azure.Deployments.Core": "[1.0.1010, )",
"Azure.Deployments.Expression": "[1.0.1010, )",
"Azure.Deployments.Templates": "[1.0.1010, )",
"Azure.Deployments.Core": "[1.0.1040, )",
"Azure.Deployments.Expression": "[1.0.1040, )",
"Azure.Deployments.Templates": "[1.0.1040, )",
"Azure.Identity": "[1.9.0, )",
"Azure.ResourceManager.Resources": "[1.6.0, )",
"JsonPatch.Net": "[2.1.0, )",
Expand Down
22 changes: 11 additions & 11 deletions src/Bicep.Core.IntegrationTests/AssertTests.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System.Diagnostics.CodeAnalysis;
using Bicep.Core.Diagnostics;
using Bicep.Core.UnitTests;
using Bicep.Core.UnitTests.Assertions;
using Bicep.Core.UnitTests.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System.Diagnostics.CodeAnalysis;

namespace Bicep.Core.IntegrationTests
{
Expand Down Expand Up @@ -40,7 +40,7 @@ public void Asserts_are_disabled_unless_feature_is_enabled()
}
asserts: {
ra1: false
}
}
}
""";

Expand Down Expand Up @@ -91,7 +91,7 @@ public void Asserts_are_parsed_with_diagnostics()
properties: {
serverFarmId: 'id'
httpsOnly: true
}
}
asserts: {
locationInUS: contains(location, 'us')
missingColon
Expand All @@ -111,7 +111,7 @@ public void Asserts_are_parsed_with_diagnostics()
properties: {
serverFarmId: 'id'
httpsOnly: true
}
}
asserts: {
locationInUS: contains(location, 'us')
missingCondition:
Expand Down Expand Up @@ -156,7 +156,7 @@ public void Assert_symbolic_names_must_be_unique()
properties: {
serverFarmId: 'id'
httpsOnly: true
}
}
asserts: {
ra1: false
ra1: location == 'us'
Expand Down Expand Up @@ -188,7 +188,7 @@ public void Asserts_only_take_bool()
properties: {
serverFarmId: 'id'
httpsOnly: true
}
}
asserts: {
ra1: 0
ra2: contains(accountName, 'stgA')
Expand All @@ -204,7 +204,7 @@ public void Asserts_only_take_bool()
}

assert a1 = 1
assert a2 = 1 + 2
assert a2 = 1 + 2
assert a3 = contains(accountName, 'stgA')
assert a4 = true
assert a5 = environment == 'dev'
Expand Down Expand Up @@ -283,7 +283,7 @@ public void Assert_end_to_end_test()
},
""location"": {
""type"": ""string""
}
}
},
""resources"": {
""stgAccount"": {
Expand Down Expand Up @@ -343,7 +343,7 @@ public void Assert_end_to_end_test()
""_generator"": {
""name"": ""bicep"",
""version"": ""dev"",
""templateHash"": ""2524536890773058281""
""templateHash"": ""8822582252570074206""
}
},
""parameters"": {
Expand All @@ -355,7 +355,7 @@ public void Assert_end_to_end_test()
},
""location"": {
""type"": ""string""
}
}
},
""resources"": {
""stgAccount"": {
Expand All @@ -371,7 +371,7 @@ public void Assert_end_to_end_test()
""ra1"": ""[less(length(parameters('accountName')), variables('myInt'))]"",
""ra2"": ""[contains(parameters('location'), 'us')]"",
""ra3"": ""[equals(parameters('environment'), 'dev')]""
}
}
}
},
""variables"": {
Expand Down
24 changes: 12 additions & 12 deletions src/Bicep.Core.IntegrationTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
},
"Azure.Deployments.Core": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "HtAYoJh3yEng8/YdF5RcwESQf/M4bcgDf0iO4Y7bjdZjZIetguP2yestidQ+a3Ffs/V2Fp2poIfYbJ1mUt2kHg==",
"resolved": "1.0.1040",
"contentHash": "joA1CvSA2st5SlDAiFwfenQBHDz0ZL8/vecR/OQhcZ1X/735odypvu58wiX4uQj2DMHbC/gKeW7Rwn2kdZAg1g==",
"dependencies": {
"Microsoft.PowerPlatform.ResourceStack": "6.0.0.1457",
"Newtonsoft.Json": "13.0.2",
Expand All @@ -121,21 +121,21 @@
},
"Azure.Deployments.Expression": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "hamcVBIzrITSrom/BG8luwyzGY2ztzV8Ak2lKoaho4ICWY3AnFy1ErLfbxfC7JD9gh03zcWVP8fSCYb2dxF9bA==",
"resolved": "1.0.1040",
"contentHash": "lCJreXno5J1zNC3aY6WTBb8jTik7MA1rGJzgXM9fSakSDQMYdPvWWdGz4hVbYi8cVAzmT7WDXKQZI4wmjnWa8w==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"IPNetwork2": "2.6.548",
"Newtonsoft.Json": "13.0.2"
}
},
"Azure.Deployments.Templates": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "wwaU8fMnNXaK/lMBIUNbt5rnVdVhRJS2xlGjBwKVFyJLA4g1Sua9MmaiHRWoU+N4k+gbhPcB6xX9p8bIe5uhRw==",
"resolved": "1.0.1040",
"contentHash": "/PT0gQ/x6elQCNht05ZZURZAym3U1Nc6CNSN4ooXZpoTIx81mU5cq90Gm8sBegRq0Z3rF9IDVbQx8/DmAkBDXA==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Expression": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"Azure.Deployments.Expression": "1.0.1040",
"Microsoft.Automata.SRM": "1.2.2",
"Newtonsoft.Json": "13.0.2"
}
Expand Down Expand Up @@ -2020,9 +2020,9 @@
"Azure.Bicep.Types.Az": "[0.2.552, )",
"Azure.Bicep.Types.K8s": "[0.1.504, )",
"Azure.Containers.ContainerRegistry": "[1.1.0, )",
"Azure.Deployments.Core": "[1.0.1010, )",
"Azure.Deployments.Expression": "[1.0.1010, )",
"Azure.Deployments.Templates": "[1.0.1010, )",
"Azure.Deployments.Core": "[1.0.1040, )",
"Azure.Deployments.Expression": "[1.0.1040, )",
"Azure.Deployments.Templates": "[1.0.1040, )",
"Azure.Identity": "[1.9.0, )",
"Azure.ResourceManager.Resources": "[1.6.0, )",
"JsonPatch.Net": "[2.1.0, )",
Expand Down
24 changes: 12 additions & 12 deletions src/Bicep.Core.Samples/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
},
"Azure.Deployments.Core": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "HtAYoJh3yEng8/YdF5RcwESQf/M4bcgDf0iO4Y7bjdZjZIetguP2yestidQ+a3Ffs/V2Fp2poIfYbJ1mUt2kHg==",
"resolved": "1.0.1040",
"contentHash": "joA1CvSA2st5SlDAiFwfenQBHDz0ZL8/vecR/OQhcZ1X/735odypvu58wiX4uQj2DMHbC/gKeW7Rwn2kdZAg1g==",
"dependencies": {
"Microsoft.PowerPlatform.ResourceStack": "6.0.0.1457",
"Newtonsoft.Json": "13.0.2",
Expand All @@ -121,21 +121,21 @@
},
"Azure.Deployments.Expression": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "hamcVBIzrITSrom/BG8luwyzGY2ztzV8Ak2lKoaho4ICWY3AnFy1ErLfbxfC7JD9gh03zcWVP8fSCYb2dxF9bA==",
"resolved": "1.0.1040",
"contentHash": "lCJreXno5J1zNC3aY6WTBb8jTik7MA1rGJzgXM9fSakSDQMYdPvWWdGz4hVbYi8cVAzmT7WDXKQZI4wmjnWa8w==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"IPNetwork2": "2.6.548",
"Newtonsoft.Json": "13.0.2"
}
},
"Azure.Deployments.Templates": {
"type": "Transitive",
"resolved": "1.0.1010",
"contentHash": "wwaU8fMnNXaK/lMBIUNbt5rnVdVhRJS2xlGjBwKVFyJLA4g1Sua9MmaiHRWoU+N4k+gbhPcB6xX9p8bIe5uhRw==",
"resolved": "1.0.1040",
"contentHash": "/PT0gQ/x6elQCNht05ZZURZAym3U1Nc6CNSN4ooXZpoTIx81mU5cq90Gm8sBegRq0Z3rF9IDVbQx8/DmAkBDXA==",
"dependencies": {
"Azure.Deployments.Core": "1.0.1010",
"Azure.Deployments.Expression": "1.0.1010",
"Azure.Deployments.Core": "1.0.1040",
"Azure.Deployments.Expression": "1.0.1040",
"Microsoft.Automata.SRM": "1.2.2",
"Newtonsoft.Json": "13.0.2"
}
Expand Down Expand Up @@ -2020,9 +2020,9 @@
"Azure.Bicep.Types.Az": "[0.2.552, )",
"Azure.Bicep.Types.K8s": "[0.1.504, )",
"Azure.Containers.ContainerRegistry": "[1.1.0, )",
"Azure.Deployments.Core": "[1.0.1010, )",
"Azure.Deployments.Expression": "[1.0.1010, )",
"Azure.Deployments.Templates": "[1.0.1010, )",
"Azure.Deployments.Core": "[1.0.1040, )",
"Azure.Deployments.Expression": "[1.0.1040, )",
"Azure.Deployments.Templates": "[1.0.1040, )",
"Azure.Identity": "[1.9.0, )",
"Azure.ResourceManager.Resources": "[1.6.0, )",
"JsonPatch.Net": "[2.1.0, )",
Expand Down
Loading

0 comments on commit 7ceb2ac

Please sign in to comment.