Skip to content

create an Agent Skill to build, test Blender conda recipies using AL2023 container#201

Draft
leongdl wants to merge 1 commit intoaws-deadline:mainlinefrom
leongdl:conda-skills
Draft

create an Agent Skill to build, test Blender conda recipies using AL2023 container#201
leongdl wants to merge 1 commit intoaws-deadline:mainlinefrom
leongdl:conda-skills

Conversation

@leongdl
Copy link
Copy Markdown
Contributor

@leongdl leongdl commented Apr 14, 2026

Idea for commenting.

What was the problem/requirement? (What/Why)

There was no reusable guide or skill for creating new Blender conda recipes for Deadline Cloud. Each new Blender version required manually figuring out the Docker setup, X11 dependencies, rattler-build commands, and testing steps from scratch.

What was the solution? (How)

Added a skills/blender-builder/ skill that documents the complete workflow for creating Blender conda recipes, from fetching SHA256 hashes to building in an AL2023 Docker container (matching the service-managed fleet OS), indexing into a local channel, and testing with openjd-cli. The skill covers headless X11/EGL dependency setup and includes a fast smoke-test render approach (640x480, 8 samples).

What is the impact of this change?

Anyone creating a new Blender version recipe can follow the skill's step-by-step workflow instead of piecing together the process manually. The skill also serves as documentation for the AL2023 Docker-based build environment setup.

How was this change tested?

Used the skill's workflow end-to-end to create the Blender 5.1.1 recipe (separate PR):

  1. Set up an AL2023 Docker container with rattler-build, miniconda, and X11/EGL libraries per the skill's Step 5.
  2. Built the Blender 5.1.1 conda package with rattler-build build (with test enabled) — blender -h test passed inside the container.
  3. Indexed the local channel with conda index and verified the package was discoverable via conda search.
  4. Created a conda environment, verified blender --version returned 5.1.1 and all BLENDER_* env vars were set.
  5. Rendered a test frame at 640x480 with 8 Cycles samples — completed in ~6 seconds.
  6. Ran a full openjd-cli end-to-end test with the blender_render job bundle and conda_queue_env_pyrattler queue environment — completed successfully in ~43 seconds.

Was this change documented?

The skill itself is the documentation — skills/blender-builder/SKILL.md contains the complete workflow, quick reference table, headless dependency list, and common mistakes section.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions github-actions bot added the waiting-on-maintainers Waiting on the maintainers to review. label Apr 14, 2026
- `deadline-cloud.yaml`
- `README.md`

### Step 4: Create the new recipe
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We might want to include conda build (meta.yaml alongside recipe.yaml) so it can be directly transport for our conda channel

libSM libICE libXrandr libXinerama libXcursor \
mesa-libGL mesa-libGLU mesa-libEGL libglvnd-egl libxkbcommon

# Install rattler-build
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Again maybe include conda-build as well? at least for the meantime to support SMF as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants