From 7957b19c6a209030dc19def664e56362937e2019 Mon Sep 17 00:00:00 2001 From: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Date: Tue, 25 Jul 2023 11:25:36 -0700 Subject: [PATCH 1/5] added docs for swapfile switch --- src/maintainer/conda_forge_yml.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/maintainer/conda_forge_yml.rst b/src/maintainer/conda_forge_yml.rst index 3cedcfbc01..ecbeb83053 100644 --- a/src/maintainer/conda_forge_yml.rst +++ b/src/maintainer/conda_forge_yml.rst @@ -79,6 +79,9 @@ mapping for Azure-specific configuration options. For example: # toggle for freeing up some extra space on the default Azure Pipelines # linux image before running the Docker container for building free_disk_space: False + # toggle for creating a 10G swap file on the default Azure Pipelines + # linux image before running the Docker container for building + make_10G_swap: False .. _self-hosted_azure-config: From 0301d53cf37e131ff65c370e6fbda3ab06cfee3e Mon Sep 17 00:00:00 2001 From: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:10:48 -0700 Subject: [PATCH 2/5] updated docs for how to use custom size --- src/maintainer/conda_forge_yml.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/maintainer/conda_forge_yml.rst b/src/maintainer/conda_forge_yml.rst index ecbeb83053..9b1292444a 100644 --- a/src/maintainer/conda_forge_yml.rst +++ b/src/maintainer/conda_forge_yml.rst @@ -79,9 +79,10 @@ mapping for Azure-specific configuration options. For example: # toggle for freeing up some extra space on the default Azure Pipelines # linux image before running the Docker container for building free_disk_space: False - # toggle for creating a 10G swap file on the default Azure Pipelines + # Option for creating a swap file on the default Azure Pipelines # linux image before running the Docker container for building - make_10G_swap: False + # for example, use 10G to create a 10G swap file + make_swap: 0 .. _self-hosted_azure-config: From f2b5a28b6f4c0dcb303d525a583c24e6fc674087 Mon Sep 17 00:00:00 2001 From: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Date: Wed, 26 Jul 2023 20:06:48 -0700 Subject: [PATCH 3/5] Update src/maintainer/conda_forge_yml.rst Co-authored-by: jakirkham --- src/maintainer/conda_forge_yml.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maintainer/conda_forge_yml.rst b/src/maintainer/conda_forge_yml.rst index 7742c0dd72..19ff8b7b01 100644 --- a/src/maintainer/conda_forge_yml.rst +++ b/src/maintainer/conda_forge_yml.rst @@ -82,7 +82,7 @@ mapping for Azure-specific configuration options. For example: # Option for creating a swap file on the default Azure Pipelines # linux image before running the Docker container for building # for example, use 10G to create a 10G swap file - make_swap: 0 + make_swap: 0G # limit the amount of CI jobs running concurrently at a given time # each OS will get its proportional share of the configured value max_parallel: 25 From 1e6792627a43a8e98bbea455ed57ed6964bae807 Mon Sep 17 00:00:00 2001 From: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Date: Fri, 28 Jul 2023 00:18:40 -0700 Subject: [PATCH 4/5] update docs to use correct units --- src/maintainer/conda_forge_yml.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maintainer/conda_forge_yml.rst b/src/maintainer/conda_forge_yml.rst index 19ff8b7b01..2bb4faaf09 100644 --- a/src/maintainer/conda_forge_yml.rst +++ b/src/maintainer/conda_forge_yml.rst @@ -81,8 +81,8 @@ mapping for Azure-specific configuration options. For example: free_disk_space: False # Option for creating a swap file on the default Azure Pipelines # linux image before running the Docker container for building - # for example, use 10G to create a 10G swap file - make_swap: 0G + # for example, use 10GiB to create a 10G swap file + make_swap: 0GiB # limit the amount of CI jobs running concurrently at a given time # each OS will get its proportional share of the configured value max_parallel: 25 From fac44006aeb72575248479106016dba04065e4be Mon Sep 17 00:00:00 2001 From: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Date: Wed, 23 Aug 2023 14:07:46 -0700 Subject: [PATCH 5/5] update docs --- src/maintainer/conda_forge_yml.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/maintainer/conda_forge_yml.rst b/src/maintainer/conda_forge_yml.rst index 2bb4faaf09..e2623652cd 100644 --- a/src/maintainer/conda_forge_yml.rst +++ b/src/maintainer/conda_forge_yml.rst @@ -79,10 +79,6 @@ mapping for Azure-specific configuration options. For example: # toggle for freeing up some extra space on the default Azure Pipelines # linux image before running the Docker container for building free_disk_space: False - # Option for creating a swap file on the default Azure Pipelines - # linux image before running the Docker container for building - # for example, use 10GiB to create a 10G swap file - make_swap: 0GiB # limit the amount of CI jobs running concurrently at a given time # each OS will get its proportional share of the configured value max_parallel: 25 @@ -105,6 +101,13 @@ Below is an example configuration for setting up a self-hosted Azure agent for L strategy: maxParallel: 1 +Below is an example configuration for adding a swapfile on an Azure agent for Linux: + +.. code-block:: yaml + + azure: + settings_linux: + swapfile_size: 10GiB .. _bot: