Skip to content

Commit

Permalink
docs(core): document windows resource class
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Feb 6, 2024
1 parent 7409125 commit 6485e3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 8 additions & 2 deletions docs/nx-cloud/reference/launch-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ This is an example of a launch template using all built-in features:
```yaml
launch-templates:
my-linux-medium-js:
resourceClass: ''
image: 'ubuntu22.04-node20.9-v1'
resourceClass: 'docker_linux_amd64/medium'
image: 'ubuntu22.04-node20.9-v3'
env: MY_ENV_VAR=shared
init-steps:
- name: Checkout # using a reusable step
Expand Down Expand Up @@ -47,6 +47,7 @@ The following resource classes are available:
- `docker_linux_amd64/large+`
- `docker_linux_amd64/extra_large`
- `docker_linux_amd64/extra_large+`
- `windows/medium`

See their detailed description and pricing at [nx.app/pricing](https://nx.app/pricing).

Expand All @@ -58,6 +59,11 @@ The following images are available:
- `ubuntu22.04-node20.9-withDind-v1`
- `ubuntu22.04-node20.9-v2`
- `ubuntu22.04-node20.9-withDind-v2`
- `ubuntu22.04-node20.9-v3`
- `ubuntu22.04-node20.9-withDind-v3`
- `windows-2022`

_Note: Windows-based images can only run on Windows-based resource classes._

Enterprise accounts can use custom images.

Expand Down
2 changes: 1 addition & 1 deletion nx-dev/ui-home/src/lib/improve-worst-ci-case.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function ImproveWorstCiCase(): JSX.Element {
<div className="mt-8 flex lg:mt-0 lg:flex-shrink-0">
<div className="inline-flex rounded-md">
<ButtonLink
href="/ci/concepts/parallelization-distribution"
href="/ci/intro/ci-with-nx"
title="Improve your worst case CI times"
variant="secondary"
size="large"
Expand Down
4 changes: 0 additions & 4 deletions nx-dev/ui-home/src/lib/nx-with-ci.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@ export function NxWithCi(): JSX.Element {
<a href="/ci/features/nx-agents" title="Discover Nx Agents">
<span className="absolute inset-0"></span>Nx Agents
</a>
<div className="flex-grow" />
<span className="dark:bg-slate-400/10 dark:text-slate-400 dark:ring-slate-400/20 inline-flex items-center rounded-md bg-slate-50 px-2 py-1 text-xs font-medium text-slate-600 ring-1 ring-inset ring-slate-500/10">
Early access
</span>
</div>
</div>
</dt>
Expand Down

0 comments on commit 6485e3c

Please sign in to comment.