From 76f76a0a1347ef430f36fe03b4648d0859c9d8d2 Mon Sep 17 00:00:00 2001
From: bclayton-usgs <bclayton@usgs.gov>
Date: Wed, 3 Jun 2020 09:06:38 -0600
Subject: [PATCH] update pipeline

---
 .gitlab-ci.yml | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f22751..6e710d7 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 \
-- 
GitLab