Skip to content

Commit

Permalink
ci: add pipeline and kubernetes manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjerkan committed Oct 23, 2024
1 parent 752acea commit 37d966b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 292 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
paths-ignore:
- '**README.md'
branches:
- main
- remove-navit-oauth
workflow_dispatch:
branches:
- main
- remove-navit-oauth

env:
IMAGE_TAG: plattform.azurecr.io/helsesjekk-bot/test
Expand Down
168 changes: 0 additions & 168 deletions .github/workflows/deploy.yaml

This file was deleted.

27 changes: 23 additions & 4 deletions manifests/test/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ kind: Deployment
metadata:
labels:
app: helsesjekk-bot
my-label: example
name: helsesjekk-bot
annotations:
nrk/criticality: "4"
nrk/documentation: "https://github.com/nrkno/helsesjekk-bot"
nrk/alert-treshold-max-unavailable-replicas: "50%"
nrk/ignore-monitoring: "false"
nrk/ignore-monitoring: "true"
spec:
replicas: 1
strategy:
Expand Down Expand Up @@ -53,12 +52,32 @@ spec:
resources:
limits:
cpu: 200m
memory: 256Mi
memory: 512Mi
requests:
cpu: 100m
memory: 256Mi
memory: 512Mi
securityContext:
readOnlyRootFilesystem: true
livenessProbe:
failureThreshold: 3
httpGet:
path: /api/internal/is_alive
port: 3000
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
httpGet:
path: /api/internal/is_ready
port: 3000
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
---
# Source: generic-app/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
Expand Down
56 changes: 0 additions & 56 deletions nais-dev.yml

This file was deleted.

62 changes: 0 additions & 62 deletions nais.yml

This file was deleted.

0 comments on commit 37d966b

Please sign in to comment.