Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-20 | r/238 refactor: Fix a variety of filepaths for repo relayouting | Vincent Ambo | 12 | -55/+69 | |
This fixes readTree and the various project builds, as well as (hopefully) most documentation links inside of the projects. | |||||
2019-12-20 | r/237 chore: Significantly restructure folder layout | Vincent Ambo | 110 | -998/+1 | |
This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit) | |||||
2019-12-20 | r/236 chore(gitignore): Ignore garbage/ folder | Vincent Ambo | 1 | -2/+3 | |
I use this folder locally to collect files that I am not committing to the repository, but that might become relevant again at some point in the future. | |||||
2019-12-20 | r/235 feat(journaldriver): Add Naersk-based build configuration | Vincent Ambo | 2 | -1/+12 | |
2019-12-20 | r/234 docs: Update CONTRIBUTING file to match depot structure | Vincent Ambo | 1 | -47/+51 | |
2019-12-20 | r/233 merge(journaldriver): Merge journaldriver into tools/journaldriver | Vincent Ambo | 9 | -0/+1901 | |
2019-12-20 | chore(tools/journaldriver): Prepare tree for depot merge | Vincent Ambo | 10 | -695/+0 | |
2019-12-20 | r/232 chore(infra/k8s): Run 2 copies of the cgit server | Vincent Ambo | 1 | -1/+1 | |
It's stateless - yay! Redundancy makes it less likely that downtime occurs during rollouts. | |||||
2019-12-20 | r/231 chore(cgit-taz): Drop unused 'index' link from page top | Vincent Ambo | 1 | -1/+10 | |
2019-12-20 | r/230 docs: Update README with more interesting information | Vincent Ambo | 1 | -5/+52 | |
2019-12-20 | r/229 feat(infra/k8s): Rewrite cgit URLs by routing them through nginx | Vincent Ambo | 3 | -10/+27 | |
Configures nginx to rewrite all requests to cgit, except for those retrieving static files, to `/depot/`. In combination with the previous commits that apply patches to cgit itself, this effectively means that the depot is rendered on the site root. This is pretty cool: It lets people do stuff like `git clone https://git.tazj.in` and get the depot! | |||||
2019-12-20 | r/228 feat(cgit-taz): Enable display of remote branches in listing | Vincent Ambo | 1 | -6/+7 | |
2019-12-20 | r/227 feat(cgit-taz): Enable built-in README rendering & syntax highlights | Vincent Ambo | 1 | -0/+2 | |
This is currently using a bunch of Python - once I have time this will be migrated to something saner. | |||||
2019-12-20 | r/226 fix(cgit-taz): Display personal email on depot | Vincent Ambo | 1 | -2/+2 | |
2019-12-20 | r/225 fix(cgit-taz): Patch other bits of cgit that handle URLs | Vincent Ambo | 1 | -2/+47 | |
Turns out there were a few more things. About page handling also did something weird, which I've swiftly removed. | |||||
2019-12-20 | r/224 feat(cgit-taz): Patch cgit to construct monorepo URLs | Vincent Ambo | 2 | -1/+51 | |
Effectively dropping /depot/ from all URLs. | |||||
2019-12-20 | r/223 fix(cgit-taz): Drop /cgit.cgi prefix from vhost | Vincent Ambo | 1 | -1/+1 | |
2019-12-20 | r/222 feat(cgit-taz): Display README.md for repository | Vincent Ambo | 1 | -0/+1 | |
2019-12-20 | r/221 feat(infra/k8s): Add cgit to Ingress load balancer | Vincent Ambo | 2 | -2/+11 | |
Apart from the fact that TLS certificate provisioning is very wonky, it seems to be working now. AFAICT the L7 LBs still don't support path rewriting, which means that this is likely not the final configuration and it will move behind nginx instead. | |||||
2019-12-20 | r/220 fix(infra/k8s): Workaround for nginx crash on pidfile write | Vincent Ambo | 3 | -2/+8 | |
Newer versions of nginx apparently hard-crash if they can't write a PID file in the current directory. To work around this, some writeable scratch space is created for the nginx daemon to write its PID to. | |||||
2019-12-20 | r/219 chore(third_party): Expose nginx | Vincent Ambo | 1 | -0/+1 | |
2019-12-20 | r/218 chore(infra/dns): Update state of root-tazj-in record sets | Vincent Ambo | 1 | -14/+19 | |
2019-12-20 | r/217 feat(infra/k8s): Deploy sync-gcsr container into cgit pod | Vincent Ambo | 1 | -5/+18 | |
This actually works - who would have thought! | |||||
2019-12-20 | r/216 fix(sync-gcsr): Fix broken log statement | Vincent Ambo | 1 | -1/+1 | |
2019-12-20 | r/215 fix(buildGo): Use builder directory as fake $HOME | Vincent Ambo | 1 | -0/+1 | |
It turns out that the `go` tool writes a bunch of stuff into $HOME, or rather, tries to - Nixery doesn't let it. | |||||
2019-12-20 | r/214 fix(cgit-taz): Depot checkout is no longer a bare repository | Vincent Ambo | 1 | -1/+1 | |
To be compatible with sync-gcsr, the `.git` folder must be referenced directly as there is an actual worktree on the filesystem now. | |||||
2019-12-20 | r/213 fix(sync-gcsr): Use local worktree & pull changes into it | Vincent Ambo | 1 | -13/+25 | |
Just fetching the remote of a bare repository does not update local tracking branches, which means that changes do not become visible in cgit. | |||||
2019-12-20 | r/212 chore(cgit-taz): Remove git synchronisation from startup script | Vincent Ambo | 1 | -7/+0 | |
This will be moved into a sidecar container using sync-gcsr that updates the repo periodically. | |||||
2019-12-20 | r/211 feat(services/sync-gcsr): Add git synchronisation helper | Vincent Ambo | 2 | -0/+90 | |
Adds a tiny program that keeps a checkout of a remote git repository in sync with a folder on the local filesystem. This is going to be used to mirror the GCSR repository onto a local disk for cgit serving. | |||||
2019-12-20 | r/210 feat(infra/k8s): Add git cookie secret for repository sync | Vincent Ambo | 2 | -0/+10 | |
2019-12-20 | r/209 fix(tools): Correctly resolve kms_pass->pass | Vincent Ambo | 1 | -1/+2 | |
The binary name doesn't match the one inside of the derivation, but this is intentional. | |||||
2019-12-20 | r/208 fix(emacs.d): Correctly restore default font size in randr-single | Vincent Ambo | 1 | -1/+1 | |
2019-12-19 | r/207 feat(infra/k8s): Add deployment configuration for cgit | Vincent Ambo | 2 | -0/+51 | |
This is not yet done because repository cloning doesn't work at all, in any way whatsoever. | |||||
2019-12-19 | r/206 feat(third_party): Add Go packages for src-d/go-git | Vincent Ambo | 11 | -0/+173 | |
This is going to be used in my git syncing tool for the cgit setup. | |||||
2019-12-19 | r/205 fix(buildGo): Skip subtree under overrides/buildGo | Vincent Ambo | 1 | -0/+2 | |
This subtree is internal to buildGo.nix and can not be imported by readTree. | |||||
2019-12-19 | r/204 chore(build): Add package required for buildGo at the top-level | Vincent Ambo | 1 | -1/+10 | |
This is required to maintain buildGo compatibility with non-depot setups. | |||||
2019-12-19 | r/203 feat(readTree): Add support for skipping directory subtrees | Vincent Ambo | 1 | -2/+9 | |
Placing a special `.skip-subtree` file in any directory will now prevent readTree from further traversing that part of the tree. This makes it possible to have packages with internal Nix files that are incompatible with the larger depot structure, for example for projects like buildGo.nix which need to be compatible with the external nixpkgs model. | |||||
2019-12-19 | r/202 merge(buildGo): Integrate buildGo.nix into depot | Vincent Ambo | 9 | -0/+723 | |
2019-12-19 | r/201 chore(overrides): Remove buildGo.nix to prepare for depot merge | Vincent Ambo | 1 | -6/+0 | |
2019-12-19 | chore(buildGo): Relayout for depot merge | Vincent Ambo | 9 | -0/+0 | |
2019-12-19 | r/200 feat(emacs.d): Add key binding for opening telega | Vincent Ambo | 1 | -1/+5 | |
2019-12-19 | r/199 feat(emacs): Add telega.el support | Vincent Ambo | 4 | -0/+30 | |
Packages the telega-server binary and adds the required mode into Emacs. Unread message count is displayed in the modeline, which is neat. Probably need to figure out some key bindings for this. | |||||
2019-12-19 | r/198 fix(nix-util): Correctly enable lexical scope in this library | Vincent Ambo | 2 | -1/+2 | |
2019-12-19 | r/197 feat(emacs-pkgs): Introduce nix-util helper library | Vincent Ambo | 3 | -2/+80 | |
Adds an Emacs library with so far a grand total of one helper function that can prefetch and insert a git repository at point. This is very useful for the various Go repo imports I am doing at the moment. | |||||
2019-12-18 | r/196 fix(cgit-taz): Force gcloud to use specific CA bundle | Vincent Ambo | 1 | -0/+3 | |
It doesn't like reading the bundle from /etc/ssl apparently. | |||||
2019-12-18 | r/195 chore(infra/gcp): Allow k8s nodes to access GCSR | Vincent Ambo | 1 | -0/+1 | |
2019-12-18 | r/194 refactor(cgit-taz): Use Google Cloud SDK to authenticate repo access | Vincent Ambo | 1 | -13/+4 | |
Fighting SSH's peculiarities around how hard it tries to not be scriptable is tiresome. | |||||
2019-12-18 | r/193 fix(cgit-taz): Create users required by SSH in the container | Vincent Ambo | 1 | -0/+4 | |
This might not actually work because SSH will have issues with key permissions, presumably. | |||||
2019-12-18 | r/192 fix(cgit-taz): Pin SSH into image via Nix | Vincent Ambo | 1 | -0/+1 | |
2019-12-18 | r/191 fix(cgit-taz): Clone depot via SSH | Vincent Ambo | 1 | -4/+2 | |
Keys are provided in a Kubernetes secret. |