Skip to content

Commit

Permalink
Added pipe to configure encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranparajuli589 committed Oct 21, 2021
1 parent b5d5dde commit 6d21642
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ config = {
"encryption": "composer install",
},
"testingRemoteSystem": False,
"extraSetup": [{
"name": "configure-encryption",
"image": "owncloudci/php:7.4",
"pull": "always",
"commands": [
"php occ encryption:enable",
"php occ encryption:select-encryption-type masterkey --yes",
"php occ encryption:status",
],
}],
"extraCommandsBeforeTestRun": [
"mkdir data/owncloud-keys",
"chown -R www-data data/owncloud-keys",
"chmod -R 0770 data/owncloud-keys",
"php occ encryption:enable",
"php occ encryption:select-encryption-type masterkey --yes",
"php occ encryption:status",
"php occ encrypt-all --yes",
],
},
},
Expand Down

0 comments on commit 6d21642

Please sign in to comment.