1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-06-01 07:07:48 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
1336a87ae2
drone: use custom container for pr builds 2021-07-16 16:50:31 +01:00
93937ec3b5
drone: use pre-made image with dependencies
a cron job builds hrfee/jfa-go-build-docker daily, which includes the
apt dependencies for building.
2021-05-31 14:58:20 +01:00
93c7a6e31b
apt: Change versioning to hopefully fix updates
0.0.0-{commit} didn't register as updates to the previously installed
  versions, but it looks like 0{commit} works.
2021-05-31 14:13:41 +01:00
a9cabe3d74
apt: also remove jfa-go-tray 2021-05-30 23:37:17 +01:00
d6fd1d6894
apt: remove last unstable before adding
kind of a hack, since all versions have version number 0.0.0, reprepro
skips adding new files.
2021-05-30 23:26:50 +01:00
0b473ef01f
don't put .debs on buildrone; link to instructions at top of README 2021-05-24 20:30:31 +01:00
8fd919bf04
remove chglog, add steps to upload to apt.hrfee.dev
chglog isn't actually needed. Packages are uploaded as jfa-go(-git) and
jfa-go-tray(-git).
2021-05-24 18:37:26 +01:00
1d47b9074f
change notray/tray naming, add deb/rpm/apk
Since Tray support requires dependencies, it won't be the default for
releases. deb/rpm/apk support may be broken still.
2021-05-16 22:44:04 +01:00
5167fde080
change tar.gz to zip in drone 2021-05-16 21:12:18 +01:00
a62648ee68
fix cross compilation in goreleaser/drone
Necessary for go-autostart to work on windows. Tray will be enabled by
default for x86_64 windows/linux binaries.
2021-05-16 21:01:31 +01:00
aaea889e47
use apt-get in drone.yml 2021-04-03 21:38:26 +01:00
a8bf670697
dont log updates when disabled 2021-03-20 23:20:07 +00:00
0bdf8ad6ce
put upload.py in parent dir 2021-03-20 23:16:54 +00:00
8f65e2e968
fix drone.yml for stable docker 2021-03-20 23:13:03 +00:00
f685582e1a
run upload.py in git directory 2021-03-07 16:27:15 +00:00
f792166523
use locally stored buildrone key bcs ssh is broken 2021-03-07 16:15:31 +00:00
7c0754a70c
fix buildrone env 2021-03-07 16:07:55 +00:00
eb8f2777ae
fix naming conflict with goreleaser, add buildrone key to other steps 2021-03-07 15:54:32 +00:00
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.
2021-03-07 15:23:44 +00:00
cdc837e781
trim '/' from path when using systemFS
should fix #58.
2021-02-17 22:02:26 +00:00
e913f25a47
update buildrone url 2021-02-17 20:31:52 +00:00
6b3800abf6
remove branch trigger 2021-02-17 16:34:04 +00:00
09fc81d7f4
fix tag recognition by drone 2021-02-17 16:26:14 +00:00
8dd72c95ab
switch image for drone builds 2021-02-17 11:19:51 +00:00
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.
2021-02-17 11:15:21 +00:00
33b7876826
build from tag on stable 2021-02-13 22:03:35 +00:00
0fc4b5eb22
switch to buildx with qemu for builds 2021-02-13 21:59:33 +00:00
a80e5c2aa9
purge manifest and recreate per build 2021-02-13 20:49:56 +00:00
060f0efc16
pull containers before manifest, run on different host 2021-02-13 14:05:04 +00:00
c3fb00a307
wrong go version container 2021-02-12 15:37:19 +00:00
988829a6db
dont build docker on go1.16 branch 2021-02-12 15:22:21 +00:00
76935a300a
dont build docker on go1.16 branch 2021-02-12 15:21:58 +00:00
ee37588959
drone image 2021-02-12 14:32:57 +00:00
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.
2021-02-12 14:32:48 +00:00
1af8d1f77d
fix url in account creation success page 2021-02-12 13:38:34 +00:00
2ee0ed55f6
forgot key agh 2021-02-12 00:35:20 +00:00
94981f4891
dont use drone manifest plugin 2021-02-11 23:52:05 +00:00
81fb0fc69f
fix triggers aarch64 = arm64 2021-02-11 22:25:00 +00:00
c3af0f4380
remove tag event from unstable build 2021-02-11 21:48:57 +00:00
3a9e4950d4
run docker amd64 builds on drone, attempt multiarch 2021-02-11 21:18:32 +00:00
06dada297b
up command_timeout for slow rpi builds 2021-02-11 18:47:24 +00:00
e1c3b312ff
split armhf and arm64, add stable build 2021-02-11 16:24:32 +00:00
e235ed9fda
fix key again 2021-02-11 16:14:39 +00:00
5cda12dd3b
separate into pipelines, add armhf 2021-02-11 16:11:07 +00:00
a9d48083fd
fix keyfile 2021-02-11 15:48:13 +00:00
e28c50401e
use key path 2021-02-11 15:37:02 +00:00
4a3b015a40
start adding automated arm builds 2021-02-11 15:29:33 +00:00
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.
2021-02-01 18:43:30 +00:00
0171fb8569
dont attempt to release PRs on buildrone 2021-01-08 23:52:36 +00:00
5fd2e81fe4
install requests dep for upload.py
sorry for commit spam.
2020-10-08 21:48:15 +01:00