From 593326faaf72569c339349498f22b05bb1d2a6c9 Mon Sep 17 00:00:00 2001 From: Paul Gilzow Date: Mon, 13 Feb 2023 11:39:48 -0600 Subject: [PATCH] adds source ops auto-update to .platform.app.yaml for FastAPI template --- templates/fastapi/files/.platform.app.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/fastapi/files/.platform.app.yaml b/templates/fastapi/files/.platform.app.yaml index 6ec3b8a7c..1321a2f8d 100644 --- a/templates/fastapi/files/.platform.app.yaml +++ b/templates/fastapi/files/.platform.app.yaml @@ -34,3 +34,9 @@ relationships: web: commands: start: python server.py + +source: + operations: + auto-update: + command: | + curl -fsS https://raw.githubusercontent.com/platformsh/source-operations/main/setup.sh | { bash /dev/fd/3 sop-autoupdate; } 3<&0