39 Commits

Author SHA1 Message Date
Jonathan Ingram 7d3f204a12 docd/appengine: use 2 instances (#158) 2023-11-20 14:50:51 +11:00
Jonathan Ingram 87d9a67795 docd/appengine: double memory (#157) 2023-11-20 14:41:36 +11:00
Jonathan Ingram 08652136d5 docd: don't panic on broken pipe errors (#155)
Example log entry that is panicking:

> could not write to response (failed after 3965 bytes): write tcp 172.17.0.5:8080->172.17.0.4:61528: write: broken pipe
2023-11-20 13:42:55 +11:00
Jonathan Ingram 93312f47fc v2: initial commit (#153)
- Some methods have been changed to return an error as their last
  argument
- Log calls inside various functions have been removed
- Use a v1 tag if you need the previous signature
2023-10-31 11:32:40 +11:00
Jonathan Ingram 07e99022fc docd/appengine: bump to 1.3.8 (#150) 2023-10-31 09:17:52 +11:00
Jonathan Ingram bad757077a docd: add slog and JSON logging (#149) 2023-10-30 16:53:28 +11:00
Jonathan Ingram 1937742d41 docd/appengine: bump to 1.3.7 (#146) 2023-09-13 15:32:45 +10:00
Jonathan Ingram 48caff118f docd: bump to Go 1.21 and debian:12 (#145)
Also show Go version in startup logs.
2023-09-13 15:09:12 +10:00
dependabot[bot] e0a721066a increase min Go version to 1.19 and bump golang.org/x/net@0.7.0 (#135) 2023-03-06 12:21:23 +11:00
Jonathan Ingram ab693bd29c docd/appengine: use 1.3.5 release (#131)
Contains the ca-certificates so error reporting can contact its API.
2022-09-21 09:57:00 +10:00
Jonathan Ingram 6d3950a43a docd: install ca-certificates (#130) 2022-09-21 09:39:40 +10:00
Jonathan Ingram 1875c84a23 docd/appengine: enable error reporting and bump version (#129) 2022-09-21 09:39:17 +10:00
Jonathan Ingram 106aaadb76 docd: fallback to AppEngine env vars when flags not provided (#128) 2022-09-20 17:44:59 +10:00
Jonathan Ingram f48142557c docd: return JSON errors when things fail (#127) 2022-09-20 17:36:18 +10:00
Jonathan Ingram c6fca3224d docd/appengine: use 1.3.2 release (#126) 2022-09-20 16:59:09 +10:00
Jonathan Ingram f7c0a24696 docd: fix binary paths (#125) 2022-09-20 15:49:57 +10:00
Jonathan Ingram e0eaf8afca docd: fix Dockerfile after change to Go 1.19 (#124) 2022-09-20 15:26:29 +10:00
Jonathan Ingram 6d8c9df3fc docd: add recovery middleware and allow reporting errors to GCP (#121) 2022-09-20 14:18:37 +10:00
Jonathan Ingram e52737e9fc docd: use Go 1.19 to build base image (#123) 2022-09-20 14:18:24 +10:00
Jonathan Ingram 3bb63564e6 docd/appengine: use 1.2.1 release (#120) 2022-09-20 12:59:03 +10:00
Jonathan Sokolowski c37a0df82a docd/appengine: use 1.2.0 release 2021-08-20 10:34:49 +10:00
Jonathan Sokolowski 88cb39368e docd: refactor Dockerfile and publish to DockerHub (#101)
* Use multi-stage build to compile docd
* Bring debian variant up to date
* Deprecate the alpine variant
* Add GitHub action to publish an official image to DockerHub
* Use published image as the AppEngine custom runtime
2021-08-18 19:16:30 +10:00
jus c691ef7650 Updated dependency for poppler and removed bash arg check (#100) 2021-08-18 14:12:43 +10:00
Jonathan Ingram bbb3aa9625 docd: remove unused convertPath function 2021-04-09 20:37:33 +10:00
Hamish f04c8759ea docd: appengine build fix 2020-06-12 11:32:40 -07:00
David Howden eedabc494f docd: return error messages in the response 2018-02-07 16:45:20 +11:00
Benjamin Hinchley b2673e6415 build: tag build alpine docker container
with either a passed through tag or the current commit
2018-02-07 14:05:06 +11:00
Benjamin Hinchley 99ebc37d51 docker: clean up install.sh 2018-02-07 14:05:06 +11:00
Benjamin Hinchley 53e48e48ef docker: pin alpine version and pkg versions 2018-02-07 14:05:06 +11:00
Hamish 50796b5fb7 appengine custom runtime 2018-02-06 15:06:10 +11:00
David Howden cc5d07e999 moved pkg to code.sajari.com/docconv 2017-12-27 18:26:17 +11:00
Martin Hendleman 725f4c1e24 cleanup 2017-12-01 15:23:46 +11:00
Martin Hendleman 84ca013daa iterates on code review 2017-12-01 15:23:46 +11:00
David Howden 3dad0cb02c fix golint issues
Documentation still needs a lot of work.
2017-06-26 12:16:32 +10:00
Hamish 9b5bcd9f08 fixes to pass review 2017-04-12 20:06:24 +10:00
Hamish 77540e74a0 Added debian docker build script 2017-04-12 14:05:13 +10:00
Hamish 715a0a29b0 Add alpine docker build with locked dependencies
Reduces the container size to <40MB and locks versions for consistency

Note: the install.sh allows everything to be done in one Docker RUN
command, otherwise the image is an order of magnitude larger
2017-04-12 14:04:49 +10:00
Hamish 55c98b00fd Remove incorrect comments from Dockerfile 2017-02-20 14:55:08 +11:00
Hamish 0f690876f5 Add Dockerfile 2016-09-19 09:23:22 +10:00