Commit graph

1066 commits

Author SHA1 Message Date
32f5d4c104 third_party/copybara: patch HgRepository to use HGPLAIN 2020-05-17 00:06:31 +01:00
b8fed98394 root: add 'pkgs' to alias to nixpkgs or my local packages 2020-05-16 23:55:59 +01:00
d796fe1dfd nix/pkgs: fix up copybara/secretsync for new nixpkgs 2020-05-16 19:20:59 +01:00
Default email
66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00
11064ea484 third_party/nixpkgs: add local changes to patch file 2020-05-16 19:14:31 +01:00
2712655c50 ops/nixos/lib/hgrc: colourise rev ID based on phase 2020-05-16 14:08:27 +01:00
9824a286f8 ops/nixos/porcorosso: add copybara 2020-05-16 16:44:29 +01:00
9b64e2c361 nix/pkgs/copybara: create 2020-05-16 16:37:45 +01:00
921e7aee81 third_party/nixpkgs: buildBazelPackage: add "fetchConfigured", and allow removing things that sometimes don't exist 2020-05-16 16:37:42 +01:00
Default email
65671b0004 Project import generated by Copybara.
GitOrigin-RevId: b578e69f18a543889ded9c57a8f0dffacdb103d8
2020-05-16 15:14:58 +01:00
e3f1e843de third_party/copybara: add meta-copybara config, and patch to add working-enough Mercurial support 2020-05-16 15:15:23 +01:00
Default email
dfee7b6196 Project import generated by Copybara.
GitOrigin-RevId: b578e69f18a543889ded9c57a8f0dffacdb103d8
2020-05-15 16:19:19 -04:00
9567a9803b ops/nixos/porcorosso: add NTFS drive 2020-05-11 21:15:49 +01:00
d7897ddbe5 ops/nixos/lib: add hgrc in a more sensible way 2020-05-11 17:30:13 +01:00
a58ee896ff ops/nixos/porcorosso: add whois 2020-05-11 16:45:02 +01:00
ee46deed22 ops/nixos/porcorosso: enable fontconfig-penultimate 2020-05-11 16:39:57 +01:00
3af02e4d98 ops/nixos/porcorosso: oh, I'm supposed to use fonts.fonts 2020-05-11 16:38:09 +01:00
e3b0cbce16 ops/nixos/porcorosso: import more packages 2020-05-11 16:31:17 +01:00
3d8a588f3a ops/nixos/porcorosso: move some packages into user packages 2020-05-11 16:21:48 +01:00
75791a83a7 ops/nixos/porcorosso: install teamspeak_client globally 2020-05-11 16:18:17 +01:00
6daf53d556 ops/nixos/lib/hgrc: add topics extension 2020-05-11 16:18:03 +01:00
84b964fffd porcorosso: add 'windows' script for rebooting to windows 2020-05-10 15:25:37 +01:00
823eab4775 secretsync: escape $ in variable content
GitLab doesn't treat $ as literals in file content, which means that it
tries to do variable interpolation.

This is bad and annoying, because e.g. password hashes tend to contain $,
so they get variable-interpolated and thus corrupted.

Fix this by escaping $ on input to GitLab.
2020-05-10 12:11:26 +01:00
f994f155cd gitlab-ci: RAAAARGH 2020-05-10 02:32:05 +01:00
bcdb449269 hack/populate_secrets: whyyy 2020-05-10 02:25:52 +01:00
06fed43cf0 hack/populate_secrets: give up on posix compliance 2020-05-10 02:24:03 +01:00
58dd878674 hack/populate_secrets: try again 2020-05-10 02:21:18 +01:00
aa52f1a64b hack/populate_secrets: oops, dollars 2020-05-10 02:19:11 +01:00
e715c20f64 porcorosso: add deluge 2020-05-10 02:12:29 +01:00
ec086d27dd deluge: fix running the Gtk UI 2020-05-10 02:12:00 +01:00
44018a1a07 hack/populate_secret: oops, did it wrong 2020-05-10 00:29:54 +01:00
5f1f8bd386 hack/populate_secrets: make POSIX-compliant? 2020-05-10 00:28:25 +01:00
6f33f49b9c hack/populate_secrets: try using nix-shell to pull in bash 2020-05-10 00:23:57 +01:00
0cee10a83c gitlab-ci: make populating secrets into repo more consistent 2020-05-10 00:20:10 +01:00
3b8f4a2472 gitlab-ci: reenable binary cache building 2020-05-10 00:15:11 +01:00
48299e775c gitlab-ci: resource_group doesn't work 2020-05-10 00:13:35 +01:00
40cee28bd5 gitlab-ci: more fixes to deploy 2020-05-10 00:12:25 +01:00
493f2382d5 gitlab-ci: ugh, IPv4, fine 2020-05-10 00:09:33 +01:00
f8bf41b36a hack/deploy: SECRETS_MANIFEST is a file now 2020-05-10 00:08:28 +01:00
818751bac1 gitlab-ci: just inline the variables 2020-05-10 00:06:29 +01:00
2f7e50cc35 gitlab-ci: add more hosts 2020-05-10 00:01:47 +01:00
91d742c1cd gitlab-ci: try and get deploys works 2020-05-09 23:49:32 +01:00
118ebf59fd gitlab-ci: oh, rules isn't in this version of gitlab... 2020-05-09 18:55:39 +01:00
84f607d7cf *: try setting up automated deploys
This won't work yet, since the deployer user isn't correctly configured,
but this should at least trigger the right sets of things to happen.
2020-05-09 18:53:17 +01:00
c5d03b795e ops/nixos: give everything a consistent mercurial 2020-05-09 18:15:12 +01:00
0c461e9422 common: add my hgrc so I can have evolve everywhere 2020-05-09 14:42:19 +01:00
0236b2450b porcorosso: start using manifest variable 2020-05-09 14:27:10 +01:00
a9cb53fa16 secretsync: add concept of manifest variable
This is a file-type variable which contains the original mapping of
VARIABLE_NAME to VARIABLE_DATA.

This can be used to automatically repopulate a repository with
secrets that were originally taken from it and transmitted via
GitLab variables (i.e. out-of-band).
2020-05-09 14:26:54 +01:00
0949accaea gitlab-ci: drop cache directive entirely 2020-05-09 13:54:15 +01:00
b9e5dac14c gitlab-ci: tweak caching strategy
/nix/store is now just a Docker volume on the host running the build,
so the store should just implicitly get shared.
2020-05-09 13:48:37 +01:00