Commit Graph

41 Commits

Author SHA1 Message Date
surtur 57f0b3645c
pre-commit-config: update hugo check [skip ci] 2023-07-29 17:04:47 +02:00
surtur 5d11a7fa46
chore: bump hugo to v0.115.3
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-29 16:58:27 +02:00
surtur 2dc74594e0
chore: update link to post
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-29 16:53:00 +02:00
leo 8caa8f6edf
ci: adapt to changed socket location
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-31 01:29:09 +01:00
surtur f257b54c79
add .dockerignore
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-28 17:13:19 +02:00
surtur 3b82321d56
gitignore: ignore lock files
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-28 17:12:28 +02:00
surtur 21838af647
chore(ci,dockerfile): bump hugo to v0.104.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-28 17:11:04 +02:00
surtur b748d5ff36
fix: use generic link symbol
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-28 17:08:10 +02:00
surtur dd75ae2def
add .pre-commit-config.yaml,.yamllint
All checks were successful
continuous-integration/drone/push Build is passing
* also add readme badge for pre-commit
2022-09-28 16:58:01 +02:00
surtur 2e976b7f6b
readme: add link to repo to title [skip ci] 2022-09-24 21:22:23 +03:00
surtur 95135c06f9
ci: start signing .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-24 21:19:09 +03:00
surtur 385e760319
ci,dockerfile: use full namespace image ident.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-24 21:15:03 +03:00
surtur 373df9f4da
dockerfile: optimise RUN,WORKDIR,COPY instructions
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-24 21:08:27 +03:00
surtur f3136006d9
dockerfile: switch to immawanderer/alpine-hugo
All checks were successful
continuous-integration/drone/push Build is passing
follow-up of 553c577
2022-09-24 21:04:58 +03:00
surtur 553c5777f4
ci: switch to immawanderer/alpine-hugo image
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-17 12:50:28 +02:00
surtur 43a8adaa8e
add memory limit
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-02 15:14:51 +02:00
surtur 12e766e47e
add crosslink to 'tmate-enabled drone runners'
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 17:56:23 +02:00
surtur 970eb847f0
grammar fix
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 15:42:23 +02:00
surtur a36defdb53
run dignostic steps on failure
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 20:07:57 +01:00
surtur cbff79684d
add 'external link' icons for clarity
All checks were successful
continuous-integration/drone/push Build is passing
it was not entirely obvious these were external links and not wiki
pages, hence the icon
2022-03-22 18:22:01 +01:00
surtur 84c5353208
ci: update submodules in a separate step
All checks were successful
continuous-integration/drone/push Build is passing
also, tweak step dependency graph a little
2022-03-22 17:31:39 +01:00
surtur 96d9de7e7f
ci: pull directly in each (relevant) pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 17:07:50 +01:00
surtur 0035e4feea
ci(fedora-hugo): :latest -> :linux-amd64
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 16:33:09 +01:00
surtur 1922f2a959
reword: Docs -> documentation
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 16:26:36 +01:00
surtur a5a0af6c21
ci: fix yaml formatting
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 16:16:33 +01:00
surtur cdc72d6737
add links to the list of services
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 16:14:18 +01:00
surtur b030490a9a
reword
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 16:11:44 +01:00
surtur a44053b0a1
add "tmate-enabled Drone runners" article
All checks were successful
continuous-integration/drone/push Build is passing
fixes dotya.ml/community#37
2022-03-22 16:08:34 +01:00
surtur 587b85f36b
fix yaml formatting
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 14:39:45 +01:00
surtur ed443c7875
chore: bump submodule revision
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-20 18:56:34 +01:00
surtur bf7f5fc8a4
chore: update hugo-book submodule to a656d711bf
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-02 11:42:44 +02:00
surtur b4ab35a203
add DNSCrypt to the list of services
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-07 13:02:30 +02:00
surtur 54dab7d1da
compose: disable the container for (any) traefik
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-04 03:26:50 +02:00
surtur a1332b1df3
compose: don't use docker socket mount
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-04 03:22:50 +02:00
surtur a10f717a30
fix(ci): specify the project before the up command
All checks were successful
continuous-integration/drone/push Build is passing
* compose ignores the project value if specified later
* issue introduced in 9ec93b4
2021-07-28 14:40:39 +02:00
surtur 9ec93b4352
ci/compose: add project name using a drone env var
All checks were successful
continuous-integration/drone/push Build is passing
there was an issue where https://git.dotya.ml/dotya.ml/homepage
containers were getting orphaned when this project was deployed.

messages like the following were printed:
Removing orphan container "src_homepage_2"
Removing orphan container "src_homepage_4"
Removing orphan container "src_reverse-proxy_1"
Removing orphan container "src_homepage_3"
Removing orphan container "src_homepage_1"

The author of the accepted answer of a related SO thread links to
docker-compose documentation, explaining how setting a project variable
should resolve this.

the COMPOSE_PROJECT_NAME environment variable is likely the same for
both projects in question here (homepage and docs) as they're both being
deployed by drone from the /drone/src directory, which is also set by
drone as the WORKDIR). basename - here src - is used as the project name
if not specified otherwise.

to conclude, running both [compose deployments] with a unique project
name should fix the issue.

refs:
https://stackoverflow.com/a/59173539
https://docs.docker.com/compose/reference/overview/#use--p-to-specify-a-project-name
https://docs.docker.com/compose/reference/envvars/#compose_project_name

fix #1
2021-07-24 15:36:21 +02:00
surtur 4bc2650892
ci: add a deploy step using docker-compose
All checks were successful
continuous-integration/drone/push Build is passing
docs image is built JIT from Dockerfile.
the logic for the compose file is based on the one used in
https://git.dotya.ml/dotya.ml/homepage yet the traefik part was not
used.
2021-07-24 15:17:32 +02:00
surtur c0c05e1aee
change baseurl to / to support reverse proxies
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-24 14:41:40 +02:00
surtur d30188d872
README.md: add build status badge
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2021-03-15 11:47:57 +01:00
surtur 7acb7c05b2
ci: add .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-15 11:42:49 +01:00
surtur 5bf94983c5
initial commit 2021-03-15 11:42:43 +01:00