affe3166db
Merge branch 'gitlab-ci' into 'master'
...
Implement CI/CD
This CI/CD has four steps:
- Authenticate to private Docker registry
- Build the Docker image based on the Dockerfile
- Push the Docker image to the Docker registry
- Publish the changes to the Kubernetes cluster
See merge request daniel/personal-website!1
2021-09-03 22:00:26 +00:00
b280f1ec52
Only allow deploy on master branch
2021-09-03 21:50:40 +00:00
fe38f88e73
Replace container image dynamically using kustomization.yaml
2021-09-03 23:40:13 +02:00
3f270e0f88
Create docker directory before copying file. Add needs to jobs
2021-09-03 21:24:17 +00:00
aee3e59388
Give up and move to project directory and copy back
2021-09-03 21:18:29 +00:00
87f58b9722
Add some debugging information
2021-09-03 21:15:52 +00:00
ace2beebb8
Hard-code entire absolute artifact path
2021-09-03 21:13:43 +00:00
3680425586
Hard-code absolute artifact path
2021-09-03 21:12:09 +00:00
5d31f3e32e
Artifact is not being detected, attempt a fix
2021-09-03 21:11:04 +00:00
4b86de69da
Refactor out authentication job from build job
2021-09-03 21:03:02 +00:00
8ee09be3d0
Persist docker-login artifact throughout pipeline process
2021-09-03 20:54:01 +00:00
e312581b1b
Fix docker login password not being a variable
2021-09-03 20:45:37 +00:00
43d32c5105
Fix docker login syntax
2021-09-03 20:41:53 +00:00
05d507d175
Fix artifacts yaml error
2021-09-03 20:40:45 +00:00
fd795a733d
Update .gitlab-ci.yml
2021-09-03 20:39:14 +00:00
bda4e04fee
Create a Gitlab CI procedure
2021-09-03 20:38:42 +00:00
f4f1b111fc
Implement publish endpoint
2021-09-03 22:02:50 +02:00
f7e4a5051e
Setup admin pages for editing and creating blog articles
2021-09-03 21:51:13 +02:00
16786bac64
Implement Laravel's production optimizations
2021-09-03 17:25:00 +02:00
f520b8a0d0
Fix issue with empty strings being interpreted as null
2021-09-03 13:25:47 +02:00
b3f37bab5c
Add default value to blog_articles.published column
2021-09-03 13:25:06 +02:00
a84d34138a
Enable source maps in development mode
2021-09-03 12:40:23 +02:00
2246100d5d
Add deployment process to repo
2021-09-03 11:41:02 +02:00
4018137d6e
Force production to use SSL
2021-09-03 01:41:57 +02:00
1bff9c9ba0
Add a build script
2021-09-02 23:48:19 +02:00
4f5f99ccf2
Remove expired auth tokens
2021-09-02 23:36:10 +02:00
d9a418c604
Add a Dockerfile for deployments
2021-09-02 23:35:10 +02:00
f17660715a
Create basic markdown editor
2021-09-02 19:50:08 +02:00
54edd4b517
Implement debounce function
2021-09-02 19:49:57 +02:00
c8baff0f48
Open links in footer in new tab
2021-09-02 18:19:33 +02:00
af3fed8a1a
Add source code URL to footer
2021-09-02 18:19:18 +02:00
37453af171
Install showdownjs
2021-09-02 18:18:21 +02:00
6de73a9023
Fix the show route
2021-09-02 18:18:13 +02:00
ff765e9569
Update styling on non-home header
2021-09-02 15:29:49 +02:00
d117a8dd0a
Move page-footer to App component
2021-09-02 15:27:59 +02:00
f5c839f1f9
Add itemsPerPage selector to pagination
2021-09-02 15:24:06 +02:00
c3526af06c
Hide see all button on blog page
2021-09-02 15:07:29 +02:00
1ded5a4bb2
Implement pagination properly
2021-09-02 15:05:30 +02:00
a0fcb669bd
Fix recent blog posts indenting
2021-09-02 15:05:05 +02:00
912c9f63a7
Reload the page on status change
2021-09-02 14:48:52 +02:00
c17c7b7a82
Refactor page-header to App component
2021-09-02 14:44:58 +02:00
0716c80a54
Add rudimentary pagination
2021-09-02 14:33:38 +02:00
9716b989ab
Fix relative date in BlogArticle factory
2021-09-02 14:32:50 +02:00
e23bf8c0f7
Add blog overview initial page
2021-09-02 13:57:18 +02:00
6311969b45
Add admin nav if authenticated
2021-09-02 13:51:35 +02:00
4e90e93517
Add small header bar for non-home page
2021-09-02 13:50:47 +02:00
5c98a21e1c
Add dedicated admin app component
2021-09-02 13:50:19 +02:00
f68f89e721
Add redirect from admin to login if not authenticated
2021-09-02 13:21:54 +02:00
0a099945ed
Add admin template
2021-09-02 13:19:34 +02:00
55e91a323c
Add a CLI command to remove expired tokens
2021-09-02 13:07:48 +02:00