This repository contains a Dockerfile gitpod configuration for creating and testing bioconda recipes.
Continuous intregartion is set up to build and push to Dockerhub on merged to main or each day at 00:00 UTC.
To use this repository to build and test bioconda recipes, follow these steps:
-
Open a new Gitpod session from this repository. The easiest way to do this is to install the Gitpod browser plugin and click the green button on the top right corner. This Gitpod session comes preinstalled with all the tools you need to get started:
- conda
- mamba
- grayskull
- bioconda-utils
-
The Gitpod environment by default enters a clone of the bioconda recipes repository
/workspace/bioconda-recipes
, so you can directly get started with your recipe. Create a branch and either modify an existing recipe or create a new one usingconda skeleton pypi <packagename>
orgrayskull pypi <packagename>
from the mainbioconda-recipes
folder. -
To test if your recipe lints, run
bioconda-utils lint --git-range master
orbioconda-utils lint --packages mypackage
. -
To test if your recipe works, run
bioconda-utils build --mulled-test --git-range master
orbioconda-utils build --docker --mulled-test --packages mypackage
-
Add your fork of bioconda recipes as a remote:
git remote add [name for your remote] [URL of your fork]
-
Push your changes to your fork to open a Pull Request:
git push -u [name for your remote] [name of your branch]
That is it, your recipe should now be on your fork and branch for you to be able to open a pull request to the official bioconda recipes repo.