Commit Graph

104 Commits

Author SHA1 Message Date
b58f935123
ci: enable building with BuildKit for Compose
All checks were successful
continuous-integration/drone/push Build is passing
ref: https://www.docker.com/blog/faster-builds-in-compose-thanks-to-buildkit-support/
2021-03-09 10:17:14 +01:00
6b52682f57
ci: split build into build+deploy steps
All checks were successful
continuous-integration/drone/push Build is passing
* build with --no-cache of course
2021-03-09 10:01:23 +01:00
e10bbd74f8
chore: add Hadolint Dockerfile linting (#27)
All checks were successful
continuous-integration/drone/push Build is passing
as per #22
fixes #22

* update PR pipeline in .drone.yml
* add .hadolint.yaml

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #27
Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml>
Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml>
2021-02-16 16:11:24 +01:00
83d300260c
feat: route deploy pipeline to main runner
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-15 16:43:29 +02:00
8deb3583d4
fix: test builds on PRs failing to run
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-09 23:08:15 +02:00
4801a792b6
chore: add --remove-orphans to the build command
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-05 08:39:03 +02:00
2efd79e1e4
fix: docker-compose build issue (#20)
All checks were successful
continuous-integration/drone/push Build is passing
chore: add scaling param to the .drone.yml

fix: issue when dc build fails due to scale

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #20
Co-Authored-By: wanderer <wanderer@noreply.git.dotya.ml>
Co-Committed-By: wanderer <wanderer@noreply.git.dotya.ml>
2020-10-04 16:29:51 +02:00
384177911c
fix: syntax error in 0247a03 cron watch
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-03 22:44:03 +02:00
0247a036a9
chore: add watch for nightly cron to .drone.yml 2020-10-03 22:41:21 +02:00
50ea242c33
docker-compose hotfix (#19)
All checks were successful
continuous-integration/drone/push Build is passing
fix: no need to stop the container before build 🚀

* this is handled for us by docker on container re-creation

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #19
Co-Authored-By: wanderer <wanderer@noreply.git.dotya.ml>
Co-Committed-By: wanderer <wanderer@noreply.git.dotya.ml>
2020-10-03 21:25:52 +02:00
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
112e77ce67
chore: add branch constraints for deploy pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-03 16:00:49 +02:00
f5353973c2
general .drone.yml clean-up (#16)
All checks were successful
continuous-integration/drone/push Build is passing
refactor: positive rather than negative selection

* i.e. includes as opposed to excludes

chore: separate build and deploy pipeline

* this allows for more granular run conditions and constraints

refactor: remove redundant status==success assertion

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #16
Reviewed-by: dalahast <dalahast@noreply.git.dotya.ml>
Co-Authored-By: wanderer <wanderer@noreply.git.dotya.ml>
Co-Committed-By: wanderer <wanderer@noreply.git.dotya.ml>
2020-09-25 20:57:33 +02:00
cd791c4298
Adding status badges + limiting step execution (#6)
All checks were successful
continuous-integration/drone/push Build is passing
chore: notifications don't need to run on PR let's say

fix: fine-tuning the limits

chore: also run notification pipeline on any branch

fix: further limit pipeline execution

fix: limit deploy step execution for master

* run notifications on PR and any branch

chore: add utilization status badges + style

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #6
2020-09-01 06:36:53 +02:00
a546004c7b
chore: updated the pull pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-13 16:34:10 +02:00
165cea6f38
chore: give 'pull' its own pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-13 16:30:09 +02:00
694f580997
feat: pull image in a separate step
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-13 15:52:30 +02:00
643926ab5e
refactor: sshpass is now part of the image
All checks were successful
continuous-integration/drone/push Build is passing
* and also a redundant whitespace removed
2020-07-09 12:51:43 +02:00
0f112e9522
refactor: no need for verbosity now
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-09 11:37:24 +02:00
114804c437
refactor: ${DRONE_FAILED_STEPS} yields nothing as of now, removing 2020-07-09 11:36:41 +02:00
b65061cbbe
fix: was chown instead of --chown
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-09 11:33:34 +02:00
61b6750403
fix: now sshpass really saves the day
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 11:32:24 +02:00
8ffe8ccc4a
fix: sshpass saves us all now
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 11:11:46 +02:00
d591bea903
fix: use rsync password file or die
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 11:02:35 +02:00
7be4704325
fix: use rsync passwd
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 10:58:17 +02:00
ee75e2f5be
fix: verbosity is everything
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 10:37:38 +02:00
8a92087950
fix: printf is gonna save us all
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 10:29:26 +02:00
a6ee7838e4
fix: no additional newlines plz
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 10:12:41 +02:00
19d2f1f7db
fix: add the pubkey
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 09:58:23 +02:00
cfcc02b96b
fix: no passwd, just the kee
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 09:55:10 +02:00
a5675c9024
feat: more granularity in failure reporting
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 09:46:43 +02:00
9772a9ddea
fix: 'Host key verification failed' issue introduced in a9c1c635e7 2020-07-09 09:44:30 +02:00
a9c1c635e7
feat: updated the deploy pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-09 09:38:50 +02:00
a318554a91
feat: bumped hugo version to 0.73.0
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-23 21:49:44 +02:00
7b62ae9f57
feat: updated message template format
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-10 15:15:42 +02:00
d4a5368a4e
feat: changed the container image used in CI to fedora-hugo
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-07 15:44:57 +02:00
26fe940242
feat: no need to clone for deploy pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-03 13:04:51 +02:00
4029290dfb
feat: bumped hugo version to 0.72.0
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-01 00:35:28 +02:00
57a2aaec5e
feat: explicitly use ipv4 in the build environment
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-31 03:34:58 +02:00
5aef7575a0
refactor: we don't do 'release/*' ... 2020-05-31 03:15:58 +02:00
7d00850095
feat: bumped hugo version to 0.71.1
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-25 16:13:57 +02:00
14465121ca
bumped hugo version to 0.71.0
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-18 18:37:43 +02:00
aa5af99643
hugo update + license in footer + fix broken RSS
All checks were successful
continuous-integration/drone/push Build is passing
* hugo v0.70.0 used
* link to the license is in the footer now
* RSS works as expected (was not before) due to semi-custom the site structure
* also fixed some whitespace inconsistencies in config.toml
2020-05-06 14:48:50 +02:00
0ed38d2481
bumped hugo version to 0.69.2
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-24 12:36:43 +02:00
50061bd895
bumped hugo version to 0.69.1
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-22 12:11:10 +02:00
8ef33f4330
pull latest image on cron only [skip ci] 2020-04-22 11:57:51 +02:00
ffdb95b0a1
added cron deploy pipeline + a couple of edits
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-22 11:41:28 +02:00
a4bf0e6c04
.drone.yml and config.toml updates
All checks were successful
continuous-integration/drone/push Build is passing
* renamed test-build pipeline to build
* removed redundant echo from the deploy pipeline
* link to gitea on the homepage now points to the org site
* updated wording of an alt text
2020-04-10 16:56:36 +02:00
96af928552
bumped hugo version to 0.69.0
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-10 16:31:20 +02:00
05b47afad8
bumped hugo version to v0.68.3
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-25 17:30:16 +01:00