Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(nx-cloud): update assignment rules pages with new model #30077

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lourw
Copy link
Contributor

@lourw lourw commented Feb 17, 2025

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@lourw lourw requested review from StalkAltan, rarmatei, nixallover and a team as code owners February 17, 2025 19:46
Copy link

vercel bot commented Feb 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Feb 18, 2025 6:25pm

Copy link

nx-cloud bot commented Feb 17, 2025

View your CI Pipeline Execution ↗ for commit eb892b4.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 3m 32s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 13s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base= --he... ✅ Succeeded 6s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 5s View ↗
nx documentation ✅ Succeeded 2m 13s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-18 18:25:25 UTC

Comment on lines +11 to +12
{% tabs %}
{% tab label="Assignment rules with manual DTE" %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nit: I'd probs have Nx Agents example first as that'll be the most common usage thus far. less having to click to new tabs.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


{% callout type="note" title="If you are using self-hosted agents, you must define your own agent types" %}
You must define your own agent types and attach them to your self-hosted agents using the `NX_AGENT_LAUNCH_TEMPLATE` environment variable. Ensure that for each `runs-on` field in your assignment rules, you have corresponding agents in your agent pool that have the same agent type.
You must define your own agent types and attach them to your self-hosted agents using the `NX_AGENT_LAUNCH_TEMPLATE` environment variable. Ensure that for each `run-on` field in your assignment rules, you have corresponding agents in your agent pool that have the same agent type.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This environment variable should also be added to the Cloud environment variables page with a description: https://nx.dev/ci/reference/env-vars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants