about summary refs log tree commit diff
path: root/ci-builds.nix
AgeCommit message (Collapse)AuthorFilesLines
2020-07-05 r/1219 feat(3p/apereo-cas): initial Nix derivation (no TVL-specific config yet)Luke Granger-Brown1-0/+1
Change-Id: Ie7d52370dd554b110bbfa041b943fcf246373b94 Reviewed-on: https://cl.tvl.fyi/c/depot/+/933 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-07-05 r/1214 fix(3p/grpc): Bump to 1.30.0 and build with precompiled AbseilVincent Ambo1-0/+1
gRPC 1.29.0 can not be built with our precompiled libs because it accidentally overrides the C++ standard specified by the users. This was fixed in 1.30.0. Change-Id: I9a0390b3f5ec8dae6c295562f3a94b3dfa681dd1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/925 Tested-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi>
2020-07-03 r/1203 feat(3p): add haskell-language-serverGriffin Smith1-0/+1
Add expression for building haskell-language-server, based on a vendored version of https://github.com/korayal/hls-nix with hashes updated to work with our nixpkgs version and ghc 8.8.3. Also add that to CI builds, so whitby will build it for me (thanks whitby). Change-Id: I373f8a7cb67974b8aa043b116436c074591b8d57 Reviewed-on: https://cl.tvl.fyi/c/depot/+/897 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: BuildkiteCI
2020-07-03 r/1190 feat(ci-builds): re-add xanthousGriffin Smith1-0/+1
This reverts commit 2249be39ed4d869ca602b353372f8d9066f0be28. Build should pass now that it's all been properly integrated into the nix tree. Change-Id: If2bfa642302368ac24d06ff7d853c0eda76811a7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/742 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: Kane York <rikingcoding@gmail.com> Tested-by: BuildkiteCI
2020-07-02 r/1180 feat(ci-builds): add chupacabraGriffin Smith1-0/+4
My laptop, so I can recompile linux-ck not on my machine Change-Id: Ib42e0440628be6a4d03999220ab2c69b19d6e391 Reviewed-on: https://cl.tvl.fyi/c/depot/+/884 Reviewed-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
2020-07-02 r/1160 feat(nixos/whitby): Hello, World!Vincent Ambo1-0/+1
This adds NixOS configuration for the machine whitby.tvl.fyi. No interesting services are configured yet, so this configuration is quite plain. Change-Id: I67b7c75ebd6e298719b52e6b3bd83cc3be3c45d8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/843 Tested-by: BuildkiteCI Reviewed-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-07-01 r/1148 feat(3p/openldap): Enable slapd-passwd-argon2 moduleVincent Ambo1-0/+1
This enables support for the Argon2 password hashing mechanism in OpenLDAP. Note that we also need to configure the LDAP module to load this, so this change is not yet sufficient for actually using Argon2 hashes. Change-Id: I151b854b777daa924b22224a43851432a88a2760 Reviewed-on: https://cl.tvl.fyi/c/depot/+/830 Reviewed-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi> Tested-by: BuildkiteCI
2020-07-01 r/1147 chore(ci-builds): Move third_party builds to their own package groupVincent Ambo1-9/+8
... and remove a package that doesn't exist anymore (at this location) from the nixpkgs allowlist. Change-Id: I663c84c387fb04bb3b47448132ad768ed5352474 Reviewed-on: https://cl.tvl.fyi/c/depot/+/829 Reviewed-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi> Tested-by: BuildkiteCI
2020-07-01 r/1146 feat(ci-builds): Include //fun/tvlbot and //fun/clbot in CI buildsVincent Ambo1-0/+2
Change-Id: I95daac993808ac9c3de06d20890cca108d8fa961 Reviewed-on: https://cl.tvl.fyi/c/depot/+/828 Reviewed-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Tested-by: BuildkiteCI
2020-06-30 r/1138 chore(ci-builds): Build users.tazjin.finito in CIVincent Ambo1-0/+1
Change-Id: I96bb33e76b373795d8cc5a4a2c7a1f9f49179a36 Reviewed-on: https://cl.tvl.fyi/c/depot/+/804 Reviewed-by: BuildkiteCI Reviewed-by: ericvolp12 <ericvolp12@gmail.com> Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-06-29 r/1132 feat(nix/runExecline): add runExeclineProfpatsch1-1/+3
runExecline is a primitive that just does not care. It’s similar to `runCommand`, but instead of concatenating bash scripts left and right, it actually *uses* the features of `derivation`, passing things to `args` and making it possible to overwrite the `builder` in a sensible manner. Additionally, it provides a way to pass a nix string to `stdin` of the build script. Similar to `writeExecline`, the passed script is not a string, but a nested list of nix lists representing execline blocks. Escaping is done by the implementation, the user can just use normal nix strings. Change-Id: I890d9e5d921207751cdc8cc4309381395d92742f Reviewed-on: https://cl.tvl.fyi/c/depot/+/701 Reviewed-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi> Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-06-29 r/1130 chore(ops): Clean up old GCP infrastructure filesVincent Ambo1-1/+0
This removes almost all of the GCP-infrastructure leftovers from my previous setup. The DNS configuration is retained, but moves to my user folder instead. Change-Id: I1867acd379443882f11a3c645846c9902eadd5b0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/782 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: isomer <isomer@tvl.fyi>
2020-06-29 r/1126 fix(ci-builds): typecheck __allTargets to be (list drv)Profpatsch1-5/+16
`nix-build -A` expects a list of derivations, otherwise it will silently skip some targets. We can use yants to ensure we don’t accidentally put test targets that do not run on CI. `depot.users.tazjin.blog` was one such target, the only real drv is in the `rendered` field. `getBins` is not a derivation, rather the `runTestsuite` prints `{}` if it succeeds and aborts the evaluation otherwise. We make it into a derivation, using the `emptyDerivation` primitive we added earlier. We could actually improve that still, see the TODO. Change-Id: I3e7658b21aa4ef84192ac43c11b986bd8570a115 Reviewed-on: https://cl.tvl.fyi/c/depot/+/666 Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: tazjin <mail@tazj.in>
2020-06-29 r/1125 feat(ci-builds): Add overridden haskell packagesGriffin Smith1-0/+9
Add all the haskell packages we've overridden to the ci targets, so we can check that they build successfully. Change-Id: I3c2f2d61f542cc06ac2266881e182e755fcb3774 Reviewed-on: https://cl.tvl.fyi/c/depot/+/743 Reviewed-by: Kane York <rikingcoding@gmail.com> Reviewed-by: tazjin <mail@tazj.in>
2020-06-29 r/1123 fix(ci-builds): Revert "Add Xanthous"Griffin Smith1-4/+0
This reverts commit 35600236eef2e9b04a9655931c3cb101c8650f0c. While I fix the build, fix CI for now Change-Id: I6edf741f511fe137fd4b9b4379177996aa1a7b5d Reviewed-on: https://cl.tvl.fyi/c/depot/+/738 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-29 r/1119 feat(ci-builds): Add XanthousGriffin Smith1-0/+4
Add a ci-builds group for glittershark, with Xanthous. Change-Id: I6b0cbaa158e7e0a5e74e17de8758ce1684a86b52 Reviewed-on: https://cl.tvl.fyi/c/depot/+/732
2020-06-28 r/1107 feat(nix/getBins): add getBinsProfpatsch1-0/+1
This is a simple-stupid “unix import system” for nix, for referencing binaries in `/bin/` by their name and lifting them to a Nix attrset. Allows for simple aliasing of executable names. Change-Id: Ifa23cb377201c3b08050c5026e9751e736afaf56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/664 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1089 chore(ci-builds): Update for moved targetsVincent Ambo1-4/+7
Change-Id: I2227d13fd4769f2b4411a43082543a5b56cacfb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/605 Reviewed-by: isomer <isomer@tvl.fyi>
2020-06-24 r/1076 refactor(ci-builds): Split up CI builds into multiple bucketsVincent Ambo1-33/+68
These categories separate CI targets, which hopefully avoids the out-of-space errors we have been seeing on Sourcehut. The sets of CI build targets are made available in the depot itself so that besadii can be updated to create a new build for each target group. For convenience, 'ciBuilds' contains an '__allTargets' attribute which combines the contents of each target batch - this makes it possible to still invoke a build for everything by using: nix-build -A ciBuilds.__allTargets Note: Some targets that were previously built in CI aren't anymore, most importantly my NixOS systems which don't fit on Sourcehut. Change-Id: Ia15ed7b743c8add51ae08ce0827a0ddfacd637e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/570 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-18 r/1025 chore(tazjin/emacs): Move //tools/emacs to //users/tazjin/emacsVincent Ambo1-1/+1
Change-Id: I9dfbd0bb1fd3e215bb91c5734fb0934ee3faeae6
2020-06-13 r/941 refactor(ops/nixos): Move my NixOS configurations to //users/tazjinVincent Ambo1-6/+3
NixOS modules move one level up because it's unlikely that //ops/nixos will contain actual systems at this point (they're user-specific). This is the first users folder, so it is also added to the root readTree invocation for the repository. Change-Id: I546c701145fa204b7ba7518a8a56a783588629e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/244 Reviewed-by: tazjin <mail@tazj.in>
2020-06-11 r/911 feat(ci-build): Build frog in CIVincent Ambo1-0/+1
Change-Id: I86fc06c7997688863e08017db9bbe7b9848881ff Reviewed-on: https://cl.tvl.fyi/c/depot/+/62 Reviewed-by: tazjin <mail@tazj.in>
2020-05-17 r/752 feat(ci-builds): Build //third_party/nix in CIVincent Ambo1-0/+1
2020-04-21 r/646 chore(web/tvl): Bootstrap static assets for TVL pageVincent Ambo1-0/+1
2020-04-19 r/636 chore(build): Exclude nugget from CI buildsVincent Ambo1-1/+5
2020-03-01 r/590 fix(build): Remove guile from CI buildsVincent Ambo1-1/+0
2020-02-21 chore(build): Build besadii in CIVincent Ambo1-1/+1
(ironic)
2020-02-21 r/560 feat(build): Add //fun and //ops/nixos projects to CI buildsVincent Ambo1-8/+13
2020-02-09 r/504 fix(ci-builds): Remove tools.blog_cliVincent Ambo1-1/+0
2020-02-09 r/499 chore(web): Delete //web/tazblogVincent Ambo1-1/+0
Deleting this code feels strange. This project has been around for a decade, and despite occasionally needing a bunch of tweaks it had aged well and worked fine for a very long time. I've reached a strange point where I don't really feel like using Haskell anymore, and every interaction with this project in recent years has been fighting dependency management tooling for Haskell, or dealing with strange build problems. The simple fact is that the service never really did anything other than render Markdown dynamically, and at this point I can do that much better with //tools/cheddar instead. So, tazblog-hs, it's time to say goodbye. Rest in peace!
2020-02-08 r/484 feat(web/blog): Add Nix-based static blog generatorVincent Ambo1-0/+1
This introduces a derivation which builds an instance of nginx statically serving my blog posts, though as of now no indexes are being generated and no XML feed is available. This is just the initial draft of this setup and not yet what shall be yielded in the end.
2020-01-22 r/449 chore(build): Build Lisp DNS library in CIVincent Ambo1-0/+1
2020-01-22 r/442 chore(builds): Enable Gemma build in CIVincent Ambo1-0/+1
2020-01-20 r/434 feat(ops/mq_cli): Bump dependencies & add derivationVincent Ambo1-1/+2
2020-01-20 r/433 feat(ops/posix_mq.rs): Set up Nix buildVincent Ambo1-0/+1
2020-01-19 r/425 chore(build): Enable CI for patched third-party projectsVincent Ambo1-0/+4
2019-12-21 r/284 chore(build): Add cheddar to ci-builds.nixVincent Ambo1-0/+1
2019-12-20 r/252 fix(kontemplate): Make build compatible with readTreeVincent Ambo1-0/+1
The kontemplate build will keep using `buildGoPackage` for now until I've had the time to add tests to //nix/buildGo
2019-12-20 r/250 chore(yants): Move tests into subfolder & add to CI buildsVincent Ambo1-1/+1
2019-12-20 r/238 refactor: Fix a variety of filepaths for repo relayoutingVincent Ambo1-10/+10
This fixes readTree and the various project builds, as well as (hopefully) most documentation links inside of the projects.
2019-12-14 r/148 chore(build): Build tools.emacs in CIVincent Ambo1-2/+3
2019-12-14 r/133 fix(build): Import package set correctly for CI buildsVincent Ambo1-1/+1
2019-12-09 r/111 refactor: Move CI setup to separate Nix fileVincent Ambo1-0/+17
Instead of polluting the repository namespace with the list of CI projects, move that to a separate file. Currently the list of projects to be built by CI is still hardcoded, but this will be fixed soon.