Skip to content

Commit 884fad7

Browse files
committed
add example for windows runner
1 parent fc717bf commit 884fad7

File tree

4 files changed

+79
-0
lines changed

4 files changed

+79
-0
lines changed

docs/os-platform/_category_.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "OS Platform",
3+
"position": 5,
4+
"link": {
5+
"type": "generated-index"
6+
}
7+
}

docs/os-platform/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import DocCardList from '@theme/DocCardList';
2+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
3+
4+
# OS Platform
5+
6+
<DocCardList items={useCurrentSidebarCategory().items}/>

docs/os-platform/windows.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
id: windows
3+
description: Cirun Documentation - Windows Runner.
4+
image: "https://cirun.io/cirun-summary-image-v4.png"
5+
keywords: [Cirun, Windows, ]
6+
---
7+
8+
# Windows
9+
10+
<head>
11+
<body className="other-extra-body-class" />
12+
<title>Cirun Docs</title>
13+
<meta data-rh="true" name="twitter:card" content="summary_large_image" />
14+
<meta name="twitter:site" content="https://docs.cirun.io" />
15+
<meta name="twitter:title" content="Cirun Documentation" />
16+
<meta name="twitter:description" content="Cirun Documentation - Custom Images for Runner." />
17+
<meta name="twitter:image" content="https://docs.cirun.io/img/cirun-summary-image-v4.png" />
18+
</head>
19+
20+
You can use windows operating system for your runners as well. Here are a couple of examples
21+
of creating windows runner on Azure and AWS:
22+
23+
## Azure
24+
25+
:::note
26+
27+
The spinup time of windows runners on Azure is higher than AWS.
28+
29+
:::
30+
31+
```yaml
32+
runners:
33+
- name: "azure-windows-runner"
34+
cloud: "azure"
35+
region: "uksouth"
36+
instance_type: "Standard_D2s_v3"
37+
machine_image:
38+
publisher: microsoftwindowsdesktop
39+
offer: windows-11
40+
sku: win11-22h2-pro
41+
version: latest
42+
labels:
43+
- "cirun-azure-windows-runner"
44+
```
45+
46+
47+
## AWS
48+
49+
```yaml
50+
runners:
51+
- name: "aws-windows-runner"
52+
cloud: "aws"
53+
region: "us-east-1"
54+
instance_type: "t2.medium"
55+
machine_image: "ami-0f9c44e98edf38a2b"
56+
labels:
57+
- "cirun-aws-windows-runner"
58+
```

sidebars.js

+8
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ module.exports = {
6262
"custom-images/arm-based-machines",
6363
],
6464
},
65+
{
66+
type: "category",
67+
label: "OS Platform",
68+
link: { type: "doc", id: "os-platform/index" },
69+
items: [
70+
"os-platform/windows",
71+
],
72+
},
6573
{
6674
type: "doc",
6775
label: "Privacy",

0 commit comments

Comments
 (0)