aboutsummaryrefslogtreecommitdiff
path: root/modules/services/drone/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-11 13:47:53 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-11 13:49:31 -0700
commit614fc2fcce0e9ae0bcfdc6e08d3c4bac846d02a8 (patch)
treeb3557983fea7381545b80de64d116db42298ee6b /modules/services/drone/default.nix
parentref(gitea): remove all modules for gitea (diff)
downloadinfra-614fc2fcce0e9ae0bcfdc6e08d3c4bac846d02a8.tar.gz
ref(drone): remove all modules and configurations
I do not use drone anymore, no need to keep this around. Change-Id: I8f9564747939a6d1a2b95bcfe8e2c70e46d8bc1e Reviewed-on: https://cl.fcuny.net/c/world/+/411 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'modules/services/drone/default.nix')
-rw-r--r--modules/services/drone/default.nix39
1 files changed, 0 insertions, 39 deletions
diff --git a/modules/services/drone/default.nix b/modules/services/drone/default.nix
deleted file mode 100644
index dedf120..0000000
--- a/modules/services/drone/default.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-# A docker-based CI/CD system
-#
-# Inspired by [1]
-# [1]: https://github.com/Mic92/dotfiles/blob/master/nixos/eve/modules/drone.nix
-{ lib, ... }: {
- imports = [ ./runner-docker ./runner-exec ./server ];
-
- options.my.services.drone = with lib; {
- enable = mkEnableOption "Drone CI";
- vhostName = mkOption {
- type = types.str;
- example = "drone.fcuny.net";
- description = "Name for the virtual host";
- };
- runners = mkOption {
- type = with types; listOf (enum [ "exec" "docker" ]);
- default = [ ];
- example = [ "exec" "docker" ];
- description = "Types of runners to enable";
- };
- admin = mkOption {
- type = types.str;
- default = "fcuny";
- example = "admin";
- description = "Name of the admin user";
- };
- port = mkOption {
- type = types.port;
- default = 3030;
- example = 8080;
- description = "Internal port of the Drone UI";
- };
- sharedSecretFile = mkOption {
- type = types.str;
- example = "/run/secrets/drone-rpc.env";
- description = "Shared RPC secret to inject into server and runners";
- };
- };
-}