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 6c49b9b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,22 @@ 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",
"php occ encrypt-all --yes",
],
}],
"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 6c49b9b

Please sign in to comment.