Skip to content

Commit c9ab416

Browse files
Merge pull request #22289 from docker/published-update
publish updates from main
2 parents f6342ad + f437b10 commit c9ab416

File tree

96 files changed

+4130
-12
lines changed

Some content is hidden

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

96 files changed

+4130
-12
lines changed

.github/workflows/docs-tests.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Docs UI Tests
2+
3+
on:
4+
schedule:
5+
- cron: '0 15 * * *' # Runs daily at 10:00 AM EST / 15:00 UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@v3
14+
15+
- name: Install dependencies
16+
run: npm install
17+
18+
- name: Install Playwright browsers
19+
run: npx playwright install --with-deps
20+
21+
- name: Set environment variables from GitHub Secrets
22+
run: |
23+
echo "ENV_APP_USERNAME=${{ secrets.ENV_APP_USERNAME }}" >> $GITHUB_ENV
24+
echo "ENV_APP_PASSWORD=${{ secrets.ENV_APP_PASSWORD }}" >> $GITHUB_ENV
25+
26+
- name: Run Playwright tests
27+
run: npx playwright test --trace on
28+
29+
- name: Send Slack notification on failure
30+
if: failure()
31+
uses: 8398a7/action-slack@v3
32+
with:
33+
status: ${{ job.status }}
34+
fields: repo, action, workflow
35+
env:
36+
SLACK_WEBHOOK_URL: ${{ secrets.DOCS_TESTS_SLACK_WEBHOOK }}
37+
38+
- name: Cleanup app-auth.json
39+
if: always()
40+
run: rm -f ${{ github.workspace }}/app-auth.json

content/manuals/desktop/features/dev-environments/_index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
description: Dev Environments
33
keywords: Dev Environments, share, local, Compose
44
title: Overview of Dev Environments
5-
linkTitle: Dev Environments (Beta)
5+
linkTitle: Dev Environments
66
weight: 40
77
aliases:
88
- /desktop/dev-environments/
9+
params:
10+
sidebar:
11+
badge:
12+
color: blue
13+
text: Beta
914
---
1015

1116
{{% include "dev-envs-changing.md" %}}

content/manuals/desktop/features/usbip.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ keywords: usb, usbip, docker desktop, macos, windows, linux
77
toc_max: 3
88
aliases:
99
- /desktop/usbip/
10-
params:
11-
sidebar:
12-
badge:
13-
color: green
14-
text: New
1510
---
1611

1712
{{< summary-bar feature_name="USB/IP support" >}}

content/manuals/desktop/features/vmm.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
---
22
title: Virtual Machine Manager for Docker Desktop on Mac
33
linkTitle: Virtual Machine Manager
4-
params:
5-
sidebar:
6-
badge:
7-
color: green
8-
text: New
94
keywords: virtualization software, resource allocation, mac, docker desktop, vm monitoring, vm performance, apple silicon
105
description: Discover Docker Desktop for Mac's Virtual Machine Manager (VMM) options, including the new Docker VMM for Apple Silicon, offering enhanced performance and efficiency
116
weight: 110

content/manuals/desktop/features/wasm.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
---
2-
title: Wasm workloads (Beta)
2+
title: Wasm workloads
33
weight: 20
44
description: How to run Wasm workloads with Docker Desktop
55
keywords: Docker, WebAssembly, wasm, containerd, engine
66
toc_max: 3
77
aliases:
88
- /desktop/wasm/
9+
params:
10+
sidebar:
11+
badge:
12+
color: blue
13+
text: Beta
914
---
1015

1116
{{< summary-bar feature_name="Wasm workloads" >}}

docs-tests/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
/test-results/
3+
/playwright-report/
4+
/blob-report/
5+
/playwright/.cache/
6+
.env

docs-tests/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM mcr.microsoft.com/playwright:v1.49.1-jammy
2+
3+
WORKDIR /app
4+
COPY . /app
5+
6+
RUN npm install
7+
8+
CMD ["npx", "playwright", "test", "--headed"]

docs-tests/package-lock.json

Lines changed: 112 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs-tests/package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "docs-tests",
3+
"version": "1.0.0",
4+
"main": "index.js",
5+
"scripts": {},
6+
"keywords": [],
7+
"author": "",
8+
"license": "ISC",
9+
"description": "",
10+
"devDependencies": {
11+
"@playwright/test": "^1.49.1",
12+
"@types/node": "^22.10.2"
13+
},
14+
"dependencies": {
15+
"dotenv": "^16.4.7"
16+
}
17+
}

docs-tests/playwright.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { defineConfig } from '@playwright/test';
2+
3+
export default defineConfig({
4+
workers: 1,
5+
globalSetup: 'tests/globalSetup.ts',
6+
use: {
7+
storageState: 'app-auth.json',
8+
},
9+
});

0 commit comments

Comments
 (0)