Skip to content

Commit

Permalink
feat/tagged releases (#273)
Browse files Browse the repository at this point in the history
* fix: move livenessprobe to curl for server

* fix: nav-link stories being full width
  • Loading branch information
geisterfurz007 authored Jan 12, 2024
1 parent 69e6bb7 commit e5c9a0b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 8 additions & 6 deletions deployment/helm/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions packages/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config = {
},
decorators: [
(Story) => (
<div className='flex'>
<div className='inline-flex'>
<Story />
</div>
),
Expand Down

0 comments on commit e5c9a0b

Please sign in to comment.