Harvey Tindall
a8bf670697
dont log updates when disabled
4 years ago
Harvey Tindall
0bdf8ad6ce
put upload.py in parent dir
4 years ago
Harvey Tindall
8f65e2e968
fix drone.yml for stable docker
4 years ago
Harvey Tindall
f685582e1a
run upload.py in git directory
4 years ago
Harvey Tindall
f792166523
use locally stored buildrone key bcs ssh is broken
4 years ago
Harvey Tindall
7c0754a70c
fix buildrone env
4 years ago
Harvey Tindall
eb8f2777ae
fix naming conflict with goreleaser, add buildrone key to other steps
4 years ago
Harvey Tindall
92332206f0
add basic update functionality
...
If enabled, jfa-go pings buildrone (hosted at builds.hrfee.pw) every 30
min for new updates. If there is one, it gets information (and if
applicable, a binary) from the appropriate source (buildrone, github, or
dockerhub) and displays it on the admin page. You can switch update
channels between stable and unstable. For binary releases, updates are
downloaded automatically and installed when the user presses update.
Since this obviously introduces some "phone-home" functionality into
jfa-go, I just want to say IPs are not and will not be logged by
buildrone, although I may later introduce functionality to give a rough
idea of the number of users (again, no IPs stored). The whole thing can
also be turned off in settings.
4 years ago
Harvey Tindall
cdc837e781
trim '/' from path when using systemFS
...
should fix #58 .
4 years ago
Harvey Tindall
e913f25a47
update buildrone url
4 years ago
Harvey Tindall
6b3800abf6
remove branch trigger
4 years ago
Harvey Tindall
09fc81d7f4
fix tag recognition by drone
4 years ago
Harvey Tindall
8dd72c95ab
switch image for drone builds
4 years ago
Harvey Tindall
f794322392
Merge branch 'go1.16'
...
merge go1.16 changes
This includes embedded files for releases (no extra 'data' directory!)
and support for a custom language file directory, allowing one to
customize the text accross the app.
4 years ago
Harvey Tindall
33b7876826
build from tag on stable
4 years ago
Harvey Tindall
0fc4b5eb22
switch to buildx with qemu for builds
4 years ago
Harvey Tindall
a80e5c2aa9
purge manifest and recreate per build
4 years ago
Harvey Tindall
060f0efc16
pull containers before manifest, run on different host
4 years ago
Harvey Tindall
c3fb00a307
wrong go version container
4 years ago
Harvey Tindall
988829a6db
dont build docker on go1.16 branch
4 years ago
Harvey Tindall
76935a300a
dont build docker on go1.16 branch
4 years ago
Harvey Tindall
ee37588959
drone image
4 years ago
Harvey Tindall
72cf3e2240
add external/internal data options
...
"make all" will build with internal data, whereas "make debug"/"make
all-external" will make an external "data/" directory.
4 years ago
Harvey Tindall
1af8d1f77d
fix url in account creation success page
4 years ago
Harvey Tindall
2ee0ed55f6
forgot key agh
4 years ago
Harvey Tindall
94981f4891
dont use drone manifest plugin
4 years ago
Harvey Tindall
81fb0fc69f
fix triggers aarch64 = arm64
4 years ago
Harvey Tindall
c3af0f4380
remove tag event from unstable build
4 years ago
Harvey Tindall
3a9e4950d4
run docker amd64 builds on drone, attempt multiarch
4 years ago
Harvey Tindall
06dada297b
up command_timeout for slow rpi builds
4 years ago
Harvey Tindall
e1c3b312ff
split armhf and arm64, add stable build
4 years ago
Harvey Tindall
e235ed9fda
fix key again
4 years ago
Harvey Tindall
5cda12dd3b
separate into pipelines, add armhf
4 years ago
Harvey Tindall
a9d48083fd
fix keyfile
4 years ago
Harvey Tindall
e28c50401e
use key path
4 years ago
Harvey Tindall
4a3b015a40
start adding automated arm builds
4 years ago
Harvey Tindall
95a6b48c3e
add go1.16 branch do drone builds
...
This branch has fully self-contained binaries, so I thought it'd be a
good idea to build it alongside.
4 years ago
Harvey Tindall
0171fb8569
dont attempt to release PRs on buildrone
4 years ago
Harvey Tindall
5fd2e81fe4
install requests dep for upload.py
...
sorry for commit spam.
4 years ago
Harvey Tindall
a12678bd4d
upload tar.gz instead of zip
4 years ago
Harvey Tindall
e3644e8fbf
fix indentation
4 years ago
Harvey Tindall
04198f3d49
initial buildrone integration
...
buildrone is a little build server thing i wrote. This change should
cause all new Drone builds to be uploaded to it.
4 years ago
Harvey Tindall
8f7a65bebb
fix drone.yml build
4 years ago
Harvey Tindall
64c5badddd
more drone testing
4 years ago
Harvey Tindall
2e0519b183
drone testing
4 years ago
Harvey Tindall
9e739e79e7
initial drone ci setup
4 years ago