Skip to content

Commit aea3414

Browse files
authored
Merge branch 'main' into patch-5
2 parents 9cbba5d + 4ebc973 commit aea3414

File tree

397 files changed

+4380
-3810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

397 files changed

+4380
-3810
lines changed

.github/workflows/clean-repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pull-requests: write
1515

1616
steps:
17-
- uses: actions/[email protected].5
17+
- uses: actions/[email protected].7
1818

1919
# Call clean repo
2020
- name: Clean repo

.github/workflows/whats-new.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
pull-requests: write
1919

2020
steps:
21-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
21+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
2222

2323
- name: "Print manual run reason"
2424
if: ${{ github.event_name == 'workflow_dispatch' }}

.openpublishing.redirection.json

Lines changed: 52 additions & 32 deletions
Large diffs are not rendered by default.

.openpublishing.redirection.subscriptions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"source_path": "subscriptions/azure-ea-devtest.md",
1515
"redirect_url": "/azure/devtest/offer/quickstart-create-enterprise-devtest-subscriptions",
1616
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "subscriptions/microsoft-dev-box.md",
20+
"redirect_url": "/visualstudio/subscriptions",
21+
"redirect_document_id": false
1722
}
1823
]
1924
}

auto-publish.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
schedules:
2+
- cron: "0 18 * * 1-5" # Hour 18 UTC == 10am PST
3+
displayName: "Scheduled run at 10 AM PT M-F"
4+
branches:
5+
include:
6+
- main
7+
always: false # This mean the pipeline runs even if there are no changes since the last successful run.
8+
9+
- cron: "0 1 * * 1-5" # Hour 1 UTC == 4pm PST
10+
displayName: "Afternoon run at 4 PM PT M-F"
11+
branches:
12+
include:
13+
- main
14+
always: false # This mean the pipeline runs even if there are no changes since the last successful run.
15+
16+
- cron: "0 6 * * 1-5" # Hour 29 UTC == 4pm PST
17+
displayName: "Afternoon run at 10 PM PT M-F"
18+
branches:
19+
include:
20+
- main
21+
always: false # This mean the pipeline runs even if there are no changes since the last successful run.
22+
trigger:
23+
- none
24+
25+
jobs:
26+
- job: MergeMainToLive
27+
pool:
28+
vmImage: 'ubuntu-latest'
29+
steps:
30+
- checkout: self
31+
persistCredentials: true
32+
- script: |
33+
git config --global user.name "Mike Jacobs"
34+
git config --global user.email "[email protected]"
35+
git checkout main
36+
git checkout live
37+
git merge main --no-ff --no-commit
38+
if [ $? -eq 0 ]; then
39+
git commit -m "Merged main into live"
40+
git push origin live
41+
else
42+
echo "Error merging main to live"
43+
exit 1
44+
fi
45+
displayName: 'Merge main to live if main has changed'

bridge/articles/bridge-to-kubernetes-vs.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,18 @@ In this section, you set a breakpoint in your service.
165165

166166
If you need to change how Bridge to Kubernetes connects to your cluster, in this section, you'll edit the launch profile settings.
167167

168-
1. Click on the arrow next to the **Bridge to Kubernetes** button, then click on **databaseApi Debug Properties**.
168+
1. In the Visual Studio command bar, click on the arrow next to the start button (green triangle or "play" icon) to open the dropdown, then click on **databaseApi Debug Properties**.
169169
![Screenshot shows the Bridge to Kubernetes drop down menu.](media/bridge-to-kubernetes-vs/change-bridge-properties.png)
170170

171171
1. Click on the **Edit profile for Bridge to Kubernetes** link in the **Launch Profiles** dialog.
172172
![Screenshot shows Launch Profiles dialog with a link to edit the Bridge to Kubernetes profile](media/bridge-to-kubernetes-vs/bridge-launch-profiles.png)
173173

174+
Another way to get to this screen:
175+
176+
1. Right-click on the project node in Solution Explorer, and choose **Properties** (or press **Alt**+**Enter**).
177+
178+
1. Scroll down to **Debug**, and choose **Open debug launch profiles UI**.
179+
174180
## Clean up resources
175181

176182
If you used the sample todo app for this tutorial, you can remove it from your cluster by using the Azure portal.

bridge/articles/configure-bridge-to-kubernetes.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Configure Bridge to Kubernetes"
3-
ms.date: 08/11/2022
3+
ms.date: 04/26/2024
44
ms.topic: "conceptual"
55
description: Configure Bridge to Kubernetes to ignore port mapping on a Kubernetes service or replicate environment variables and mounted files for pods in a cluster.
66
keywords: "Bridge to Kubernetes, Azure Dev Spaces, Dev Spaces, Docker, Kubernetes, Azure, containers"
@@ -16,6 +16,16 @@ You can configure the local Bridge to Kubernetes process using two methods. You
1616

1717
## Kubernetes configuration
1818

