Re-render the feedstock after CI registration.
This commit is contained in:
parent
9ebf0abd47
commit
b36cc255f6
|
@ -0,0 +1,33 @@
|
|||
# This file was generated automatically from conda-smithy. To update this configuration,
|
||||
# update the conda-forge.yml and/or the recipe/meta.yaml.
|
||||
# -*- mode: yaml -*-
|
||||
|
||||
jobs:
|
||||
- job: linux
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
timeoutInMinutes: 360
|
||||
strategy:
|
||||
maxParallel: 8
|
||||
matrix:
|
||||
linux_:
|
||||
CONFIG: linux_
|
||||
UPLOAD_PACKAGES: True
|
||||
steps:
|
||||
- script: |
|
||||
sudo pip install --upgrade pip
|
||||
sudo pip install setuptools shyaml
|
||||
displayName: Install dependencies
|
||||
|
||||
# configure qemu binfmt-misc running. This allows us to run docker containers
|
||||
# embedded qemu-static
|
||||
- script: |
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
|
||||
ls /proc/sys/fs/binfmt_misc/
|
||||
condition: not(startsWith(variables['CONFIG'], 'linux_64'))
|
||||
displayName: Configure binfmt_misc
|
||||
|
||||
- script: .azure-pipelines/run_docker_build.sh
|
||||
displayName: Run docker build
|
||||
env:
|
||||
BINSTAR_TOKEN: $(BINSTAR_TOKEN)
|
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here
|
||||
# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent
|
||||
# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also
|
||||
# benefit from the improvement.
|
||||
|
||||
set -xeuo pipefail
|
||||
export PYTHONUNBUFFERED=1
|
||||
export FEEDSTOCK_ROOT=/home/conda/feedstock_root
|
||||
export RECIPE_ROOT=/home/conda/recipe_root
|
||||
export CI_SUPPORT=/home/conda/feedstock_root/.ci_support
|
||||
export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml"
|
||||
|
||||
cat >~/.condarc <<CONDARC
|
||||
|
||||
conda-build:
|
||||
root-dir: /home/conda/feedstock_root/build_artifacts
|
||||
|
||||
CONDARC
|
||||
|
||||
conda install --yes --quiet conda-forge-ci-setup=2 conda-build -c conda-forge
|
||||
|
||||
# set up the condarc
|
||||
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
|
||||
|
||||
run_conda_forge_build_setup
|
||||
# make the build number clobber
|
||||
make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
|
||||
|
||||
conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
|
||||
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml"
|
||||
|
||||
if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then
|
||||
upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
|
||||
fi
|
||||
|
||||
touch "/home/conda/feedstock_root/build_artifacts/conda-forge-build-done-${CONFIG}"
|
|
@ -0,0 +1,70 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here
|
||||
# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent
|
||||
# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also
|
||||
# benefit from the improvement.
|
||||
|
||||
set -xeo pipefail
|
||||
|
||||
THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )"
|
||||
PROVIDER_DIR="$(basename $THISDIR)"
|
||||
|
||||
FEEDSTOCK_ROOT=$(cd "$(dirname "$0")/.."; pwd;)
|
||||
RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe"
|
||||
|
||||
docker info
|
||||
|
||||
# In order for the conda-build process in the container to write to the mounted
|
||||
# volumes, we need to run with the same id as the host machine, which is
|
||||
# normally the owner of the mounted volumes, or at least has write permission
|
||||
export HOST_USER_ID=$(id -u)
|
||||
# Check if docker-machine is being used (normally on OSX) and get the uid from
|
||||
# the VM
|
||||
if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then
|
||||
export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u)
|
||||
fi
|
||||
|
||||
ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts"
|
||||
|
||||
if [ -z "$CONFIG" ]; then
|
||||
set +x
|
||||
FILES=`ls .ci_support/linux_*`
|
||||
CONFIGS=""
|
||||
for file in $FILES; do
|
||||
CONFIGS="${CONFIGS}'${file:12:-5}' or ";
|
||||
done
|
||||
echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${DOCKER_IMAGE}" ]; then
|
||||
SHYAML_INSTALLED="$(shyaml --version || echo NO)"
|
||||
if [ "${SHYAML_INSTALLED}" == "NO" ]; then
|
||||
echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Falling back to condaforge/linux-anvil-comp7"
|
||||
DOCKER_IMAGE="condaforge/linux-anvil-comp7"
|
||||
else
|
||||
DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil-comp7 )"
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p "$ARTIFACTS"
|
||||
DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}"
|
||||
rm -f "$DONE_CANARY"
|
||||
# Not all providers run with a real tty. Disable using one
|
||||
DOCKER_RUN_ARGS=" "
|
||||
|
||||
export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}"
|
||||
docker run ${DOCKER_RUN_ARGS} \
|
||||
-v "${RECIPE_ROOT}":/home/conda/recipe_root:ro,z \
|
||||
-v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z \
|
||||
-e CONFIG \
|
||||
-e BINSTAR_TOKEN \
|
||||
-e HOST_USER_ID \
|
||||
-e UPLOAD_PACKAGES \
|
||||
$DOCKER_IMAGE \
|
||||
bash \
|
||||
/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh
|
||||
|
||||
# verify that the end of the script was reached
|
||||
test -f "$DONE_CANARY"
|
|
@ -0,0 +1 @@
|
|||
This file is automatically generated by conda-smithy. To change any matrix elements, you should change conda-smithy's input conda_build_config.yaml and re-render the recipe, rather than editing these files directly.
|
|
@ -0,0 +1,14 @@
|
|||
build_number_decrement:
|
||||
- '0'
|
||||
channel_sources:
|
||||
- conda-forge,defaults
|
||||
channel_targets:
|
||||
- conda-forge main
|
||||
docker_image:
|
||||
- condaforge/linux-anvil-comp7
|
||||
pin_run_as_build:
|
||||
python:
|
||||
min_pin: x.x
|
||||
max_pin: x.x
|
||||
python:
|
||||
- '2.7'
|
|
@ -0,0 +1,24 @@
|
|||
# This file was generated automatically from conda-smithy. To update this configuration,
|
||||
# update the conda-forge.yml and/or the recipe/meta.yaml.
|
||||
# -*- mode: yaml -*-
|
||||
|
||||
version: 2
|
||||
|
||||
jobs:
|
||||
build:
|
||||
working_directory: ~/test
|
||||
machine: true
|
||||
steps:
|
||||
- run:
|
||||
# The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish.
|
||||
command: exit 0
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_test:
|
||||
jobs:
|
||||
- build:
|
||||
filters:
|
||||
branches:
|
||||
ignore:
|
||||
- /.*/
|
|
@ -0,0 +1,7 @@
|
|||
* text=auto
|
||||
|
||||
*.patch binary
|
||||
*.diff binary
|
||||
meta.yaml text eol=lf
|
||||
build.sh text eol=lf
|
||||
bld.bat text eol=crlf
|
|
@ -0,0 +1,15 @@
|
|||
Thanks for your interest in helping out conda-forge.
|
||||
|
||||
Whether you are brand new or a seasoned maintainer, we always appreciate
|
||||
feedback from the community about how we can improve conda-forge. If you
|
||||
are submitting a PR or issue, please fill out the respective template. Should
|
||||
any questions arise please feel free to ask the maintainer team of the
|
||||
respective feedstock or reach out to `@conda-forge/core` for more complex
|
||||
issues.
|
||||
|
||||
In the case of any issues reported, please be sure to demonstrate the relevant
|
||||
issue (even if it is an absence of a feature). Providing this information will
|
||||
help busy maintainers understand what it is you hope to accomplish. Also this
|
||||
will help provide them clues as to what might be going wrong. These examples
|
||||
can also be reused as tests in the build to ensure further packages meet these
|
||||
criteria. This is requested to help you get timely and relevant feedback. :)
|
|
@ -0,0 +1,25 @@
|
|||
<!--
|
||||
Thanks for reporting your issue.
|
||||
Please fill out the sections below.
|
||||
-->
|
||||
Issue:
|
||||
|
||||
<br/>
|
||||
Environment (<code>conda list</code>):
|
||||
<details>
|
||||
|
||||
```
|
||||
$ conda list
|
||||
|
||||
```
|
||||
</details>
|
||||
|
||||
<br/>
|
||||
Details about <code>conda</code> and system ( <code>conda info</code> ):
|
||||
<details>
|
||||
|
||||
```
|
||||
$ conda info
|
||||
|
||||
```
|
||||
</details>
|
|
@ -0,0 +1,18 @@
|
|||
<!--
|
||||
Thank you for pull request.
|
||||
Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant.
|
||||
-->
|
||||
Checklist
|
||||
* [ ] Used a fork of the feedstock to propose changes
|
||||
* [ ] Bumped the build number (if the version is unchanged)
|
||||
* [ ] Reset the build number to `0` (if the version changed)
|
||||
* [ ] [Re-rendered]( https://conda-forge.org/docs/maintainer/updating_pkgs.html#rerendering-feedstocks ) with the latest `conda-smithy` (Use the phrase <code>@<space/>conda-forge-admin, please rerender</code> in a comment in this PR for automated rerendering)
|
||||
* [ ] Ensured the license file is being packaged.
|
||||
|
||||
<!--
|
||||
Please note any issues this fixes using [closing keywords]( https://help.github.com/articles/closing-issues-using-keywords/ ):
|
||||
-->
|
||||
|
||||
<!--
|
||||
Please add any other relevant info below:
|
||||
-->
|
|
@ -0,0 +1,3 @@
|
|||
*.pyc
|
||||
|
||||
build_artifacts
|
|
@ -0,0 +1,13 @@
|
|||
BSD 3-clause license
|
||||
Copyright (c) 2015-2019, conda-forge
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,122 @@
|
|||
About pytest-bdd
|
||||
================
|
||||
|
||||
Home: https://github.com/pytest-dev/pytest-bdd
|
||||
|
||||
Package license: MIT
|
||||
|
||||
Feedstock license: BSD 3-Clause
|
||||
|
||||
Summary: BDD for pytest
|
||||
|
||||
pytest-bdd implements a subset of the Gherkin language to enable automating project requirements testing and to facilitate behavioral driven development.
|
||||
|
||||
Current build status
|
||||
====================
|
||||
|
||||
|
||||
<table><tr>
|
||||
|
||||
<td>All platforms:</td>
|
||||
<td>
|
||||
<a href="https://dev.azure.com/conda-forge/feedstock-builds/_build/latest?definitionId=6774&branchName=master">
|
||||
<img src="https://dev.azure.com/conda-forge/feedstock-builds/_apis/build/status/pytest-bdd-feedstock?branchName=master">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Current release info
|
||||
====================
|
||||
|
||||
| Name | Downloads | Version | Platforms |
|
||||
| --- | --- | --- | --- |
|
||||
| [![Conda Recipe](https://img.shields.io/badge/recipe-pytest--bdd-green.svg)](https://anaconda.org/conda-forge/pytest-bdd) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pytest-bdd.svg)](https://anaconda.org/conda-forge/pytest-bdd) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pytest-bdd.svg)](https://anaconda.org/conda-forge/pytest-bdd) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pytest-bdd.svg)](https://anaconda.org/conda-forge/pytest-bdd) |
|
||||
|
||||
Installing pytest-bdd
|
||||
=====================
|
||||
|
||||
Installing `pytest-bdd` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
|
||||
|
||||
```
|
||||
conda config --add channels conda-forge
|
||||
```
|
||||
|
||||
Once the `conda-forge` channel has been enabled, `pytest-bdd` can be installed with:
|
||||
|
||||
```
|
||||
conda install pytest-bdd
|
||||
```
|
||||
|
||||
It is possible to list all of the versions of `pytest-bdd` available on your platform with:
|
||||
|
||||
```
|
||||
conda search pytest-bdd --channel conda-forge
|
||||
```
|
||||
|
||||
|
||||
About conda-forge
|
||||
=================
|
||||
|
||||
[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](http://numfocus.org)
|
||||
|
||||
conda-forge is a community-led conda channel of installable packages.
|
||||
In order to provide high-quality builds, the process has been automated into the
|
||||
conda-forge GitHub organization. The conda-forge organization contains one repository
|
||||
for each of the installable packages. Such a repository is known as a *feedstock*.
|
||||
|
||||
A feedstock is made up of a conda recipe (the instructions on what and how to build
|
||||
the package) and the necessary configurations for automatic building using freely
|
||||
available continuous integration services. Thanks to the awesome service provided by
|
||||
[CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/)
|
||||
and [TravisCI](https://travis-ci.org/) it is possible to build and upload installable
|
||||
packages to the [conda-forge](https://anaconda.org/conda-forge)
|
||||
[Anaconda-Cloud](https://anaconda.org/) channel for Linux, Windows and OSX respectively.
|
||||
|
||||
To manage the continuous integration and simplify feedstock maintenance
|
||||
[conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed.
|
||||
Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of
|
||||
this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``.
|
||||
|
||||
For more information please check the [conda-forge documentation](https://conda-forge.org/docs/).
|
||||
|
||||
Terminology
|
||||
===========
|
||||
|
||||
**feedstock** - the conda recipe (raw material), supporting scripts and CI configuration.
|
||||
|
||||
**conda-smithy** - the tool which helps orchestrate the feedstock.
|
||||
Its primary use is in the construction of the CI ``.yml`` files
|
||||
and simplify the management of *many* feedstocks.
|
||||
|
||||
**conda-forge** - the place where the feedstock and smithy live and work to
|
||||
produce the finished article (built conda distributions)
|
||||
|
||||
|
||||
Updating pytest-bdd-feedstock
|
||||
=============================
|
||||
|
||||
If you would like to improve the pytest-bdd recipe or build a new
|
||||
package version, please fork this repository and submit a PR. Upon submission,
|
||||
your changes will be run on the appropriate platforms to give the reviewer an
|
||||
opportunity to confirm that the changes result in a successful build. Once
|
||||
merged, the recipe will be re-built and uploaded automatically to the
|
||||
`conda-forge` channel, whereupon the built conda packages will be available for
|
||||
everybody to install and use from the `conda-forge` channel.
|
||||
Note that all branches in the conda-forge/pytest-bdd-feedstock are
|
||||
immediately built and any created packages are uploaded, so PRs should be based
|
||||
on branches in forks and branches in the main repository should only be used to
|
||||
build distinct package versions.
|
||||
|
||||
In order to produce a uniquely identifiable distribution:
|
||||
* If the version of a package **is not** being increased, please add or increase
|
||||
the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string).
|
||||
* If the version of a package **is** being increased, please remember to return
|
||||
the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string)
|
||||
back to 0.
|
||||
|
||||
Feedstock Maintainers
|
||||
=====================
|
||||
|
||||
* [@breathe](https://github.com/breathe/)
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# This file was generated automatically from conda-smithy. To update this configuration,
|
||||
# update the conda-forge.yml and/or the recipe/meta.yaml.
|
||||
# -*- mode: yaml -*-
|
||||
|
||||
jobs:
|
||||
- template: ./.azure-pipelines/azure-pipelines-linux.yml
|
|
@ -1 +1,6 @@
|
|||
[]
|
||||
travis:
|
||||
secure:
|
||||
BINSTAR_TOKEN: nBmiDcr1oaojynNB7Pgufc3l+EUCN8UuAcTZhZqxd9MHTrmPAKjEpseq7BUoyFw1l40SrGL7CAJmaGsXM7UBRJTUBs3qOFG/JzOl7FiQgbqCvgk/RuAtz/bNo7zXk2mBXQHkqK8YaENDHTi4XN75OOlxeN7WHXM0e/5kb8Tg+FSE0D87eChw4Qz9lsN/m22Fd7H4voVjwgX6j/eEAUpfmhTW8JNoqAnkGXm8wdSEIZbT/Wl2EsQLwnnBheRuVKXBM94/M/MdyfNC5yGKMQFsCiCDHBZrBlCElCBueTaYG/B88Zs+98FalXRB7KRAfN0/z+Ea9XPRT29Snv3CgkzXVRohAoi2BQ4puqDsVsURI0n4/Us7osSoVDy9rrZcouCvLu3uMwRQ+9D5mbd8lzGQBkXv2HuHerrJ6jCE0Tm3KvwPcBjLhJx+estGYYViz5WOn3UynR6/1QMIWrd8IicUfRKu3we3loO+Fb3Se42XlwL9UlJTZZkesNuxdIWRuHIMYK4ywl+1X2giIx8204qBVqLcgbJgHaou+6Svczk77n4+YFMlAVbvAdxO3w/ya5GfNFVphOiYenSVZbB2EfHr2Xzi2/Awjhw09u1RZQGAxqMc1ERSVI4w9jWgbu7oyFsp4Wq5Av8ldWDVoSkQjmuhSJNQdEAd99JuhQsmG3dVlKI=
|
||||
appveyor:
|
||||
secure:
|
||||
BINSTAR_TOKEN: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1
|
||||
|
|
Loading…
Reference in New Issue