Commit Graph

113 Commits

Author SHA1 Message Date
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
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
6425917e1c
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 ebd51c2
2021-07-28 14:39:10 +02:00
ebd51c2d54
ci/compose: add project name using a drone env var
All checks were successful
continuous-integration/drone/push Build is passing
ref: dotya.ml/docs#1
2021-07-24 15:46:23 +02:00
a72f41d56e
cbp: pin hadolint version
All checks were successful
continuous-integration/drone/push Build is passing
* atm to 2.0.0-alpine
2021-03-25 12:31:54 +01:00
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