about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2019-09-02 fix(k8s): nginx does not need to be pinned to gitHEADVincent Ambo1-1/+1
2019-09-02 chore(k8s): Point Nixery at public depot URLVincent Ambo1-2/+1
2019-09-02 feat(k8s): Route oslo.pub to nginx in ingressVincent Ambo1-1/+9
2019-09-02 feat(k8s): Add nginx instance for oslo.pub redirectVincent Ambo3-0/+92
The redirect is currently all that this instance does. It is required because HTTP load balancers in GCP don't support URL rewriting.
2019-09-02 chore(k8s): Provision certificate for oslo.pubVincent Ambo1-0/+5
2019-09-02 feat(tools): Add stern, a k8s log watcherVincent Ambo2-0/+4
2019-09-02 chore(infra): Remove NixOS configuration for serversVincent Ambo8-3791/+0
This configuration is no longer in use. The Gemma configuration file has been moved over to the k8s folder from where it will be templated into the actual configuration.
2019-09-02 r/72 Merge pull request #1 from tazjin/feat/travis-ciVincent Ambo5-4/+30
Add Travis CI configuration
2019-09-02 chore: Catch all Nix results in gitignoreVincent Ambo1-0/+1
2019-09-02 docs: Add crude top-level READMEVincent Ambo1-0/+15
2019-09-02 refactor(blog): Use callPackage to import derivationVincent Ambo2-4/+4
2019-09-02 feat: Add Travis CI configurationVincent Ambo1-0/+10
Adds a configuration that builds all of my own services and pushes the resulting closures to Cachix.
2019-09-02 r/71 chore: Remove leftover Bazel filesVincent Ambo1-2/+0
2019-09-02 r/70 fix(gemma): Fix build process in NixVincent Ambo2-51/+28
2019-09-02 r/69 feat(third_party): Add missing Quicklisp packages for GemmaVincent Ambo5-0/+115
Gemma depends on cl-prevalence, which isn't in the nixpkgs Quicklisp snapshot. This adds the package and its dependencies to the overlay.
2019-09-02 r/68 fix: Correct naming of variables in overlay functionVincent Ambo1-9/+9
2019-08-27 r/67 feat(k8s): Configure HTTPS ingress for the blogVincent Ambo3-0/+29
Uses Google-managed certificates and an Ingress resource to set up an HTTPS load-balancer. This probably won't be the final version as the GKE Ingress is very limited and can not do things like redirect URLs, which I need to decommission the old setup.
2019-08-27 r/66 feat(k8s): Add Google managed TLS certificatesVincent Ambo2-0/+19
Introduces certificates for tazj.in & www.tazj.in.
2019-08-25 r/65 chore(tazblog): Clean up unused dependenciesVincent Ambo2-28/+17
2019-08-25 r/64 refactor(tazblog): Implement HLint lints in all filesVincent Ambo5-15/+13
2019-08-25 r/63 chore(tazblog): Remove i18n featuresVincent Ambo7-164/+77
The blog has been English only for a few years. Old entries that survived the migration to DNS will still be accessible.
2019-08-25 r/62 chore(tazblog): Remove 'read more' featureVincent Ambo3-15/+7
2019-08-25 r/61 chore(tools): Remove ormolu from toolsVincent Ambo2-4/+0
The Ormolu derivation is too large to be instantiated on-demand. I've resorted to installing this tool into my profile instead.
2019-08-25 r/60 chore(tazblog): Format source files with ormoluVincent Ambo5-151/+187
Ormolu's formatting is quite annoying (it uses a lot of unnecessary vertical space and doesn't align elements), but I can't be bothered to do manual formatting - especially because whatever formatting haskell-mode in Emacs produces seems to depend on an opaque state machine or something.
2019-08-25 r/59 feat(build): Add Terraform from unstable channelVincent Ambo1-7/+18
2019-08-25 r/58 chore(gcp): Enable Cloud DNS serviceVincent Ambo1-0/+1
2019-08-23 r/57 fix(gemma): Almost fix Gemma build by porting an old ElmVincent Ambo2-8/+15
This pulls in an old version of Elm from NixOS 17.09 which can still build the Elm code in Gemma. However, the Common Lisp build is now broken in some other way.
2019-08-23 r/56 chore(k8s): More tazblog replicasVincent Ambo1-1/+1
2019-08-23 r/55 refactor(tazblog): Move blog configuration to envvarsVincent Ambo2-22/+24
The port and resource directory are now specified via environment variables and a wrapper script is created by Nix that sets the resource path and so on correctly.
2019-08-23 r/54 fix(tazblog): Remove debug traceVincent Ambo1-2/+1
2019-08-23 r/53 fix(blog_cli): Quote JSON output for post datesVincent Ambo1-2/+6
2019-08-23 r/52 feat(blog_cli): Add flag to set post date and serialise as date onlyVincent Ambo1-5/+25
2019-08-22 r/51 chore(blog): Minor changes to integrate DNS based backendVincent Ambo5-21/+18
2019-08-22 r/50 feat(tazblog): Implement entry fetching from DNSVincent Ambo1-20/+119
Not all error cases are properly handled yet, stay tuned.
2019-08-21 r/49 feat(tazblog): Add a Nix shell expression that includes GHC with depsVincent Ambo1-0/+11
2019-08-21 r/48 refactor(tazblog): Directly instantiate Resolver when launchingVincent Ambo2-7/+25
Caching behaviour is tied to the resolver.
2019-08-21 r/47 chore(tazblog): Introduce dependency on 'dns'Vincent Ambo2-2/+3
2019-08-20 r/46 chore(tazblog): Introduce dependency on 'cache'Vincent Ambo3-19/+23
2019-08-20 r/45 feat(tools): Introduce ormolu for formatting Haskell codeVincent Ambo3-3/+9
2019-08-20 r/44 chore(tazblog): Replace BlogDB with stubs for DNS-based storageVincent Ambo10-560/+115
Removes acid-state specific code and the former BlogDB module, in its stead the new BlogStorage module contains stubs for the functions that will be filled in with DNS-based storage. This code is unformatted and will not currently serve a working blog.
2019-08-19 r/43 chore(tools/blog_cli): Shorten metadata key namesVincent Ambo1-5/+5
Every character counts because I want to keep metadata below 255 bytes.
2019-08-19 r/42 refactor(tools/blog_cli): More sensible chunk encoding as recordsVincent Ambo1-17/+17
Instead of many rrdatas in one record, make many records!
2019-08-19 r/41 feat(tools): Add a horrifying tool to write blog posts into DNSVincent Ambo7-0/+350
2019-08-19 r/40 feat(infra/k8s): Add in-cluster tazblog deployment via NixeryVincent Ambo2-0/+22
First deployment actually using a Nixery image and `gitHEAD`. This does not actually serve a working blog for various reasons. The current storage mechanism (acid-state) isn't really appropriate anymore and I'll need to change that soon.
2019-08-19 r/39 chore(infra/k8s): Bump Nixery image to Cachix-enabled oneVincent Ambo2-2/+2
2019-08-19 r/38 feat(third_party): Add nixery with Cachix configurationVincent Ambo2-1/+22
2019-08-16 r/37 fix(infra/k8s): Always pull a Nixery imageVincent Ambo1-0/+1
2019-08-16 r/36 feat(infra/k8s): Deploy Nixery instance to clusterVincent Ambo2-0/+80
2019-08-16 r/35 feat(infra/gcp): Add Terraform configuration for GKE & friendsVincent Ambo2-0/+90
Sets up Terraform itself, a GKE cluster, a storage bucket and all the other little things required to get the basics running.
2019-08-16 r/34 feat(tools): Add kontemplateVincent Ambo3-2/+8