From 64c5badddd374a59d2752ef6e0d1cc4e8ce9beb8 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Tue, 29 Sep 2020 23:28:14 +0100 Subject: [PATCH] more drone testing --- .drone.yml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.drone.yml b/.drone.yml index d8ff939..818e9d9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,4 @@ +--- name: testing kind: pipeline type: docker @@ -7,18 +8,19 @@ steps: image: alpine commands: - echo test -# name: jfa-go-git -# kind: pipeline -# type: docker -# -# steps: -# - name: build -# image: golang:latest -# commands: -# - apt update -y -# - apt install build-essential python3-pip curl software-properties-common sed upx -y -# - (curl -sL https://deb.nodesource.com/setup_14.x | bash -) -# - apt install nodejs -# - (cd /opt/build; make headless compress) -# - sed -i 's#id="pwrJfPath" placeholder="Folder"#id="pwrJfPath" value="/jf" disabled#g' /opt/build/build/data/templates/setup.html -# +--- +name: jfa-go-git +kind: pipeline +type: docker + +steps: + - name: build + image: golang:latest + commands: + - apt update -y + - apt install build-essential python3-pip curl software-properties-common sed upx -y + - (curl -sL https://deb.nodesource.com/setup_14.x | bash -) + - apt install nodejs + - (cd /opt/build; make headless compress) + - sed -i 's#id="pwrJfPath" placeholder="Folder"#id="pwrJfPath" value="/jf" disabled#g' /opt/build/build/data/templates/setup.html +