]> _ Git - fluidbook_processfarm.git/commitdiff
wip #5532 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Oct 2022 07:49:38 +0000 (09:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Oct 2022 07:49:38 +0000 (09:49 +0200)
README.md
updateall.bat [new file with mode: 0644]
updatecode [new file with mode: 0755]
updatecode.bat [new file with mode: 0644]

index 68321e8867731fa37c4aa392ef2093b0b78a2178..6dd4b902d2c3c622e31edf2b4afafaf33ac01dd5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2,4 +2,4 @@
 
 On the farming server : 
 
-`apt install -y git;mkdir -p /docker/fluidbook-processfarm;git clone git://git.cubedesigners.com/fluidbook_processfarm.git .;./update`
\ No newline at end of file
+`apt install -y git;mkdir -p /docker/fluidbook-processfarm;cd /docker/fluidbook-processfarm;git clone git://git.cubedesigners.com/fluidbook_processfarm.git .;./update`
\ No newline at end of file
diff --git a/updateall.bat b/updateall.bat
new file mode 100644 (file)
index 0000000..18c1168
--- /dev/null
@@ -0,0 +1,8 @@
+ssh root@alien.cubedesigners.com "/docker/fluidbook-processfarm/update"
+ssh root@brazil.cubedesigners.com "/docker/fluidbook-processfarm/update"
+ssh root@dracula.cubedesigners.com "/docker/fluidbook-processfarm/update"
+ssh root@192.168.10.5 -p 22822 "/docker/fluidbook-processfarm/update"
+ssh root@fastandfurious.cubedesigners.com -p 22822 "/docker/fluidbook-processfarm/update"
+ssh root@her2.cubedesigners.com "/docker/fluidbook-processfarm/update"
+ssh root@192.168.10.16 "/docker/fluidbook-processfarm/update"
+ssh root@192.168.10.167 "/docker/fluidbook-processfarm/update"
\ No newline at end of file
diff --git a/updatecode b/updatecode
new file mode 100755 (executable)
index 0000000..fdd1a04
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+cd /docker/fluidbook-processfarm
+git config --global --add safe.directory /docker/fluidbook-processfarm
+git stash
+git pull origin master
+chmod 755 /docker/fluidbook-processfarm/app/bin/*
+chmod 755 /docker/fluidbook-processfarm/ssh
+chmod 600 /docker/fluidbook-processfarm/ssh/id_rsa
+docker exec fluidbook-processfarm composer update
\ No newline at end of file
diff --git a/updatecode.bat b/updatecode.bat
new file mode 100644 (file)
index 0000000..3d804cd
--- /dev/null
@@ -0,0 +1,8 @@
+ssh root@alien.cubedesigners.com "/docker/fluidbook-processfarm/updatecode"
+ssh root@brazil.cubedesigners.com "/docker/fluidbook-processfarm/updatecode"
+ssh root@dracula.cubedesigners.com "/docker/fluidbook-processfarm/updatecode"
+ssh root@192.168.10.5 -p 22822 "/docker/fluidbook-processfarm/updatecode"
+ssh root@fastandfurious.cubedesigners.com -p 22822 "/docker/fluidbook-processfarm/updatecode"
+ssh root@her2.cubedesigners.com "/docker/fluidbook-processfarm/updatecode"
+ssh root@192.168.10.16 "/docker/fluidbook-processfarm/updatecode"
+ssh root@192.168.10.167 "/docker/fluidbook-processfarm/updatecode"
\ No newline at end of file