Commit Graph

19 Commits

Author SHA1 Message Date
surtur 131e84bd17
ci,dockerfile: bump to go1.21
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-13 16:03:13 +02:00
surtur 9c6215d9a1
chore: bump hugo to v0.115.3
All checks were successful
continuous-integration/drone/push Build is passing
the hugo bump required updating some configuration fields, those are
thus part of this change set
2023-07-20 16:21:41 +02:00
surtur 3dbafe08e7
ci,dockerfile,gomod: bump base to go1.20
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 22:39:12 +02:00
surtur 419686eb0c
chore(dockerfile): bump docker preamble
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 22:27:48 +02:00
leo 759d7a1ccb
dockerfile: bump go base img to :1.18.9-alpine3.17
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-16 17:19:35 +01:00
surtur b720c1224b
chore(ci,dockerfile): bump hugo to v0.105.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-28 23:32:35 +02:00
surtur 5c258c0b8b
chore(ci,dockerfile): bump hugo to v0.104.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-28 16:02:48 +02:00
surtur b023e6bcba
chore(ci,dockerfile): bump hugo to v0.103.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-17 13:18:43 +02:00
surtur c88a02c101
chore: bump hugo to v0.102.2
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-01 01:42:11 +02:00
surtur 8afe3e0524
chore: bump hugo to v0.102.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-01 01:19:15 +02:00
surtur 6e1039893d
ci,dockerfile: switch to immawanderer/alpine-hugo
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-31 21:46:29 +02:00
surtur 9ae12826a8
dockerfile: migrate to docker frontend v1.3
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-08 16:47:39 +02:00
wanderer cfe496dcb7
embed homepage in a Go app (#33)
Some checks failed
continuous-integration/drone/push Build is failing
the entire './public' folder that Hugo produces is embedded into a
variable of 'embed.FS' type and served directly using the default http
mux that Go std offers.

ci, pre-commit, Dockerfile and compose file have all been updated
accordingly.

nginx is no longer needed to front the site files, which enabled
switching to a SCRATCH image containing just a single statically linked
"homepage" app that has all files (html, css, js) embedded.
the containers are otherwise empty (as the name SCRATCH suggests), which
further decreases potential attack surface area.

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #33
2022-08-08 15:20:50 +02:00
surtur 30be2871f2
nginx: redirect 404 to /404.html
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-05 16:27:51 +02:00
surtur 7222724254
fix: pin fedora-hugo to tag linux-amd64
All checks were successful
continuous-integration/drone/push Build is passing
...which is in fact "rolling" but not called "latest" so hadolint
remains happy
2022-03-20 19:02:50 +01:00
wanderer 8a1821c416
Add info about DNSCrypt resolver (#29)
All checks were successful
continuous-integration/drone/push Build is passing
update hadolint to v2.6.0-alpine and add an IGNORE to Dockerfile to make
sure the linter is up to date and all errors are resolved, resulting ina passing build.
the ignore is added as the issue is not too big of a deal (at least not
ATM).

* 55d9852 - fix: make hadolint pass <surtur>
* 8f2e192 - about, posts: add dnscrypt <surtur>

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #29
Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml>
Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml>
2021-08-08 00:36:37 +02:00
wanderer d6510fbd9b
chore: define a FROM alias (#26)
All checks were successful
continuous-integration/drone/push Build is passing
while the existing setup works, we're following best practices of aliasing a FROM layer 

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #26
Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml>
Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml>
2021-01-24 16:15:28 +01:00
surtur eab16418c8
feat: switch to alpine base+edit nginx.conf w/sed
All checks were successful
continuous-integration/drone/push Build is passing
* use epoll
* etag off
* server_tokens off
* tcp_{nopush,nodelay} on
* s/spaces/tabs/
2020-11-25 15:39:35 +01:00
wanderer 41099802c2
docker-compose deployment (#18)
All checks were successful
continuous-integration/drone/push Build is passing
refactor: .drone.yml + don't run on {push,PR}

add: docker-compose-build pipeline

* general refactoring of .drone.yml

fix: incorrect dependency

* add: don't run img pull on PR

refactor: update .drone.yml logic

chore: adding docker-compose.yml

* it's in fact going to be docker-compose deployment

add: Dockerfile + update baseUrl

* also enhance footer partial that cries when a ref goes missing (such
  as when a branch is merged)

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #18
Co-Authored-By: wanderer <wanderer@noreply.git.dotya.ml>
Co-Committed-By: wanderer <wanderer@noreply.git.dotya.ml>
2020-10-03 21:00:19 +02:00