aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 62a0f9d5752262b100b410ce9ee591d6c579b555 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                                                  
                                                                                     
 



                                                                                                                                                                       
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

nix-info:
	NIXOPS_DEPLOYMENT="" ./scripts/nix_infos

nix-info-nixops:
	NIXOPS_DEPLOYMENT="n" ./scripts/nix_infos

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