about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09 r/100 refactor: Introduce new layout with nixpkgs in third_partyVincent Ambo10-50/+62
This is not the final layout yet, but makes it so that my top-level attribute set is no longer overlaid into nixpkgs itself. This is useful for other people who are importing my monorepo.
2019-12-09 r/99 feat: Add writeElispBin helper functionVincent Ambo1-0/+23
Exactly as the name suggests. Currently, passing arguments from the CLI is not really supported.
2019-12-09 r/98 refactor(read-tree): Remove deprecated 'builtins.toPath' callVincent Ambo1-2/+1
2019-12-02 r/97 refactor(read-tree): Keep traversing even if a default.nix is foundVincent Ambo1-4/+5
This makes it possible for people to drop a default.nix into folders along the way that add additional things into the attribute set at that level. These default.nix files are imported and merged with the rest of the traversal from that point on. In theory nothing stops a user from putting a derivation into one of them, but the effects of merging that derivation's underlying attribute set with random other things from the traversal are undefined. This feature is being introduced for a slight revamp of the thirdParty layout.
2019-11-27 r/96 Merge pull request #10 from tazjin/feat/buildGo-dot-nixVincent Ambo6-13/+93
Introduce Bazel-style Nix build system for Go
2019-11-27 chore(overrides): Import buildGo.nix from external repositoryVincent Ambo1-147/+4
2019-11-25 feat(buildGo): Add x_defs supportVincent Ambo1-4/+9
2019-11-25 feat(read-tree): Pass in-tree location to imported package setsVincent Ambo1-3/+23
Passes the location from the root at which packages are imported on to all packages. The path is passed in as a parameter called 'locatedAt' which contains a list of strings with each individual path component. For example, the blog source in `services/tazblog` will have a list with `[ "services" "tazblog" ]` passed in as the `locatedAt` attribute. This can be used for enabling features such as path-specific imports when using things like buildGo.
2019-11-25 refactor(read-tree): Idiomatic 'attrsToList' instead of weird hackVincent Ambo1-11/+4
2019-11-22 fix(tools): Enable CI runs for tools.gotestVincent Ambo1-1/+1
2019-11-22 feat(tools): Add 'gotest' program to demonstrate pkgs.buildGoVincent Ambo4-0/+63
This is a tiny program that does nothing but exists to demonstrate pkgs.buildGo by building a program that depends on a local library as well as a protobuf definition.
2019-11-22 fix(buildGo): Use stable build ID when linking outputsVincent Ambo1-2/+2
This is another step towards build reproducibility, which Go is traditionally very bad at.
2019-11-22 fix(buildGo): Ensure names of proto-generated files are correctVincent Ambo1-1/+1
2019-11-22 refactor(buildGo): Minor cleanups of buildGo implementationVincent Ambo1-52/+25
2019-11-21 feat(buildGo): Introduce Bazel-style Nix builders for GoVincent Ambo1-0/+169
2019-11-15 r/95 Merge pull request #9 from tazjin/feat/read-treeVincent Ambo20-111/+191
Configure automatic package layouts via repository structure
2019-11-15 fix(k8s): Adjust blog image name to match new repo layoutVincent Ambo1-1/+1
2019-11-15 feat(nix): Filter projects that should be built by CIVincent Ambo4-15/+25
Instead of specifying CI projects manually, this filters them to move the CI configuration into the derivations `meta` attributes.
2019-11-15 chore(nix): Move files around to conform to new read-tree layoutVincent Ambo19-102/+112
Broadly speaking, the following things are included: * there is now a uniform `args` struct that is passed to all derivations, package headers have been changed appropriately * overrides are now loaded from a separate `override` folder just using read-tree.nix * third-party packages have moved into the `third_party` attribute set
2019-11-15 feat(build): Add initial read-tree.nix implementationVincent Ambo1-0/+67
This file can read a directory tree into a package set structure, paving the way for getting rid of top-level mapping in default.nix.
2019-11-14 chore: Remove unstable channel (no longer in use)Vincent Ambo1-7/+0
2019-10-26 r/94 Merge pull request #8 from tazjin/feat/nixconVincent Ambo5-0/+939
Add demo setup for NixCon
2019-10-26 feat(nixcon-demo): Add CLI mode for NixCon demoVincent Ambo1-2/+13
Maybe a bit more sane than trying to do a network based setup.
2019-10-26 feat(services): Add nixcon-demo service with simple web serverVincent Ambo5-0/+922
2019-10-26 feat(third_party): Add naersk to package setVincent Ambo1-0/+6
2019-10-26 r/93 fix: Enable building of broken packagesVincent Ambo1-0/+1
Happstack is currently erroneously (afaict) marked as broken.
2019-10-26 r/92 chore(k8s): Bump deployed Nixery versionVincent Ambo1-1/+1
2019-10-25 r/91 Merge pull request #7 from tazjin/chore/bump-19.09Vincent Ambo4-5/+8
Update nixpkgs set to NixOS 19.09
2019-10-25 chore: Bump Nixery version & package set configurationVincent Ambo3-2/+5
2019-10-25 chore: Bump nixpkgs and use Terraform from stableVincent Ambo1-3/+3
2019-09-22 r/90 refactor(build): Only build projects explicitly set as CI projectsVincent Ambo1-1/+1
2019-09-22 r/89 chore(gemma): Mark gemma as broken (again)Vincent Ambo1-1/+3
Something broke in one of the Lisp dependencies (again).
2019-09-22 r/88 refactor(build): Add ciProjects attribute for CI buildsVincent Ambo1-0/+8
This attribute contains a list of all derivations that should be built by the CI for this repository. This includes all of my own packages that are not marked as broken, as well as select third-party packages.
2019-09-22 r/87 chore(tazblog): Remove more unneeded dependenciesVincent Ambo1-4/+4
2019-09-21 r/86 chore(k8s): Bump deployed Nixery versionVincent Ambo1-1/+1
2019-09-21 r/85 chore: Bump Nix channel to a more recent versionVincent Ambo1-2/+2
This version has Nixery popularity data available.
2019-09-21 r/84 chore(third_party): Bump Nixery versionVincent Ambo1-2/+2
2019-09-21 r/83 refactor(k8s): Parameterise the nginx versionVincent Ambo2-1/+3
2019-09-04 r/82 fix(k8s): Reinsert passLookup newline after kontemplate trims itVincent Ambo2-1/+2
SSH can not read the key without the trailing newline. Ideally kontemplate would expose a toggle for this.
2019-09-04 r/81 Merge pull request #6 from tazjin/fix/nixery-secrets-namespaceVincent Ambo2-10/+18
Fix Nixery resources namespace & bump kontemplate
2019-09-04 chore: Update kontemplate to v1.8.0Vincent Ambo1-4/+13
This version is agnostic of the working directory even if insertFile/insertTemplate are used, which makes it a lot nicer to work with in this repository structure.
2019-09-04 fix(k8s): Move nixery-secrets to the correct namespaceVincent Ambo1-6/+5
2019-09-03 r/80 Merge pull request #5 from tazjin/feat/cloud-kms-secretsVincent Ambo14-15/+129
Introduce secrets management via Google Cloud KMS
2019-09-03 feat(k8s): Insert Nixery's secrets via kontemplateVincent Ambo5-4/+25
Instead of having a manually prepared secret, use Cloud KMS (as per the previous commits) to decrypt the in-repo secrets and template them into the Secret resource in Kubernetes. Not all of the values are actually secret, it has thus become a bit easier to edit the known hosts, SSH config and such now.
2019-09-03 feat(secrets): Check in secrets required by NixeryVincent Ambo3-0/+0
2019-09-03 feat(tools): Introduce pass-compatible wrapper using Cloud KMSVincent Ambo5-0/+78
Adds a shell script that supports a subset of the 'pass' interface for compatibility with kontemplate, and wraps kontemplate in a script that places this version on the PATH. This makes it possible to use Cloud KMS encrypted secrets with kontemplate.
2019-09-03 feat(gcp): Create Cloud KMS resources for encrypting secretsVincent Ambo1-8/+28
The idea here is to use Cloud KMS and a shell script that mimics 'pass' to trick kontemplate into using Cloud KMS to decrypt secrets.
2019-09-03 chore(gcp): Remove monorepo repositoryVincent Ambo1-5/+0
The repository is now public on Github.
2019-09-03 r/79 Merge pull request #4 from tazjin/fix/blog-substitutesVincent Ambo1-6/+10
fix(tazblog): Explicitly allow substitutes for the blog
2019-09-03 fix(tazblog): Explicitly allow substitutes for the blogVincent Ambo1-6/+10
Not entirely sure which part of the setup set this to 'false', but this is potentially the key for why tazblog ends up being rebuilt all the time.