From e5c9a0b907918a431375770374c7014074da6511 Mon Sep 17 00:00:00 2001 From: geisterfurz007 Date: Fri, 12 Jan 2024 17:16:07 +0100 Subject: [PATCH] feat/tagged releases (#273) * fix: move livenessprobe to curl for server * fix: nav-link stories being full width --- deployment/helm/templates/backend/deployment.yaml | 14 ++++++++------ packages/server/Dockerfile | 2 ++ .../navigation/nav-link/nav-link.stories.tsx | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/deployment/helm/templates/backend/deployment.yaml b/deployment/helm/templates/backend/deployment.yaml index 73bf4f5a..8297e029 100644 --- a/deployment/helm/templates/backend/deployment.yaml +++ b/deployment/helm/templates/backend/deployment.yaml @@ -38,12 +38,14 @@ spec: periodSeconds: 10 exec: command: - - wget - - '--post-data=""' - - http://localhost:5002/_yesbot-schema - - '-O' - - /dev/null - - '-q' + - curl + - '-X' + - POST + - '-H' + - 'Content-Type: application/json' + - '-d' + - '{"query": "query test { Features { docs { id } } }"}' + - http://localhost:5000/graphql env: - name: NODE_ENV value: production diff --git a/packages/server/Dockerfile b/packages/server/Dockerfile index 60154f97..49455f0c 100644 --- a/packages/server/Dockerfile +++ b/packages/server/Dockerfile @@ -38,6 +38,8 @@ RUN yarn prisma generate && yarn build FROM node:20.9-alpine WORKDIR /app +RUN apk add curl --no-cache + # Copy relevant data from builder COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/packages/server/dist ./dist diff --git a/packages/web/src/ui/common/navigation/nav-link/nav-link.stories.tsx b/packages/web/src/ui/common/navigation/nav-link/nav-link.stories.tsx index 90083cbc..809137a4 100644 --- a/packages/web/src/ui/common/navigation/nav-link/nav-link.stories.tsx +++ b/packages/web/src/ui/common/navigation/nav-link/nav-link.stories.tsx @@ -11,7 +11,7 @@ const config = { }, decorators: [ (Story) => ( -
+
),