Skip to content

Commit b82da62

Browse files
authored
Merge pull request #1391 from Aaishpra/azure
Added config and documentation for setup of self-hosted azure
2 parents 357dd1c + 6a5946e commit b82da62

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/maintainer/conda_forge_yml.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,24 @@ mapping for Azure-specific configuration options. For example:
7979
# built packages) as an Azure pipeline artifact that can be downloaded
8080
store_build_artifacts: False
8181
82+
.. _self-hosted_azure-config:
83+
84+
Below is an example configuration for setting up a self-hosted Azure agent for Linux:
85+
86+
.. code-block:: yaml
87+
88+
azure:
89+
settings_linux:
90+
pool:
91+
name: your_local_pool_name
92+
demands:
93+
- some_key -equals some_value
94+
workspace:
95+
clean: all
96+
strategy:
97+
maxParallel: 1
98+
99+
82100
.. _bot:
83101

84102
bot

src/maintainer/infrastructure.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Smithy contains maintenance code for conda-forge, which is used by the ``conda-s
2525

2626
``conda-smithy`` also contains the command line tool that you should use if you rerender manually from the command line (see :ref:`dev_update_rerender`).
2727

28+
Smithy can be used beyond Conda-Forge's purposes. For example, it can be used to `set up self-hosted Azure agents <self-hosted_azure-config>`_ for non-Conda-Forge infrastructures.
29+
(You could also consider using `Azure virtual machine scale set agents <https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops>`_,
30+
which could be less expensive to run than permanently active agents.)
31+
2832

2933
Web services
3034
------------

0 commit comments

Comments
 (0)