mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
103ebbb045
Extends workflow to test snapshots with minio.
17 lines
627 B
TypeScript
17 lines
627 B
TypeScript
import { checkMinIOExternalStorage,
|
|
configureMinIOExternalStorage } from 'app/server/lib/configureMinIOExternalStorage';
|
|
import { makeSimpleCreator } from 'app/server/lib/ICreate';
|
|
|
|
export const create = makeSimpleCreator({
|
|
// This can and should be overridden by GRIST_SESSION_SECRET
|
|
// (or generated randomly per install, like grist-omnibus does).
|
|
sessionSecret: 'Phoo2ag1jaiz6Moo2Iese2xoaphahbai3oNg7diemohlah0ohtae9iengafieS2Hae7quungoCi9iaPh',
|
|
storage: [
|
|
{
|
|
name: 'minio',
|
|
check: () => checkMinIOExternalStorage() !== undefined,
|
|
create: configureMinIOExternalStorage,
|
|
},
|
|
],
|
|
});
|