Vault Envs

This commit is contained in:
gisele-igore 2023-04-03 18:10:43 +02:00
parent f741a0c71a
commit f3c15a7b34
2 changed files with 0 additions and 72 deletions

View File

@ -1,62 +0,0 @@
version: 2.1
orbs:
helm: circleci/helm@2.0.1
parameters:
########################################################
################## DO NOT EDIT #########################
########################################################
charts:
type: boolean
description: This is the directory of the charts
default: false
########################################################
###################################################################
################ COMMANDS #######################
###################################################################
jobs:
package-helm-chart:
docker:
- image: cimg/base:stable
steps:
- checkout
- helm/install-helm-client
- run:
name: Helm dependency build
command: helm dependency build helm-charts
- run:
name: Helm lint
command: helm lint helm-charts
- run:
name: Install Chart Releaser
command: |
cd /tmp
curl -sSL https://github.com/helm/chart-releaser/releases/download/v1.2.1/chart-releaser_1.2.1_linux_amd64.tar.gz | tar xzf -
mv cr ~/bin/cr
- add_ssh_keys:
fingerprints:
- "e6:6b:41:5b:4f:27:66:8e:06:be:f3:70:5a:73:db:3b"
- run:
name: Install Chart Releaser
command: |
git config user.email "devops@smart-chain.fr"
git config user.name "CircleCI Job"
helm package helm-charts --destination .deploy
cr upload -o smart-chain-fr -r tezoslink -p .deploy
git checkout gh-pages
cr index -i ./index.yaml -p .deploy -o smart-chain-fr -r tezoslink -c https://smart-chain-fr.github.io/tezosLink/
git add index.yaml
git commit -m "Automatic commit from CircleCI [skip ci]"
git push origin gh-pages
workflows:
version: 2
deploy-helm-chart:
when: <<pipeline.parameters.charts>>
jobs:
- package-helm-chart

View File

@ -43,16 +43,6 @@ lecoffreBack:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
env:
DATABASE_HOSTNAME: "localhost"
DATABASE_PORT: "59445"
DATABASE_USER: "postgres"
DATABASE_PASSWORD: "0000"
DATABASE_NAME: "postgres"
POSTGRES_PASSWORD: "0000"
APP_LABEL: "lecoffre"
APP_PORT: 3001
API_ROOT_URL: /api
livenessProbe:
enabled: true
path: /health