Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 2 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,30 +85,10 @@ Available opt-in resources:
### Larger runners for Github Actions

- We have partnered with different providers for [self-hosted runners for Github Actions](https://conda-forge.org/docs/how-to/advanced/self-hosted-runners/).
- `action` key: `namespace` ([namespace.so](https://namespace.so)) or `blacksmith` ([blacksmith.sh](https://blacksmith.sh))
- `action` key: `namespace` ([namespace.so](https://namespace.so)), `blacksmith` ([blacksmith.sh](https://blacksmith.sh)), or `depot` ([depot.dev](https://depot.dev))
- Example `examples/example-gha-self-hosted.yml`

Github Actions labels for `conda_build_config.yaml`:

| `github_actions_labels` value | Platform | CPUs | RAM | Storage |
| :----------------------------------------- | :-------------: | :-----: | :---: | :-----: |
| `namespace-profile-8cpu-on-linux-64` | `linux-64` | 8 | 32 GB | 160 GB |
| `namespace-profile-16cpu-on-linux-64` | `linux-64` | 16 | 64 GB | 288 GB |
| `namespace-profile-8cpu-on-linux-aarch64` | `linux-aarch64` | 8 | 32 GB | 160 GB |
| `namespace-profile-16cpu-on-linux-aarch64` | `linux-aarch64` | 16 | 64 GB | 288 GB |
| `namespace-profile-6cpu-on-osx-arm64` | `osx-arm64` | 6 | 14 GB | 104 GB |
| `namespace-profile-12cpu-on-osx-arm64` | `osx-arm64` | 12 | 28 GB | 160 GB |
| `namespace-profile-8cpu-on-win-64` | `win-64` | 8 | 32 GB | 160 GB |
| `namespace-profile-16cpu-on-win-64` | `win-64` | 16 | 64 GB | 288 GB |
| | | | | |
| `blacksmith-8vcpu-ubuntu-2404` | `linux-64` | 8 | 32 GB | 160 GB |
| `blacksmith-16vcpu-ubuntu-2404` | `linux-64` | 16 | 64 GB | 750 GB |
| `blacksmith-8vcpu-ubuntu-2404-arm` | `linux-aarch64` | 8 | 24 GB | 160 GB |
| `blacksmith-16vcpu-ubuntu-2404-arm` | `linux-aarch64` | 16 | 48 GB | 750 GB |
| `blacksmith-6vcpu-macos-latest` | `osx-arm64` | 6 | 24 GB | 150 GB |
| `blacksmith-12vcpu-macos-latest` | `osx-arm64` | 12 | 48 GB | 250 GB |
| `blacksmith-8vcpu-windows-2025` | `win-64` | 8 | 28 GB | 130 GB |
| `blacksmith-16vcpu-windows-2025` | `win-64` | 16 | 56 GB | 130 GB |
Github Actions labels for `conda_build_config.yaml` are listed in [Reference> Build runners](https://conda-forge.org/docs/reference/runners/).

> Other providers may be available via [cirun.io](https://cirun.io) (`action: cirun`). Check the [`conda-forge/.cirun`](https://github.com/conda-forge/.cirun) repository for more details. See `examples/example-cirun.yml`.

Expand Down
1 change: 1 addition & 0 deletions conda_forge_admin_requests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def register_actions():
register_action("blacksmith", access_control)
register_action("cirrus_runners", access_control)
register_action("namespace", access_control)
register_action("depot", access_control)
register_action("cfep3_copy", cfep3_copy)
register_action("add_feedstock_output", feedstock_outputs)
for pkg in pkgutil.iter_modules():
Expand Down
3 changes: 2 additions & 1 deletion conda_forge_admin_requests/access_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"blacksmith",
"cirun",
"cirrus_runners",
"depot",
"namespace",
)
VALID_ACTIONS = ("travis", *GHA_PROVIDERS)
Expand Down Expand Up @@ -172,7 +173,7 @@ def _process_request_for_feedstock(
if action == "travis":
register_ci_cmd.append("--with-travis")

elif action in ("blacksmith", "namespace"):
elif action in ("blacksmith", "namespace", "depot"):
register_ci_cmd.append(f"--with-{action}")
if revoke:
register_ci_cmd.append("--remove")
Expand Down
2 changes: 1 addition & 1 deletion examples/example-gha-self-hosted.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
action: pick-one-of #: blacksmith, namespace
action: pick-one-of #: blacksmith, namespace, depot
feedstocks:
# list of feedstock names (sans `-feedstock` suffix)
- pytorch-cpu
Expand Down
1 change: 1 addition & 0 deletions scripts/create_feedstocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ def write_token(name, token):
"--without-cirrus-runners",
"--without-namespace",
"--without-blacksmith",
"--without-depot",
"--without-webservice",
"--feedstock_directory",
feedstock_dir,
Expand Down
Loading