Merge pull request #41 from regro-cf-autotick-bot/0.2.6_hd31ad8
gdptools v0.2.6
This commit is contained in:
+3
@@ -25,6 +25,9 @@ jobs:
|
|||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
export CI=azure
|
export CI=azure
|
||||||
|
export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt)
|
||||||
|
export remote_url=$(Build.Repository.Uri)
|
||||||
|
export sha=$(Build.SourceVersion)
|
||||||
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
|
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
|
||||||
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
|
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
|
||||||
if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then
|
if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then
|
||||||
|
|||||||
Generated
+13
-4
@@ -28,13 +28,15 @@ conda-build:
|
|||||||
pkgs_dirs:
|
pkgs_dirs:
|
||||||
- ${FEEDSTOCK_ROOT}/build_artifacts/pkg_cache
|
- ${FEEDSTOCK_ROOT}/build_artifacts/pkg_cache
|
||||||
- /opt/conda/pkgs
|
- /opt/conda/pkgs
|
||||||
|
solver: libmamba
|
||||||
|
|
||||||
CONDARC
|
CONDARC
|
||||||
|
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1
|
||||||
|
|
||||||
mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
|
mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
|
||||||
pip mamba conda-build boa conda-forge-ci-setup=3
|
pip mamba conda-build conda-forge-ci-setup=4
|
||||||
mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
|
mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
|
||||||
pip mamba conda-build boa conda-forge-ci-setup=3
|
pip mamba conda-build conda-forge-ci-setup=4
|
||||||
|
|
||||||
# set up the condarc
|
# set up the condarc
|
||||||
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
|
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
|
||||||
@@ -52,6 +54,12 @@ if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then
|
|||||||
cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt"
|
cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${sha:-}" == "" ]]; then
|
||||||
|
pushd ${FEEDSTOCK_ROOT}
|
||||||
|
sha=$(git rev-parse HEAD)
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then
|
if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then
|
||||||
if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then
|
if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then
|
||||||
EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}"
|
EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}"
|
||||||
@@ -63,9 +71,10 @@ if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then
|
|||||||
# Drop into an interactive shell
|
# Drop into an interactive shell
|
||||||
/bin/bash
|
/bin/bash
|
||||||
else
|
else
|
||||||
conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
|
conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
|
||||||
--suppress-variables ${EXTRA_CB_OPTIONS:-} \
|
--suppress-variables ${EXTRA_CB_OPTIONS:-} \
|
||||||
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml"
|
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \
|
||||||
|
--extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}"
|
||||||
( startgroup "Validating outputs" ) 2> /dev/null
|
( startgroup "Validating outputs" ) 2> /dev/null
|
||||||
|
|
||||||
validate_recipe_outputs "${FEEDSTOCK_NAME}"
|
validate_recipe_outputs "${FEEDSTOCK_NAME}"
|
||||||
|
|||||||
Generated
+3
@@ -91,6 +91,9 @@ docker run ${DOCKER_RUN_ARGS} \
|
|||||||
-e CPU_COUNT \
|
-e CPU_COUNT \
|
||||||
-e BUILD_WITH_CONDA_DEBUG \
|
-e BUILD_WITH_CONDA_DEBUG \
|
||||||
-e BUILD_OUTPUT_ID \
|
-e BUILD_OUTPUT_ID \
|
||||||
|
-e flow_run_id \
|
||||||
|
-e remote_url \
|
||||||
|
-e sha \
|
||||||
-e BINSTAR_TOKEN \
|
-e BINSTAR_TOKEN \
|
||||||
-e FEEDSTOCK_TOKEN \
|
-e FEEDSTOCK_TOKEN \
|
||||||
-e STAGING_BINSTAR_TOKEN \
|
-e STAGING_BINSTAR_TOKEN \
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
{% set name = "gdptools" %}
|
{% set name = "gdptools" %}
|
||||||
{% set version = "0.2.5" %}
|
{% set version = "0.2.6" %}
|
||||||
|
|
||||||
package:
|
package:
|
||||||
name: {{ name|lower }}
|
name: {{ name|lower }}
|
||||||
@@ -7,7 +7,7 @@ package:
|
|||||||
|
|
||||||
source:
|
source:
|
||||||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/gdptools-{{ version }}.tar.gz
|
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/gdptools-{{ version }}.tar.gz
|
||||||
sha256: afdc67a8cf6bc632d7a577245867967cc8ff66b9ebd093b7a4c9080746594905
|
sha256: 466c6e5ef302383bbcbbd94d4ced86a1989081f04551db39de0e1a83da1fb0d4
|
||||||
|
|
||||||
build:
|
build:
|
||||||
entry_points:
|
entry_points:
|
||||||
|
|||||||
Reference in New Issue
Block a user