about summary refs log tree commit diff
path: root/users/wpcarro/ci
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-23T23·30-0500
committerwpcarro <wpcarro@gmail.com>2021-12-24T01·46+0000
commitc1e381eeccaa7246ac40e5a58ae5202ead0dfd5f (patch)
tree2de383ed7bd7adaa20face2c09e4857ee48c7515 /users/wpcarro/ci
parent87981e7afd221f76a4361429a043881d6351e657 (diff)
refactor(wpcarro): Remove briefcase references r/3340
TL;DR:
- prefer WPCARRO env-var to BRIEFCASE
- remove repository URLs from Emacs libraries
- prefer tvl-depot-path where possible
- reduce the scope of constants.el
- prune (some not all) stale CI configuration

Change-Id: I21e9130402502ec6fa2fc4b46753c890069be62d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4545
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/ci')
-rw-r--r--users/wpcarro/ci/pipelines/post-receive.nix25
1 files changed, 1 insertions, 24 deletions
diff --git a/users/wpcarro/ci/pipelines/post-receive.nix b/users/wpcarro/ci/pipelines/post-receive.nix
index ee4850aa8b..64401dee4a 100644
--- a/users/wpcarro/ci/pipelines/post-receive.nix
+++ b/users/wpcarro/ci/pipelines/post-receive.nix
@@ -16,14 +16,6 @@ let
       label = ":broom: lint secrets";
     }
     {
-      key = "build-briefcase";
-      command = ''
-        nix-build . -I briefcase="$(pwd)" --no-out-link --show-trace
-      '';
-      label = ":nix: build briefcase";
-      depends_on = "lint-secrets";
-    }
-    {
       key = "init-emacs";
       command = let
         scriptEl = path {
@@ -32,25 +24,10 @@ let
         };
         runScriptEl = runScript {
           script = scriptEl;
-          briefcasePath = "$(pwd)";
         };
       in "${runScriptEl} ${initEl}";
       label = ":gnu: initialize Emacs";
-      depends_on = "build-briefcase";
-    }
-    {
-      key = "build-socrates";
-      command = ''
-        nix-build '<nixpkgs/nixos>' \
-          -I briefcase="$(pwd)" \
-          -I nixpkgs=/var/lib/buildkite-agent-socrates/nixpkgs-channels \
-          -I nixos-config=nixos/socrates/default.nix \
-          -A system \
-          --no-out-link \
-          --show-trace
-      '';
-      label = ":nix: build socrates";
-      depends_on = "build-briefcase";
+      depends_on = "lint-secrets";
     }
   ];
 in pkgs.writeText "pipeline.yaml" (toJSON pipeline)