Skip to content

Commit

Permalink
drone testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hrfee committed Sep 29, 2020
1 parent 9e739e7 commit 2e0519b
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
name: jfa-go-git
name: testing
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: test
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
#

0 comments on commit 2e0519b

Please sign in to comment.