Commit graph

410 commits

Author SHA1 Message Date
Tom Wiesing
437f499fb4
Remove unuused files
This commit completes the code porting to go, and removes any old data
no longer in use.
2022-09-08 14:39:05 +02:00
Tom Wiesing
df4cfa3567
Add 'wdcli monday' command 2022-09-08 14:39:05 +02:00
Tom Wiesing
fc3b9170a6
wdcli: Implement backup & snapshot
This commit implements command backup and snapshot.
2022-09-08 14:39:05 +02:00
Tom Wiesing
d818cb93a5
Rename backups => snapshot 2022-09-08 14:39:05 +02:00
Tom Wiesing
611cbeebb9
Use go 1.18.6 2022-09-08 14:39:05 +02:00
Tom Wiesing
bb73a73f57
backup: Move taking snapshot to separate function
This commit moves taking a snapshot of a running instance to a separate
function.
2022-09-08 14:39:05 +02:00
Tom Wiesing
ef338cca05
resources: Properly truncate files
Previously when rewriting specific template files they were not
overwritten properly. This commit updates the behaviour to use the right
os.Open flags.
2022-09-08 14:39:05 +02:00
Tom Wiesing
3c64689068
cmd/backup: Fix snapshot not being removed 2022-09-08 14:39:05 +02:00
Tom Wiesing
54747e267e
mv 'env/stack{,_*}.go' => 'env/component{,_*}.go' 2022-09-08 14:39:04 +02:00
Tom Wiesing
09431c4869
env: Move each component into a separate struct
This commit cleans up the distillery code by making each component a
distinct struct. Each of these components is also returned by by a new
Component() function that replaces the Stacks() function.
2022-09-08 14:39:04 +02:00
Tom Wiesing
2a14d93d3c
Implement initial 'wdcli backup_instance' command
This commit performs an initial implementation of the 'backup_instance'
command.
2022-09-08 14:39:04 +02:00
Tom Wiesing
a64c02cd78
internal: Improve error message consistency 2022-09-08 14:39:04 +02:00
Tom Wiesing
5d906169f4
internal/stack: Cleanup API
This commit cleans up the internal stack API to prepare it for an
eventual move to using a native docker client.
2022-09-08 14:39:04 +02:00
Tom Wiesing
7b38fdd801
Do a large chunk of the move to go
This commit moves a huge chunk of the code to go. The TODO.md document
indicates what is left to be done.
2022-09-08 14:39:04 +02:00
Tom Wiesing
db2ad9b4bd
compose.yml: network.external.name => network.name
This commit updates the various `docker-compose.yml` files to replace
`network.external.name` with `network.name`.
2022-09-08 14:39:02 +02:00
Tom Wiesing
067c1ed00b
Fix provision_container.sh 2022-09-08 11:36:16 +02:00
Tom Wiesing
4b0b86f22c
sql: Expose default port to host
This port exposes the sql connection to the host on the default
(localhost) port
2022-08-15 13:37:16 +02:00
Tom Wiesing
f478702d1f
Add utility to make new mysql account 2022-08-15 11:57:05 +02:00
Tom Wiesing
5f532d0841
prefixes: Allow instances to be skipped
This commit allows an instance to be skipped for the purposes of the
resolver by adding a file named `prefixes.skip` to the instance base
directory. This can be useful for dummy or cloned instances.
2022-08-07 16:30:50 +02:00
Tom Wiesing
1d1f61e6b4
update_prefix_config: Use https when enabled
This commit updates the 'update_prefix_config.sh' script to use an
'https://' as opposed to an 'http://' url when support is enabled.
2022-08-03 18:27:25 +02:00
Tom Wiesing
5170cc5dda
system_update.sh: Bugfix
This commit fixes a broken system_update.sh that did not properly
rebuild the resolver configuration.
2022-08-01 17:11:00 +02:00
Tom Wiesing
cb34e1144f
Allow instances to add prefixes by hand
This commit adds a method to allow instances to add specific prefixes to
the global uri resolver.
2022-08-01 17:07:08 +02:00
Tom Wiesing
210668a49b
update_prefix_config: Add 'http://' prefix 2022-08-01 15:52:28 +02:00
Tom Wiesing
45ee6b665e
Add a resolver
This commit adds a resolver to the toplevel Distillery domain, to allow
resolving domains globally.
2022-08-01 15:41:20 +02:00
Tom Wiesing
eee3d95351
provision_container: Refactor installation order
This commit updates the order in which modules are installed and enabled
during installation to make the provisioning script simpler.
2022-07-13 13:58:17 +02:00
Tom Wiesing
f8c18d8d83
provision_container: Enable additional modules 2022-07-12 16:46:11 +02:00
Tom Wiesing
8cc5b57c54
Split into monday_full.sh & monday_short.sh
This commit splits the 'monday.sh' script into a shell script
'monday_full.sh' (to update, rebuild, and redo all instances) and
'monday_short.sh' (to rebuild only the core system).

This brings the scripts in line with our current policy.
2022-07-12 16:30:06 +02:00
Tom Wiesing
80aabd29c5
provision_container: Run core-cron 2022-07-12 15:50:56 +02:00
Tom Wiesing
a4b8f09a8a
provision.sh: Update trusted host patterns 2022-07-12 15:43:49 +02:00
Tom Wiesing
18c4957e30
graphdb: Update api usage for 10.x
This commit updates the usage of the GraphDB API for version 10.0 or
later.
2022-07-11 15:49:39 +02:00
Tom Wiesing
07755aacf5
provision: Autocreate WissKI Salz Adapter
This commit updates the 'provision_container.sh' script to automatically
create a WissKI Salz Adapter.
2022-07-11 15:07:24 +02:00
Tom Wiesing
5415bc632c
barrel/Dockerfile: Fix composer version 2022-07-04 14:52:00 +02:00
Tom Wiesing
01da5b6e91 Rename bash scripts consistently 2022-06-27 13:38:33 +02:00
Tom Wiesing
b8be1e641b
distillery/backup_instance.sh: Fix typo 2022-06-01 13:52:22 +02:00
Tom Wiesing
0e38f2f87e
Update FAU Link 2022-04-08 14:53:45 +02:00
Tom Wiesing
1820dbc2e7
Remove 'mv_domain.sh' to prevent running it 2022-04-08 13:58:24 +02:00
Tom Wiesing
b3c3fa2338
Add 'mv_domain.sh' script
This commit adds a new 'mv_domain.sh' script that moves from an old set
of wildcard domains to a new one.
2022-04-08 13:58:10 +02:00
Tom Wiesing
266521d6e5
Update backup_all.sh script 2022-03-30 15:19:46 +02:00
Tom Wiesing
1d57c95815
Rename & Document backup.sh => backup_all.sh 2022-03-30 15:10:44 +02:00
Tom Wiesing
215949bada
Add backup_instance.sh script 2022-03-30 15:03:16 +02:00
Tom Wiesing
4e0074b7f7
Update README.md 2022-03-21 10:04:17 +01:00
Tom Wiesing
f4d9235d19
Add distillery/monday.sh 2022-03-21 10:03:49 +01:00
Tom Wiesing
3080c837b2
phpmyadmin: Increase upload limit 2022-03-14 09:07:41 +01:00
Tom Wiesing
bb72f1173f
Use 'drupal/inline_entity_form:^1.0@RC' 2022-03-08 13:42:20 +01:00
Tom Wiesing
945fc80998
provision_container: Apply new workaround 2022-03-08 13:40:21 +01:00
Tom Wiesing
5976e19d10
provision_container: Fix for new composer version 2022-03-08 13:20:53 +01:00
Tom Wiesing
d10a359b49
purge.sh: Try without trailing '/'s 2022-03-08 13:16:13 +01:00
Tom Wiesing
1f71c8d4b1
purge.sh: Delete repo first, then user 2022-03-08 13:10:39 +01:00
Tom Wiesing
0ef02f4e7d
Add flags for specific drupal and wisski versions 2022-03-08 13:07:05 +01:00
Tom Wiesing
59ea9538e4
triplestore: Update to 16GB / 2 GB per query 2022-02-28 14:59:41 +01:00