Skip to content

Commit d18c050

Browse files
committed
Added config for setup of self-hosted azure
1 parent b602251 commit d18c050

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/maintainer/conda_forge_yml.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Top-level fields
2323

2424
* appveyor
2525
* azure
26+
* self-hosted azure
2627
* build_platform
2728
* bot
2829
* channel_priority
@@ -78,6 +79,32 @@ mapping for Azure-specific configuration options. For example:
7879
# built packages) as an Azure pipeline artifact that can be downloaded
7980
store_build_artifacts: False
8081
82+
self-hosted azure
83+
-----------------
84+
Conda-Smithy is capable of doing things beyond CF's purposes, it also allows setting up
85+
self-hosted agents for non-CF infrastructures. Here is an example demonstrating that:
86+
87+
.. code-block:: yaml
88+
89+
azure:
90+
user_or_org: nsls2forge
91+
project_name: nsls2forge
92+
for local GPU runners
93+
settings_linux:
94+
pool:
95+
name: BNL-machines
96+
demands:
97+
- gpu -equals true
98+
workspace:
99+
clean: all
100+
strategy:
101+
maxParallel: 2
102+
variables:
103+
cutensor_path: /home/ci_agent/libcutensor_1.0.1/
104+
105+
You can also use `Azure virtual machine scale set agents <https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops>`_
106+
for autoscaling agents as they are cheaper to run than permanently active agents.
107+
81108
bot
82109
---
83110
This field controls the behavior of the ``auto-tick`` bot which issues

0 commit comments

Comments
 (0)