19+
The Kubernetes configuration (kubeconfig) file is default stored at `~/.kube/config`, but you can set it by using the KUBECONFIG environment variable.
20+
21+
If you're using Visual Studio, you can edit Bridge to Kubernetes launch profile in the IDE by using the **Debug launch profiles UI** in the Debug properties. See [Edit launch profile](./bridge-to-kubernetes-vs.md#edit-launch-profile).
22+
23+
![Screenshot showing the Debug launch profiles UI.](./media/bridge-to-kubernetes-vs/edit-profile-for-bridge-to-kubernetes.png)
24+
25+
From there, you can open the following screen, which provides a way to edit some of the most common configuration properties.
26+
27+
![Screenshot showing editing some of the most common Bridge to Kubernetes profile properties.](./media/bridge-to-kubernetes-vs/edit-profile-for-bridge-to-kubernetes-screen.png)
28+
1929
### Prevent Bridge to Kubernetes from forwarding specific ports
2030

2131
Configure Bridge to Kubernetes to ignore mapping specific ports on a Kubernetes service to your machine by adding the `bridgetokubernetes/ignore-ports` annotation on the service.
Loading

docker/tutorials/docker-tutorial.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: ghogen
66
ms.author: ghogen
77
ms.service: vs-code
88
ms.topic: tutorial
9-
ms.date: 04/12/2023
9+
ms.date: 05/30/2024
1010
# Agreed with Docker Inc. to provide this content. Contact is: nebuk89. Mike Morton has context on MSFT side, but has moved on to another role.
1111
---
1212

@@ -148,15 +148,12 @@ A Dockerfile is a text-based script of instructions that is used to create a con
148148
149149
The tag is a friendly name for the image.
150150
151-
To create a container image from the command line, use the following command.
151+
To create a container image from the command line, use the following command from the `app` folder that has the *Dockerfile*.
152152
153153
```bash
154154
docker build -t getting-started .
155155
```
156156
157-
> [!NOTE]
158-
> In an external Bash window, go to the `app` folder that has the *Dockerfile* to run this command.
159-
160157
You've used the *Dockerfile* to build a new container image.
161158
You might have noticed that many "layers" were downloaded.
162159
The *Dockerfile* starts from the `node:20-alpine` image.

docs/code-quality/ca1407.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A type that is specifically marked as visible to Component Object Model (COM) co
3030

3131
## Rule description
3232

33-
COM does not support `static` methods.
33+
COM doesn't support `static` methods.
3434

3535
This rule ignores property and event accessors, operator overloading methods, or methods that are marked by using either the <xref:System.Runtime.InteropServices.ComRegisterFunctionAttribute?displayProperty=fullName> attribute or the <xref:System.Runtime.InteropServices.ComUnregisterFunctionAttribute?displayProperty=fullName> attribute.
3636

@@ -61,7 +61,7 @@ To fix a violation of this rule, change the design to use an instance method tha
6161

6262
## When to suppress warnings
6363

64-
It is safe to suppress a warning from this rule if a COM client does not require access to the functionality that is provided by the `static` method.
64+
It's safe to suppress a warning from this rule if a COM client doesn't require access to the functionality that is provided by the `static` method.
6565

6666
## Example Violation
6767

@@ -75,15 +75,15 @@ The following example shows a `static` method that violates this rule.
7575

7676
### Comments
7777

78-
In this example, the **Book.FromPages** method cannot be called from COM.
78+
In this example, the **Book.FromPages** method can't be called from COM.
7979

8080
## Example Fix
8181

8282
### Description
8383

84-
To fix the violation in the previous example, you could change the method to an instance method, but that does not make sense in this instance. A better solution is to explicitly apply `ComVisible(false)` to the method to make it clear to other developers that the method cannot be seen from COM.
84+
To fix the violation in the previous example, you could change the method to an instance method, but that does not make sense in this instance. A better solution is to explicitly apply `ComVisible(false)` to the method to make it clear to other developers that the method can't be seen from COM.
8585

86-
The following example applies <xref:System.Runtime.InteropServices.ComRegisterFunctionAttribute> to the method.
86+
The following example applies <xref:System.Runtime.InteropServices.ComVisibleAttribute> to the method.
8787

8888
### Code
8989

docs/containers/container-msbuild-properties.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Visual Studio Container Tools build properties
33
author: ghogen
44
description: Learn how to edit the Container Tools build properties to customize how Visual Studio builds and runs a container project.
55
ms.author: ghogen
6-
ms.date: 06/06/2019
6+
ms.date: 05/21/2024
77
ms.subservice: container-tools
88
ms.topic: reference
99
---
@@ -70,8 +70,10 @@ The following project file shows examples of some of these settings.
7070
<Project Sdk="Microsoft.NET.Sdk.Web">
7171

7272
<PropertyGroup>
73-
<TargetFramework>netcoreapp3.1</TargetFramework>
74-
<UserSecretsId>feae72bf-2368-4487-b6c6-546c19338cb1</UserSecretsId>
73+
<TargetFramework>net8.0</TargetFramework>
74+
<Nullable>enable</Nullable>
75+
<ImplicitUsings>enable</ImplicitUsings>
76+
<UserSecretsId>8c7ab9a5-d578-4c40-8b6d-54d174002229</UserSecretsId>
7577
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
7678
<!-- In CI/CD scenarios, you might need to change the context. By default, Visual Studio uses the
7779
folder above the Dockerfile. The path is relative to the Dockerfile, so here the context is
@@ -84,7 +86,7 @@ The following project file shows examples of some of these settings.
8486
</PropertyGroup>
8587

8688
<ItemGroup>
87-
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.6" />
89+
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.20.1" />
8890
</ItemGroup>
8991

9092
</Project>

0 commit comments

Comments
 (0)