File tree Expand file tree Collapse file tree 5 files changed +32
-14
lines changed Expand file tree Collapse file tree 5 files changed +32
-14
lines changed Original file line number Diff line number Diff line change
1
+ build_number_decrement :
2
+ - ' 0'
3
+ channel_sources :
4
+ - conda-forge,defaults
5
+ channel_targets :
6
+ - conda-forge main
7
+ docker_image :
8
+ - condaforge/linux-anvil
1
9
pin_run_as_build :
2
10
python :
3
11
min_pin : x.x
Original file line number Diff line number Diff line change 7
7
8
8
set -xeuo pipefail
9
9
export PYTHONUNBUFFERED=1
10
+ export FEEDSTOCK_ROOT=/home/conda/feedstock_root
11
+ export RECIPE_ROOT=/home/conda/recipe_root
12
+ export CI_SUPPORT=/home/conda/feedstock_root/.ci_support
13
+ export CONFIG_FILE=" ${CI_SUPPORT} /${CONFIG} .yaml"
10
14
11
15
cat > ~/.condarc << CONDARC
12
16
13
- channels:
14
- - conda-forge
15
- - defaults
16
-
17
17
conda-build:
18
18
root-dir: /home/conda/feedstock_root/build_artifacts
19
19
20
- show_channel_urls: true
21
-
22
20
CONDARC
23
21
22
+ conda install --yes --quiet conda-forge::conda-forge-ci-setup=2 conda-build
23
+
24
+ # set up the condarc
25
+ setup_conda_rc " ${FEEDSTOCK_ROOT} " " ${RECIPE_ROOT} " " ${CONFIG_FILE} "
26
+
24
27
# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artifacts.
25
28
conda clean --lock
26
29
27
- conda install --yes --quiet conda-forge-ci-setup=1 conda-build
28
30
source run_conda_forge_build_setup
29
31
30
- conda build /home/conda/recipe_root -m /home/conda/feedstock_root/.ci_support/${CONFIG} .yaml --quiet
31
- upload_or_check_non_existence /home/conda/recipe_root conda-forge --channel=main -m /home/conda/feedstock_root/.ci_support/${CONFIG} .yaml
32
+ # make the build number clobber
33
+ make_build_number " ${FEEDSTOCK_ROOT} " " ${RECIPE_ROOT} " " ${CONFIG_FILE} "
34
+
35
+ conda build " ${RECIPE_ROOT} " -m " ${CI_SUPPORT} /${CONFIG} .yaml" \
36
+ --clobber-file " ${CI_SUPPORT} /clobber_${CONFIG} .yaml" --quiet
37
+
38
+ upload_package " ${FEEDSTOCK_ROOT} " " ${RECIPE_ROOT} " " ${CONFIG_FILE} "
32
39
33
40
touch " /home/conda/feedstock_root/build_artifacts/conda-forge-build-done-${CONFIG} "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/master /recipe/ff_ci_pr_build.py | \
3
+ curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0 /recipe/conda_forge_ci_setup /ff_ci_pr_build.py | \
4
4
python - -v --ci " circle" " ${CIRCLE_PROJECT_USERNAME} /${CIRCLE_PROJECT_REPONAME} " " ${CIRCLE_BUILD_NUM} " " ${CIRCLE_PR_NUMBER} "
Original file line number Diff line number Diff line change 8
8
set -xeuo pipefail
9
9
10
10
FEEDSTOCK_ROOT=$( cd " $( dirname " $0 " ) /.." ; pwd ; )
11
- RECIPE_ROOT=$ FEEDSTOCK_ROOT /recipe
11
+ RECIPE_ROOT=" ${ FEEDSTOCK_ROOT} /recipe"
12
12
13
13
docker info
14
14
@@ -29,6 +29,9 @@ if [ -z "$CONFIG" ]; then
29
29
exit 1
30
30
fi
31
31
32
+ pip install shyaml
33
+ DOCKER_IMAGE=$( cat " ${FEEDSTOCK_ROOT} /.ci_support/${CONFIG} .yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil )
34
+
32
35
mkdir -p " $ARTIFACTS "
33
36
DONE_CANARY=" $ARTIFACTS /conda-forge-build-done-${CONFIG} "
34
37
rm -f " $DONE_CANARY "
@@ -39,7 +42,7 @@ docker run -it \
39
42
-e CONFIG \
40
43
-e BINSTAR_TOKEN \
41
44
-e HOST_USER_ID \
42
- condaforge/linux-anvil \
45
+ $DOCKER_IMAGE \
43
46
bash \
44
47
/home/conda/feedstock_root/.circleci/build_steps.sh
45
48
Original file line number Diff line number Diff line change 1
- {% set version = "0.6.0 " %}
1
+ {% set version = "0.6.1 " %}
2
2
{% set name = "pandas-gbq" %}
3
- {% set sha256 = "87d447e2be7ea79fe77df5948942508081ac29d6eda34aad5482af4aa647cdd0 " %}
3
+ {% set sha256 = "6cd6535842352ce2ccffbf43761084e1000c562fc7896d99038504c61e69a8bb " %}
4
4
5
5
package :
6
6
name : {{ name|lower }}
You can’t perform that action at this time.
0 commit comments