Commit 4c0ca1b5 authored by guillaume pernot's avatar guillaume pernot
Browse files

Merge branch 'feat-conda-build' into 'develop'

Addded image fot conda-linux-deploy

See merge request !3
parents e92c35c8 15cf46fc
Pipeline #3634 failed with stages
in 39 minutes and 27 seconds
......@@ -371,14 +371,15 @@ conda-linux-build:
when: always
expire_in: 24 hrs
paths:
- /build/anaconda3/conda-bld/linux-64/*.tar.bz2
- conda-bld/*
conda-linux-deploy:
stage: deploy
extends: .general
stage: deploy
only:
- develop
- /^release-[0-9]+\.[0-9]+$/
image: $BUILD_IMAGE_REGISTRY/otb-conda-build:latest
before_script:
# Provision efficiently the local LFS cache before checkout
- git lfs fetch origin $CI_COMMIT_SHA
......
......@@ -33,3 +33,6 @@ conda build ${CONDA_BUILD_OPTIONS} shark
conda build ${CONDA_BUILD_OPTIONS} tinyxml
conda build ${CONDA_BUILD_OPTIONS} libitk
conda build ${CONDA_BUILD_OPTIONS} otb
mkdir ${CI_PROJECT_DIR}/conda-bld
mv /build/anaconda3/conda-bld/linux-64/*.tar.bz2 ${CI_PROJECT_DIR}/conda-bld
......@@ -27,4 +27,4 @@ source /build/anaconda3/bin/activate
ANACONDA_ORGANIZATION="orfeotoolbox"
anaconda login --username ${ANACONDA_LOGIN} --password ${ANACONDA_PASSWORD} --hostname ${CI_JOB_ID}
anaconda upload --user ${ANACONDA_ORGANIZATION} /build/anaconda3/conda-bld/linux-64/*.tar.bz2
anaconda upload --user ${ANACONDA_ORGANIZATION} conda-bld/*.tar.bz2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment