Projet

Général

Profil

0001-add-a-Makefile-as-helper-65449.patch

Thomas Noël, 20 mai 2022 16:11

Télécharger (1,82 ko)

Voir les différences:

Subject: [PATCH] add a Makefile as helper (#65449)

 Makefile | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 Makefile
Makefile
1
help:
2
	@echo ""
3
	@echo "make install: install/reinstall a new Publik system"
4
	@echo "make install-ssh: install with SSH protocol for git clone"
5
	@echo "make deploy: deploy combo.dev.publik.love Publik instance"
6
	@echo "make renew-certificate: get *.dev.publik.love valid certificate"
7
	@echo "make upgrade: pull new code and do all migrations"
8
	@echo "make upgrade-ssh: upgrade with SSH protocol for git pull"
9
	@echo "make upgrade-notheme: upgrade without theme compilation"
10
	@echo "make upgrade-notheme-ssl: upgrade without theme compilation, through SSH"
11
	@echo ""
12
	@echo "More details on https://doc-publik.entrouvert.com/dev/installation-developpeur/"
13
	@echo ""
14

  
15
install:
16
	ansible-playbook -K -i inventory.yml install.yml
17

  
18
install-ssh:
19
	ansible-playbook -K -i inventory.yml -e "{git_ssh: True}" install.yml
20

  
21
deploy:
22
	ansible-playbook -i inventory.yml deploy-tenants.yml
23

  
24
renew-certificate:
25
	ansible-playbook -K -i inventory.yml --tags "tls" install.yml
26

  
27
upgrade:
28
	ansible-playbook -K -i inventory.yml --tags "source" install.yml
29

  
30
upgrade-ssh:
31
	ansible-playbook -K -i inventory.yml -e "{git_ssh: True}" --tags "source" install.yml
32

  
33
upgrade-notheme:
34
	ansible-playbook -K -i inventory.yml -e "{compile_theme: False}" install.yml
35

  
36
upgrade-notheme-ssh:
37
	ansible-playbook -K -i inventory.yml -e "{compile_theme: False}" -e "{git_ssh: True}" install.yml
0
-