Commit Graph

333 Commits

Author SHA1 Message Date
c9553bf7e5
ci: add 'VCS_REF' build arg during compose build
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-08 16:51:03 +02:00
35b2cd330c
readme: add pre-commit badge [skip ci] 2022-08-08 16:50:31 +02:00
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
5df1659c6f
pre-commit: add hadonlint-container hook [skip ci] 2022-08-08 16:46:52 +02:00
a894b9eff5
ci: bump hadolint to v2.10.0-alpine
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-08 16:35:20 +02:00
e314f788e7
content(about): add mention of cryptcheck.fr scans
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-08 16:28:11 +02:00
c3a29bef55
fix: {ci race condition,traefik}
All checks were successful
continuous-integration/drone/push Build is passing
as a result of #33:
* traefik proxy according to compose was pointing nowhere
* traefik was attempting to redirect as it used to when the site was
  behind nginx, which is unneccessary now, the go app can properly
  handle paths such as '/tags/'.
2022-08-08 15:27:27 +02:00
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
d0c61e4847
add yamllint [skip ci] 2022-08-02 15:13:39 +02:00
20c220ffee
compose: add memory limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-02 15:08:18 +02:00
20665dc119
chore: fix compose's yaml [skip ci] 2022-08-02 15:07:02 +02:00
0a3136a291
bump traefik to 2.8.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 17:40:05 +02:00
ffd7a943f4
fix .pre-commit-config.yaml [skip ci] 2022-07-02 17:20:01 +02:00
a8ac5aa872
pre-commit: check compose file
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 17:18:27 +02:00
c99432ea52
bump traefik to 2.8.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 17:07:45 +02:00
ee7acd7c1b
bump traefik to 2.7.3
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 17:06:27 +02:00
2c4b9a8546
bump traefik to 2.7.2
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 17:05:52 +02:00
c6a7db63d7
pin traefik to 2.7.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 17:03:19 +02:00
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
1432f7e50d
use relref shortcode for site-local links
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 17:59:37 +02:00
bb5d6b632e
only solve for rss as alternative output format
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 17:45:06 +02:00
0b8d7d92ae
fix 8fe0e155d3: bump traefik to version 2.7
All checks were successful
continuous-integration/drone/push Build is passing
the :2.6.3 tag is apparently only available for arm arch, it's probably
best not to base the decision to bump versions on a new release
notification. instead, availability of the new version for our default
arch (amd64) should always be checked:
    podman run -it --rm docker.io/library/traefik:2.6.3
    Trying to pull docker.io/library/traefik:2.6.3...
    Error: choosing an image from manifest list docker://traefik:2.6.3: no image found in manifest list for architecture amd64, variant "", OS linux

    ~ took 2s
    (╯°□°)╯︵ ┻━┻ 125 🔥  podman run -it --rm docker.io/library/traefik:2.7
    Trying to pull docker.io/library/traefik:2.7...
    Getting image source signatures
    Copying blob 491249faa733 done
2022-03-30 17:26:02 +02:00
8fe0e155d3
chore: bump traefik to version 2.6.3
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-30 13:45:28 +02:00
aaccd2356b
update theme colours
All checks were successful
continuous-integration/drone/push Build is passing
commit bc6140098f698dbdf9f40b17e68a93d866eb93b5
Author: surtur <a_mirre@utb.cz>
Date:   Tue Mar 29 18:32:39 2022 +0200

    add commentary to colour codes

    since we're keeping the original names of colour variables from the
    theme, it's a good idea to at least have the usage of them (somewhat)
    documented.

commit 927909be604187b8e178ce009d88ac6b26c0b3c5
Author: surtur <a_mirre@utb.cz>
Date:   Tue Mar 29 18:24:43 2022 +0200

    increase pre border-radius to 5px

commit 62f0d1654028beb625453ad19b0138574e999861
Author: surtur <a_mirre@utb.cz>
Date:   Tue Mar 29 18:18:02 2022 +0200

    change theme colours
2022-03-29 18:37:04 +02:00
5ca65d3410
set .post-info.a:hover border-bottom size to 2px
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-29 18:07:32 +02:00
c6e71ec9e9
hover transition duration: speed-up to .1s
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-29 18:03:13 +02:00
d0899c6c81
chore: bump traefik to version 2.6.2
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-25 14:45:38 +01:00
b67aaf5aa3
ci: use upstream alpine image for stagin runs
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-20 22:04:56 +01:00
34bf219bde
ci: :latest -> :linux-amd64
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-20 20:33:55 +01:00
a0e38dd2ef
ci: perform hadolint check in deploy pipeline
All checks were successful
continuous-integration/drone/push Build is passing
...a failsafe of sorts
2022-03-20 20:18:45 +01:00
66528553a3
fix: correctly indent and init yaml documents
All checks were successful
continuous-integration/drone/push Build is passing
still some lines are over 80 characters, that needs fixing, too
2022-03-20 20:15:28 +01:00
09a8c3fb60
chore: bump hadolint to v2.9.1-alpine
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-20 19:05:00 +01:00
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
363f26fe3e
chore: bump traefik to version 2.6.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-20 18:51:49 +01:00
990832b664
chore: bump traefik to version 2.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-14 16:45:41 +01:00
b0a6084bd6
chore: bump traefik to version 2.5.7
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 16:35:43 +01:00
fa4c50301c
fix: inaccessible tags
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-17 10:54:08 +01:00
554fbb6afd
chore: bump traefik to version 2.5.6
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-28 23:33:51 +01:00
fbc4c7115d
chore: bump traefik to version 2.5.5
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-14 22:41:18 +01:00
ac4ddd5c18
chore: explicitly specify desired taxonomies
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-22 17:52:39 +01:00
e01813e8d4
chore: bump traefik to version 2.5.4
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-09 00:13:14 +01:00
564d834865
pre-commit: add yaml check [skip ci] 2021-09-22 08:37:42 +02:00
2b74d3d58e
chore: bump traefik to version 2.5.3
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-22 08:29:37 +02:00
8d3959c30f
chore: bump traefik to version 2.5.2
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-04 23:50:03 +02:00
a6961ff0c3
template: add RSS link to head of each page
All checks were successful
continuous-integration/drone/push Build is passing
using the below would also add any other alternative formats.
since we don't use any other alt formats, it will only output the link
to RSS feed for each page.
{{ range .AlternativeOutputFormats -}}
    {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}

ref: https://gohugo.io/templates/rss/#reference-your-rss-feed-in-head
2021-08-23 15:16:34 +02:00
d23e961b70
chore: bump traefik to version 2.5.1
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-22 12:31:35 +02:00
666bb63477
add pre-commit config
All checks were successful
continuous-integration/drone/push Build is passing
it's sane to have some pre-flight checks, pre-commit makes it easy.
ref: https://pre-commit.com/
2021-08-21 21:01:05 +02:00
06da04bb5c
fix: git url is supposed to only miss commit hash (#31)
All checks were successful
continuous-integration/drone/push Build is passing
to correctly point to a commit path, a '/src/commit/' chunk had to be
added to the previously used URL, which simply pointed to the root of
the repository. that resulted in a garbled URL and a non-existent path as far as Gitea was concerned.
this PR fixes that.

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #31
Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml>
Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml>
2021-08-08 11:15:25 +02:00
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
6fcef0ce11
chore: bump traefik to version 2.5.0-rc5
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-04 03:08:30 +02:00