-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(nextcloud_test): Move Dockerfile init steps to separate scripts
Signed-off-by: provokateurin <kate@provokateurin.de>
- Loading branch information
1 parent
003a069
commit 0aacd5d
Showing
3 changed files
with
29 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
set -eux | ||
|
||
./occ app:enable cookbook "$@" | ||
./occ app:enable news "$@" | ||
./occ app:enable notes "$@" | ||
./occ app:enable uppush "$@" | ||
./occ app:enable spreed "$@" | ||
./occ talk:turn:add turn,turns staticauth.openrelay.metered.ca:443 udp,tcp --secret openrelayprojectsecret | ||
./occ app:enable tables "$@" | ||
./occ app:enable drop_account "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
set -eux | ||
|
||
./occ maintenance:install --admin-pass admin --admin-email admin@example.com | ||
./occ config:system:set allow_local_remote_servers --value=true | ||
./occ config:system:set trusted_domains 1 --value="*" | ||
./occ config:system:set debug --value=true --type=boolean | ||
./occ config:system:set loglevel --value=0 --type=integer | ||
|
||
./occ app:disable password_policy | ||
OC_PASS="user1" ./occ user:add --password-from-env --display-name "User One" user1 | ||
OC_PASS="user2" ./occ user:add --password-from-env --display-name "User Two" user2 | ||
./occ app:enable password_policy |