From 3bfaf7c861f59e9a480b3c170d1fed2b5b98ba7f Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Wed, 27 Sep 2023 08:41:06 +0000 Subject: [PATCH] Update Flex endpoint --- ...369f9a34fd355e9e935c9b5e2875256cc4600.json | 76 +++++++++++++++++++ bref.symfony-bridge.0.1.json | 6 +- 2 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 archived/bref.symfony-bridge/4b3369f9a34fd355e9e935c9b5e2875256cc4600.json diff --git a/archived/bref.symfony-bridge/4b3369f9a34fd355e9e935c9b5e2875256cc4600.json b/archived/bref.symfony-bridge/4b3369f9a34fd355e9e935c9b5e2875256cc4600.json new file mode 100644 index 00000000..fe635045 --- /dev/null +++ b/archived/bref.symfony-bridge/4b3369f9a34fd355e9e935c9b5e2875256cc4600.json @@ -0,0 +1,76 @@ +{ + "manifests": { + "bref/symfony-bridge": { + "manifest": { + "copy-from-recipe": { + "serverless.yaml": "serverless.yml" + }, + "gitignore": [ + "/.serverless/" + ], + "post-install-output": [ + " * Read the full documentation to properly configure your", + " Symfony application at https://bref.sh/docs/frameworks/symfony.html", + "", + " * Bref documentation: https://bref.sh/docs/" + ] + }, + "files": { + "serverless.yaml": { + "contents": [ + "# Read the documentation at https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml/", + "service: symfony", + "", + "provider:", + " name: aws", + " # The AWS region in which to deploy (us-east-1 is the default)", + " region: us-east-1", + " # The stage of the application, e.g. dev, production, staging\u2026 ('dev' is the default)", + " stage: dev", + " runtime: provided.al2", + " environment:", + " # Symfony environment variables", + " APP_ENV: prod", + "", + "plugins:", + " - ./vendor/bref/bref", + "", + "functions:", + " # This function runs the Symfony website/API", + " web:", + " handler: public/index.php", + " timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds)", + " layers:", + " - ${bref:layer.php-81-fpm}", + " events:", + " - httpApi: '*'", + " # This function let us run console commands in Lambda", + " console:", + " handler: bin/console", + " timeout: 120 # in seconds", + " layers:", + " - ${bref:layer.php-81} # PHP", + " - ${bref:layer.console} # The \"console\" layer", + "", + "package:", + " patterns:", + " # Excluded files and folders for deployment", + " - '!assets/**'", + " - '!node_modules/**'", + " - '!public/build/**'", + " - '!tests/**'", + " - '!var/**'", + " # If you want to include files and folders that are part of excluded folders,", + " # add them at the end", + " - 'var/cache/prod/**'", + " - 'public/build/entrypoints.json'", + " - 'public/build/manifest.json'", + "" + ], + "executable": false + } + }, + "ref": "4b3369f9a34fd355e9e935c9b5e2875256cc4600" + } + } +} diff --git a/bref.symfony-bridge.0.1.json b/bref.symfony-bridge.0.1.json index ccdffb27..fe635045 100644 --- a/bref.symfony-bridge.0.1.json +++ b/bref.symfony-bridge.0.1.json @@ -41,7 +41,7 @@ " handler: public/index.php", " timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds)", " layers:", - " - ${bref:layer.php-80-fpm}", + " - ${bref:layer.php-81-fpm}", " events:", " - httpApi: '*'", " # This function let us run console commands in Lambda", @@ -49,7 +49,7 @@ " handler: bin/console", " timeout: 120 # in seconds", " layers:", - " - ${bref:layer.php-80} # PHP", + " - ${bref:layer.php-81} # PHP", " - ${bref:layer.console} # The \"console\" layer", "", "package:", @@ -70,7 +70,7 @@ "executable": false } }, - "ref": "073e577186ef96e4f26df1f8a3dc14a48826d364" + "ref": "4b3369f9a34fd355e9e935c9b5e2875256cc4600" } } }