mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
drone testing
This commit is contained in:
parent
9e739e79e7
commit
2e0519b183
31
.drone.yml
31
.drone.yml
@ -1,15 +1,24 @@
|
|||||||
name: jfa-go-git
|
name: testing
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: test
|
||||||
image: golang:latest
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apt update -y
|
- echo test
|
||||||
- apt install build-essential python3-pip curl software-properties-common sed upx -y
|
# name: jfa-go-git
|
||||||
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
# kind: pipeline
|
||||||
- apt install nodejs
|
# type: docker
|
||||||
- (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
|
# 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
|
||||||
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user