X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Makefile;h=fd358720952927114314b153cee7b26e9d7f5be6;hb=bbea22c02b6c059a6be1064391f06737ee244ba6;hp=b8a5bfb58648377c12a3e85e2e0b4876b9a1d2e1;hpb=e96787f10b97d2b3b6f8917408f69a0eb500ea97;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/Makefile b/Makefile index b8a5bfb..fd35872 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,16 @@ -subrecipes = setup ssh-eldiron info debug dry-run build upload deploy reboot push pull pull-deployment list-generations delete-generations cleanup -${subrecipes}: - @$(MAKE) --no-print-directory -C nixops/ $@ - -env: - ./scripts/make-env - -env-dry-run: - ./scripts/make-env --dry-run +TARGET ?= +MORPH_ARGS ?= +SSHARGS ?= +GEN ?= -nix-info: - NIXOPS_DEPLOYMENT="" ./scripts/nix_infos - -nix-info-nixops: - NIXOPS_DEPLOYMENT="n" ./scripts/nix_infos +setup nix-info edit_env edit_vars ssh-eldiron ssh-backup-2 ssh-monitoring-1 ssh-4c debug build dry-run upload deploy next-boot deploy-reboot list-generations delete-generations cleanup: + @$(MAKE) --no-print-directory -C nixops/ $@ 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 nur shellcheck +.PHONY: nur shellcheck