[br-gnome-org] ci: Atualiza alpine, usa pacote do hugo



commit f55ed505a9eecfa28bbc93a95d127079aaaf4c12
Author: Rafael Fontenelle <rffontenelle gmail com>
Date:   Tue May 5 17:54:30 2020 +0000

    ci: Atualiza alpine, usa pacote do hugo
    
    Em vez de baixar tarball e verificar soma de verificação,
    usar pacote do hugo disponível no Alpine

 .gitlab-ci.yml | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ed93b9..3dd875e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,16 +1,7 @@
-image: alpine:3.10
-
-variables:
-    VER: '0.55.6'
-    SHA1: '39d3119cdb9ba5d6f1f1b43693e707937ce851791a2ea8d28003f49927c428f4'
+image: alpine:3.11
 
 before_script:
-  - apk update && apk add openssl
-  - wget --no-check-certificate 
https://github.com/gohugoio/hugo/releases/download/v${VER}/hugo_${VER}_Linux-64bit.tar.gz
-  - echo "${SHA1}  hugo_${VER}_Linux-64bit.tar.gz" | sha256sum -c
-  - tar xf hugo_${VER}_Linux-64bit.tar.gz
-  - ls -la
-  - cp ./hugo /usr/bin
+  - apk add hugo --update-cache
   - hugo version
 
 test:
@@ -26,4 +17,4 @@ pages:
     paths:
     - public
   only:
-  - master
+  - master
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]