Skip to content

Commit 3f7de50

Browse files
authored
Merge branch 'main' into 2023-11-29-meeting-notes
2 parents e920002 + 025e848 commit 3f7de50

File tree

3 files changed

+32
-7
lines changed

3 files changed

+32
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- uses: conda-incubator/setup-miniconda@v2
17+
- uses: conda-incubator/setup-miniconda@v3
1818
with:
1919
python-version: 3.8
2020
channels: conda-forge

src/maintainer/knowledge_base.rst

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,6 +1668,32 @@ The steps involved are, roughly:
16681668
consider merging the PR opened at step 2 now so it can apply to all the downstream feedstocks.
16691669
16701670
1671+
.. _opengpuserver:
1672+
1673+
Packages that require a GPU or long-running builds
1674+
==================================================
1675+
1676+
conda-forge has access to `an OpenStack server <https://github.com/Quansight/open-gpu-server>`__ that provides GPU builds and long-running builds (beyond the usual 6h limit).
1677+
If your package needs a GPU to be built or tested, or its compilation times are so long that they are currently done manually off-CI, you can request access to these runners.
1678+
To do so:
1679+
1680+
1. Open a PR in `conda-forge/admin-requests <https://github.com/conda-forge/admin-requests>`__. Follow the instructions in the repository README.
1681+
Note you need to request the type of resource you want access to (e.g. GPU runners, or long-running CPU builds)
1682+
Once merged, this will enable the self-hosted Github Actions runners for your feedstock.
1683+
2. In order to trigger jobs for these runners, the maintainer must have read and agreed to the open-gpu-server `terms of use <https://github.com/Quansight/open-gpu-server/blob/main/TOS.md>`__.
1684+
You will need to open a PR in the open-gpu-server repository, as instructed in their README.
1685+
You only need to do this once per maintainer (e.g. if you maintain multiple feedstocks).
1686+
3. Finally, you can configure your feedstock to use the self-hosted runners. A PR will have been created by admin-requests after the PR in step (1) is merged.
1687+
However, due to security measurements imposed by Github, automated re-rendering is not possible when they modify Github Actions workflows.
1688+
You will need to rerender it manually by running ``conda-smithy rerender`` in your machine and then commit and push the result.
1689+
1690+
.. note::
1691+
1692+
Due to some technical and legal limitations, some of the usual automation infrastructure is not available for these runners.
1693+
As mentioned above, the conda-forge bots won't be able to rerender your feedstock automatically anymore.
1694+
Automerge will not function properly either. Also note that the conda-forge bots won't be able to trigger the self-hosted runners.
1695+
Closing and reopening the PR won't work, but a maintainer with sufficient permissions can trigger it manually by pushing an empty commit.
1696+
16711697
.. _osxarm64:
16721698
16731699
Apple Silicon builds
@@ -1833,12 +1859,11 @@ higher than the package uploaded with the ``dev`` label.
18331859
18341860
How to update your feedstock token?
18351861
====================================
1836-
To reset your feedstock token and fix issues with uploads, follow these steps:
18371862
1838-
1. Create a new text file in the ``token_reset`` directory of the ``conda-forge/admin-requests`` repo.
1839-
2. Add the name of your feedstock in the text file. While adding the name, don't add "-feedstock" to the end of it. For example: for ``python-feedstock``, just add ``python``.
1863+
To reset your feedstock token and fix issues with uploads, follow these steps:
18401864
1841-
See `token_reset/example.txt <https://github.com/conda-forge/admin-requests/blob/main/token_reset/example.txt>`__ for an example.
1865+
1. Go to the ``conda-forge/admin-requests`` repo and copy `examples/example-broken.yml <https://github.com/conda-forge/admin-requests/blob/main/examples/example-broken.yml>`__ to the ``requests/`` folder.
1866+
2. Add the name of your feedstock in the YML file. While adding the name, don't add "-feedstock" to the end of it. For example: for ``python-feedstock``, just add ``python``.
18421867
18431868
.. _using_arch_rebuild:
18441869

src/maintainer/updating_pkgs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ If instead the actual contents of the package are broken, the following steps wi
255255
remove broken packages from the ``main`` channel:
256256

257257
1. Locate the paths to broken files on `anaconda.org <https://anaconda.org>`__, by searching for the conda-forge package and switching to the files tab.
258-
2. Fork `conda-forge/admin-requests <https://github.com/conda-forge/admin-requests>`__ and add a new text file in the ``broken`` directory.
259-
3. Add the broken files to the new text file, one path per line. See `broken/example.txt <https://github.com/conda-forge/admin-requests/blob/main/broken/example.txt>`__ for an example file.
258+
2. Fork `conda-forge/admin-requests <https://github.com/conda-forge/admin-requests>`__ and add a new YML file in the ``requests`` directory.
259+
3. Add the broken files to the new YML document.See `examples/example-broken.yml <https://github.com/conda-forge/admin-requests/blob/main/examples/example-broken.yml>`__ for an example file.
260260
4. Open a new PR. Once merged, a bot will label all listed files as broken, thus effectively removing them from the channel.
261261

262262

0 commit comments

Comments
 (0)