61 Commits

Author SHA1 Message Date
Wolfgang Huß
b4ca141ab7 Simplify conditions for checking existence of environment variables after Ulf G. suggestion
Co-Authored-By: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2023-12-20 12:15:53 +01:00
Wolfgang Huß
0d4bfaf052 Add second empty line before logging in 'clusters.backup-multiple-servers.sh' 2023-12-12 17:35:00 +01:00
Wolfgang Huß
e0722cc576 Log good readable explicit cluster name 2023-12-12 17:34:04 +01:00
Wolfgang Huß
c8abe9c51c Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6812-script-auto-backups-for-kubernetes-servers
# Conflicts:
#	neo4j/README.md
2023-12-12 16:59:35 +01:00
Wolfgang Huß
0b8407ccff Remove '--database=neo4j' and '--expand-commands' from all the database commands 2023-12-12 16:13:46 +01:00
Wolfgang Huß
af1de3d4a2 Revert "Add database name as variable to script"
This reverts commit 1dc871d3069917d9e4720f093aa320368012aa58.
2023-12-12 15:53:54 +01:00
Wolfgang Huß
1dc871d306 Add database name as variable to script 2023-12-01 15:06:38 +01:00
Wolfgang Huß
7d4a75a94c Refine checking of definition of variables 2023-12-01 15:02:25 +01:00
Wolfgang Huß
c240fe32ad Add more detailed logs for the scripts
- Ignore 'backup-cron-job.log' files.
2023-12-01 14:39:38 +01:00
Wolfgang Huß
b95b036265 Change database name from 'graph.db' to 'neo4j' 2023-11-30 08:05:45 +01:00
Wolfgang Huß
aeb1432630 Avoid 'else' cases after exit in the 'if' case
- Remove todo.
2023-11-29 10:03:29 +01:00
Wolfgang Huß
21992c9beb Remove all debugging outputs
- Refine comment.
2023-11-28 16:40:10 +01:00
Wolfgang Huß
ae41243324 Fix deletion of wrong backup directory on the backup server with alpine system 2023-11-28 15:45:41 +01:00
Wolfgang Huß
72978889ef Revert "Add several curly brackets to script 'clusters.backup-multiple-servers.sh', because not all is function well on the backup server"
This reverts commit 4c9d588e9a8695bab31e7f1e4af6322fc5d5fb00.
2023-11-28 12:33:00 +01:00
Wolfgang Huß
4c9d588e9a Add several curly brackets to script 'clusters.backup-multiple-servers.sh', because not all is function well on the backup server 2023-11-28 12:16:18 +01:00
Wolfgang Huß
2f8d0eda36 Add debugging 2023-11-28 09:06:50 +01:00
Wolfgang Huß
5b2a1320f0 Export 'CONFIGURATION' instead just assigning it 2023-11-28 08:49:43 +01:00
Wolfgang Huß
6fe2fdfb2c Debug script more detailed 2023-11-27 15:43:34 +01:00
Wolfgang Huß
0bea2cdca9 Echo 'SCRIPT_PATH' and 'SCRIPT_DIR' for debugging 2023-11-27 14:44:18 +01:00
Wolfgang Huß
33b8df4e53 Log the variables only if defined 2023-11-27 13:55:52 +01:00
Wolfgang Huß
ae17ef791c Remove single quotes from 'clusters.backup-multiple-servers.sh' 2023-11-27 13:35:08 +01:00
Wolfgang Huß
524d651553 Rename script 'clusters.cron-backups.sh' to 'clusters.backup-multiple-servers.sh' 2023-11-23 11:04:47 +01:00
Wolfgang Huß
1f28bed280 Check for definition of variable 'BACKUP_SAVED_BACKUPS_NUMBER' 2023-11-23 10:56:19 +01:00
Wolfgang Huß
864f4344ad Extend script by deleting old backups 2023-11-22 16:23:40 +01:00
Wolfgang Huß
6af26472c0 Add time stamp to backup script 2023-11-22 15:14:00 +01:00
Wolfgang Huß
0bf4ea56bd Export 'BACKUP_CONFIGURATIONS' from 'deployment/.env' and use it. 2023-11-21 15:59:33 +01:00
Wolfgang Huß
fa19947943 Upgrade cert-manager version for Kubernetes 2023-11-21 09:47:29 +01:00
Wolfgang Huß
e3e634d848 Add deployment script 'clusters.cron-backups.sh' 2023-11-02 12:35:42 +01:00
Wolfgang Huß
e8c5fa3696
Merge branch 'master' into 6179-add-script-to-set-neo4j-in-offline-mode-and-back 2023-11-01 15:14:49 +01:00
Wolfgang Huß
85e6b5fc48 Change 'cluster.neo4j.sh' commands to 'maintenance on' and 'maintenance off' 2023-10-25 13:56:14 +02:00
Wolfgang Huß
16ce5673a3 Change 'cluster.neo4j.sh' switching command to same mechanic as maintenance 2023-10-25 13:26:23 +02:00
Wolfgang Huß
202353bcb4 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6179-add-script-to-set-neo4j-in-offline-mode-and-back 2023-10-25 13:19:12 +02:00
Wolfgang Huß
844ad0ff21 Add Kubernetes cluster installation script to Kubernetes deployment 2023-10-25 12:29:55 +02:00
Wolfgang Huß
2f587afb5e Fix backup script for neo4j v4
Co-Authored-By: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2023-08-08 14:15:40 +02:00
4de840f2ea
fix build paths 2023-07-07 23:09:02 +02:00
b6b1a62ffb
fix reference to dist folder when its build now 2023-06-02 15:34:35 +02:00
5e089ddb0d
removed some artifact from branded-images.build script 2023-04-18 12:31:29 +02:00
9dc62d63d8
name branded images 2023-04-17 14:56:47 +02:00
Wolfgang Huß
8d68537e32 Refactor backup script by using new 'cluster.neo4j.sh' 2023-03-22 16:18:07 +01:00
Wolfgang Huß
fd7e39e959 Add script to set Neo4j in offline (maintenance) mode and back online 2023-03-22 16:17:57 +01:00
3a4f7b40b6
supply github run number via json payload, tag branded images with ocelot build number 2023-03-21 10:57:05 +01:00
Hannes Heine
9101140645
Merge branch 'master' into cluster-deploy-no-debug-mode 2023-03-21 07:28:03 +01:00
12633389b4
Merge branch 'master' into cluster-deploy-no-debug-mode 2023-03-20 21:41:24 +01:00
d3c9a9ade9
dont use debug mode to prevent exposing secrets 2023-03-20 20:55:34 +01:00
2f0b2f63df
echo current configuration when running scripts 2023-03-20 16:50:46 +01:00
e5b8aadbbe
missing trailing slash 2023-03-20 13:38:19 +01:00
76f7362a0a
upgrade script correction 2023-03-20 13:29:19 +01:00
49ed4437f4
make configuration a mandatory variable 2023-03-20 11:01:53 +01:00
67d15db533
cluster upgrade to specific version 2023-03-15 12:25:41 +01:00
528a5decf9
missing permissions 2023-03-14 02:52:39 +01:00