-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from regro-cf-autotick-bot/0.0.9
xray-vision v0.0.9
- Loading branch information
Showing
13 changed files
with
226 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: 240 | ||
strategy: | ||
maxParallel: 8 | ||
matrix: | ||
linux_: | ||
CONFIG: linux_ | ||
UPLOAD_PACKAGES: False | ||
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/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 | ||
|
||
# Install the yum requirements defined canonically in the | ||
# "recipe/yum_requirements.txt" file. After updating that file, | ||
# run "conda smithy rerender" and this line will be updated | ||
# automatically. | ||
/usr/bin/sudo -n yum install -y mesa-libGL | ||
|
||
|
||
# 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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/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 | ||
|
||
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 | ||
echo "Need to set CONFIG env variable" | ||
exit 1 | ||
fi | ||
|
||
pip install shyaml | ||
DOCKER_IMAGE=$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil-comp7 ) | ||
|
||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/master/recipe/ff_ci_pr_build.py | \ | ||
curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/master/recipe/conda_forge_ci_setup/ff_ci_pr_build.py | \ | ||
python - -v --ci "circle" "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}" "${CIRCLE_BUILD_NUM}" "${CIRCLE_PR_NUMBER}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mesa-libGL |
be64196
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! This is the friendly automated conda-forge-webservice.
I updated the Github team because of this commit.
You should get push access to this feedstock and CI services.
Feel free to join the community chat room.
NOTE: Please make sure to not push to the repository directly.
Use branches in your fork for any changes and send a PR.
More details here