From e4bf087ce59e5f0ab5a8d38cb37b4eaf93393780 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Mon, 16 Jun 2025 23:38:17 +0300 Subject: [PATCH] Try to build the frontend and the backend and see if its update --- .woodpecker.yaml | 5 ++--- backend/main.py | 2 +- frontend/src/App.jsx | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 21960ce..9103ddc 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -38,8 +38,8 @@ steps: from_secret: DOCKER_USERNAME password: from_secret: DOCKER_PASSWORD - - update-values-frontend: + + update-values-frontend: name: Update frontend tag in values.yaml image: alpine:3.19 when: @@ -84,4 +84,3 @@ steps: - git add manifests/labmap/values.yaml - "git commit -m 'backend: update tag to ${CI_COMMIT_SHA:0:7}' || echo 'No changes'" - git push origin master - diff --git a/backend/main.py b/backend/main.py index fc1e981..21d4717 100644 --- a/backend/main.py +++ b/backend/main.py @@ -24,7 +24,7 @@ DATA_FILE = "diagram.json" @app.get("/") def root(): - return {"message": "Check if the backend is running"} + return {"message": "Check if the server is running"} @app.get("/diagram/fetch") def fetch_diagram(): diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 535e505..30a168e 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -4,4 +4,4 @@ function App() { return ; } -export default App; \ No newline at end of file +export default App;