Commit 494f3c49 authored by Willi Rath's avatar Willi Rath

Initial commit

parents
Pipeline #3805 passed with stage
in 3 minutes and 51 seconds
image: docker:latest
variables:
DOCKER_DRIVER: overlay2
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
stages:
- test
- build
- release
test:
tags:
- docker-machine
stage: test
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master
- tags
build-master:
tags:
- docker-machine
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE":master .
- docker push "$CI_REGISTRY_IMAGE":master
only:
- master
build-tag:
tags:
- docker-machine
stage: release
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG"
only:
- tags
FROM continuumio/miniconda3:latest
COPY environment.yml /tmp/environment.yml
RUN conda update -y -n root conda \
&& conda env create -f=/tmp/environment.yml \
&& conda clean -tipy
name: windeval
channels:
- conda-forge
dependencies:
- python=3
- dask
- distributed
- flake8
- netCDF4
- numpy
- matplotlib
- openblas
- pandas
- pip
- pytest
- pytest-cov
- scipy
- seawater
- xarray
- zarr
- pip:
- codecov
- flake8-bugbear
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