meateam / drive-project

A general repo for project issues bugs and documentations
0 stars 0 forks source link

Auto deployment tags script

Prerequisites:


Run the script :

Available Flags:


deploy.env file example:

KBS_NAMESPACE="yaron"           # The name of the k8s namespace
KBS_DNS="kbs-yaron"             # The name of the k8s dns
HELM_DEPLOY_NAME="yaron-deploy" # Helm deployment name
JSON_FILE="services.dev.json"   # name of json services file
HELM_DEPENDENCIES=true          # reinstall helm dependencies
ACR_PASS=""                     # acr password from drivehub Access keys, in azure

FILES JSON EXPLAINED


Git submodule

when you want to add a service you need to add the service as git submodule.

   git submodule add https://github.com/meateam/<service-name> # add service

   git submodule init

for updating the commit in submodule:

git submodule foreach git pull origin develop #update all