From e3d35e248543109079f2c190ff674a786effaa11 Mon Sep 17 00:00:00 2001 From: Jeremy Fee <jmfee@usgs.gov> Date: Fri, 26 Jun 2020 12:11:23 -0600 Subject: [PATCH] Use conda image --- .gitlab-ci.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87aebece..181964b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,21 +15,12 @@ variables: .check_code: cache: {} - image: usgs/centos:latest + image: ${DEVOPS_REGISTRY}usgs/conda:latest script: - - yum install -y wget which - - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - - bash miniconda.sh -b -p $HOME/miniconda - - export PATH="$HOME/miniconda/bin:$PATH" - - conda config --set always_yes yes --set changeps1 no - - conda update --yes conda - - conda info -a # Install Project Dependencies - conda config --add channels conda-forge - conda install python=${PYTHON_VERSION} obspy pycurl - pip install pipenv - - export LC_ALL=C.UTF-8 - - export LANG=C.UTF-8 - pipenv --site-packages install --dev --pre --skip-lock # Run Code Checks - pipenv run black --check . -- GitLab