Skip to content

Commit

Permalink
.gitignore is now working
Browse files Browse the repository at this point in the history
  • Loading branch information
lagden committed Nov 8, 2023
1 parent cc7cbaf commit f0b92e7
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 38 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ logs
# Coverage
coverage/**
!coverage/lcov.info

# stuff
_cleanup
_init
28 changes: 28 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
variables:
KUBE_NAMESPACE: services
HELM_RELEASE_NAME: cors

include:
- project: "inovacao/devops/template-cicd"
file: "sonar-js.yaml"
- project: "inovacao/devops/template-cicd"
file: "test-nodejs.yaml"
- project: "inovacao/devops/template-cicd"
file: "build-nodejs.yaml"
- project: "inovacao/devops/template-cicd"
file: "deploy.yaml"

test:
extends: .test

sonar:
extends: .sonar_js

build:
extends: .build

stages:
- test
- sonar
- build
- deploy
27 changes: 0 additions & 27 deletions _cleanup

This file was deleted.

11 changes: 0 additions & 11 deletions _init

This file was deleted.

38 changes: 38 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
service:
enabled: true
port: 5001

resources:
requests:
cpu: 10m
memory: 100Mi

ingress:
enabled: true
domain: "teleport.com.br"
host: "services"
path: "/cors"
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "15m"

autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 20
targetCPUUtilizationPercentage: 85
targetMemoryUtilizationPercentage: 85

extraEnv:
# General
- name: APP_NS
value: "services-cors"
- name: NODE_ENV
value: "production"
- name: TZ
value: "America/Sao_Paulo"

# Debug
- name: DEBUG_PREFIX
value: "services-cors"
- name: DEBUG
value: "services-cors:*"

0 comments on commit f0b92e7

Please sign in to comment.