Harvey Tindall
46566fb98c
fixup drone.yml once more for docker
11 months ago
Harvey Tindall
010b95a2f6
fixup drone.yml for release
11 months ago
Harvey Tindall
7223981280
done: use sshkey from secret, not file
...
update to appleboy/drone-ssh requires special ownership of the ssh key
file, which I can't be bothered with, so we'll source it from a secret
instead. Probably better anyway, that's how the other key was already.
11 months ago
Harvey Tindall
c0c91b4aad
drone: source buildrone key from drone in docker build
11 months ago
Harvey Tindall
f72960635d
build: include debug symbols & sourcemaps in unstable builds
...
should help with debugging.
1 year ago
Harvey Tindall
e7d4b5051b
build: cleanup reprepro incoming after processing
1 year ago
Harvey Tindall
b7b3aa1eb7
build: fix goreleaser, include optional builder name
...
builder name shows up in about section again, as does the build time.
1 year ago
Harvey Tindall
fec9776def
build: fix up goreleaser
...
removed deprecated options, fixed to work with new user page.
1 year ago
Harvey Tindall
4fcba32f74
apidocs: re-version, set up for hosted ui
...
swagger.json is uploaded after each build, and is hosted at
api.jfa-go.com.
3 years ago
Harvey Tindall
1336a87ae2
drone: use custom container for pr builds
3 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
a9cabe3d74
apt: also remove jfa-go-tray
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
0b473ef01f
don't put .debs on buildrone; link to instructions at top of README
4 years ago
Harvey Tindall
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).
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
5167fde080
change tar.gz to zip in drone
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
aaea889e47
use apt-get in drone.yml
4 years ago
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