X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=Makefile;h=466b63a7d045ebc1d7de27214eb4f2e3972ef2e4;hp=f4bb3f5f6414295808fab4b69e5ac141e7c2dc5a;hb=7ad4966f41db0669a77c7a6ee7f87f0d4e586b0c;hpb=dbcba2ea2b7301aaa7e6487c2589b09ef09ba066 diff --git a/Makefile b/Makefile index f4bb3f5..466b63a 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,16 @@ -subrecipes = setup ssh-eldiron info debug dry-run build upload deploy reboot push pull pull-deployment list-generations delete-generations cleanup +subrecipes = setup nix-info edit_env +subrecipes += ssh-eldiron ssh-backup-2 ssh-monitoring-1 ssh-4c +subrecipes += debug build dry-run upload deploy deploy-reboot +subrecipes += list-generations delete-generations cleanup ${subrecipes}: @$(MAKE) --no-print-directory -C nixops/ $@ - -env: - ./scripts/make-env - -env-dry-run: - ./scripts/make-env --dry-run - -nix-info: - NIXOPS_DEPLOYMENT="" ./scripts/nix_infos - -nix-info-nixops: - NIXOPS_DEPLOYMENT="n" ./scripts/nix_infos +.PHONY: ${subrecipes} nur: ./scripts/make-nur + curl -o /dev/null -XPOST "https://nur-update.herokuapp.com/update?repo=immae" + +shellcheck: + shellcheck scripts/* nixops/scripts/* modules/private/gitolite/gitolite_ldap_groups.sh modules/private/ssh/ldap_authorized_keys.sh modules/private/pub/restrict -.PHONY: env env-dry-run nix-info nix-info-nixops +.PHONY: nur shellcheck