Commit Graph

908 Commits

Author SHA1 Message Date
Valentin Brandl
fa2e06fccf
Add Service trait to remove code duplication 2019-04-29 20:37:53 +02:00
Valentin Brandl
a1c10938c5
Use Cow instead of String 2019-04-29 20:37:20 +02:00
Valentin Brandl
39f11c14f5
Fix css path 2019-04-26 15:48:29 +02:00
Valentin Brandl
cef7cf96d6
Use official image 2019-04-24 01:22:40 +02:00
Valentin Brandl
40511f3520
Push builder image 2019-04-24 00:53:27 +02:00
Valentin Brandl
cb273f2e5b
Merge branch 'feature/gitlab-ci' 2019-04-24 00:50:31 +02:00
Valentin Brandl
1c1d2d07f6
Cache builder stage 2019-04-24 00:28:54 +02:00
Valentin Brandl
0a79c1a5b5
Add future update 2019-04-24 00:26:23 +02:00
Valentin Brandl
19fc9ef182
Pull known images for caching 2019-04-24 00:05:44 +02:00
Valentin Brandl
17f310efd8
Fix typo 2019-04-24 00:00:04 +02:00
Valentin Brandl
36710b7522
Fix typo 2019-04-23 23:59:32 +02:00
Valentin Brandl
9725170327
Push tags 2019-04-23 23:58:31 +02:00
Valentin Brandl
69414da8b9
Add build stages 2019-04-23 23:33:34 +02:00
Valentin Brandl
4a090e739c
Build and deploy 2019-04-23 23:32:02 +02:00
Valentin Brandl
d0ae51ed0f
Use Docker socket binding 2019-04-23 23:22:22 +02:00
Valentin Brandl
a806513cfc
Update CI config 2019-04-23 23:18:19 +02:00
Valentin Brandl
aef98bc667
Add gitlab CI config 2019-04-23 23:13:46 +02:00
Valentin Brandl
be42090658
Merge branch 'feature/hostname' 2019-04-23 22:54:19 +02:00
Valentin Brandl
8d7f696dea
Make domain name configurable
The domain name can be set using the `--domain` or `-d` flags. It
defaults to `hitsofocode.com`.

Also the CLI options are now parsed inside a lazy_static context to be
available for the templates.
2019-04-23 22:50:51 +02:00
Valentin Brandl
b704d00531
Fail on error 2019-04-23 22:31:25 +02:00
Valentin Brandl
74ce296310
Update Docker build
Do not cache build dependencies
2019-04-23 22:09:37 +02:00
Valentin Brandl
3168b7e403
Copy build.rs in build container 2019-04-23 19:44:08 +02:00
Valentin Brandl
781cc9c8fc
Copy git directory and templates in build container 2019-04-23 18:21:42 +02:00
Valentin Brandl
33288efe82
Use templates and load version information 2019-04-23 18:21:03 +02:00
Valentin Brandl
3990ea0a12
Add templates 2019-04-23 18:19:54 +02:00
Valentin Brandl
07bcc3519e
Add ructe and vergen as build deps 2019-04-23 18:19:35 +02:00
Valentin Brandl
2db66ee850
Check if repos exist before cloning 2019-04-21 20:45:36 +02:00
Valentin Brandl
b12ba47be9
Implement client error 2019-04-21 20:44:47 +02:00
Valentin Brandl
a30c4b1ac5
Add reqwest and lazy_static crates 2019-04-21 20:44:29 +02:00
Valentin Brandl
51b3aa9b9e
Add custom error pages 2019-04-21 18:25:54 +02:00
Valentin Brandl
f832e10fac
Add custom error pages 2019-04-21 17:57:57 +02:00
Valentin Brandl
685b92a654
Remove coverage reporting 2019-04-21 14:03:04 +02:00
Valentin Brandl
3bacbdf222
Enable CI cache 2019-04-20 19:35:24 +02:00
Valentin Brandl
31d592f72c
Merge branch 'feature/ci'
This is part of #10
2019-04-20 19:31:09 +02:00
Valentin Brandl
46cb573d40
Configure email notifications 2019-04-20 19:29:44 +02:00
Valentin Brandl
a5b5d500f8
Add CI config 2019-04-20 18:05:55 +02:00
Valentin Brandl
2e069bd6c3
Add CI config 2019-04-20 18:05:04 +02:00
Valentin Brandl
23b841913b
Remove unused error variant 2019-04-20 15:02:38 +02:00
Valentin Brandl
d890288640
Remove color feature 2019-04-20 15:01:11 +02:00
Valentin Brandl
a06e0e3fae
Fix HTML 2019-04-20 14:54:57 +02:00
Valentin Brandl
84e76b3986
Fix metadata 2019-04-20 14:49:14 +02:00
Valentin Brandl
5c088dc19f
Update HTML metadata 2019-04-20 12:44:53 +02:00
Valentin Brandl
14d6d3916d
Update HTML metadata 2019-04-20 12:43:51 +02:00
Valentin Brandl
2553384e7c
Fix Markdown example 2019-04-20 12:38:57 +02:00
Valentin Brandl
439d5c0cb1
Update index layout 2019-04-20 12:33:09 +02:00
Valentin Brandl
1ec8a76e9c
Persist cache 2019-04-20 00:22:19 +02:00
Valentin Brandl
906511f7fa
Merge branch 'feature/caching'
Closes #4
2019-04-19 22:57:39 +02:00
Valentin Brandl
9129d6d171
Document the caching mechanism 2019-04-19 22:57:32 +02:00
Valentin Brandl
9284bceda6
Implement caching 2019-04-19 22:51:58 +02:00
Valentin Brandl
0deec63c2f
Ignore default cache directory 2019-04-19 22:12:57 +02:00