From 6f16d462fbc7788c6dc1dcf5835a8d349cf62de5 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Mon, 16 Jun 2025 23:43:20 +0300 Subject: [PATCH] Rebuild and push the imagess to test the pipeline --- .woodpecker.yaml | 6 +++--- backend/main.py | 2 +- frontend/src/App.jsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 9103ddc..4d0eb4a 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -38,7 +38,7 @@ steps: from_secret: DOCKER_USERNAME password: from_secret: DOCKER_PASSWORD - + update-values-frontend: name: Update frontend tag in values.yaml image: alpine:3.19 @@ -55,7 +55,7 @@ steps: - apk add --no-cache git yq - git config --global user.name "woodpecker-bot" - git config --global user.email "ci@dvirlabs.com" - - git clone "https://${GIT_USERNAME}:${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" + - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" - cd my-apps - yq -i '.frontend.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml - git add manifests/labmap/values.yaml @@ -78,7 +78,7 @@ steps: - apk add --no-cache git yq - git config --global user.name "woodpecker-bot" - git config --global user.email "ci@dvirlabs.com" - - git clone "https://${GIT_USERNAME}:${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" + - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" - cd my-apps - yq -i '.backend.tag = "${CI_COMMIT_SHA:0:7}"' manifests/labmap/values.yaml - git add manifests/labmap/values.yaml diff --git a/backend/main.py b/backend/main.py index 21d4717..fc1e981 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 server is running"} + return {"message": "Check if the backend is running"} @app.get("/diagram/fetch") def fetch_diagram(): diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 30a168e..535e505 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -4,4 +4,4 @@ function App() { return ; } -export default App; +export default App; \ No newline at end of file