diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f22751c4b306e5e78108263b4696fa1b0959421..6e710d7f84ef32e939fc4d4723f38b6d6de3178c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,18 +20,12 @@ stages: #### # Templates: # - install-aws: Install aws in a Alpine environment -# - nshmp-lib: Download nshmp-lib repo # - static-data: Array of all static data in AWS s3 #### .templates: install-aws: &install-aws |- apk -v --update add --no-cache python py-pip groff; pip install awscli; - nshmp-lib: &nshmp-lib |- - cd ..; - rm -rf ${NSHMP_LIB}; - git clone ${NSHMP_LIB_GIT}; - cd ${CI_PROJECT_NAME}; static-data: &static-data |- STATIC_DATA=" ${DATA_CONUS_2018A} @@ -174,7 +168,9 @@ Build Image: - master@ghsc/nshmp/nshmp-netcdf - tags@ghsc/nshmp/nshmp-netcdf before_script: - - *install-aws + - apk -v --update + - apk -v add --no-cache python py-pip + - pip install awscli script: - | docker build \