Skip to content

Commit

Permalink
Deploy new instance
Browse files Browse the repository at this point in the history
  • Loading branch information
mavalosn committed Dec 21, 2023
1 parent 1c6350d commit 8fc0b8c
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/deploy-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,27 @@ jobs:
imageEKS:
name: CreateDB
runs-on: self-hosted
container:
image: processmaker/cicd:latest
options: --user root
#container:
# image: processmaker/cicd:latest
# options: --user root
steps:
- name: Clone private repository
run: |
git clone --depth 1 -b eng "https://[email protected]/ProcessMaker/argocd.git" argocd
cd argocd
ls -la
- name: CreateDB
run: |
echo "Creating DB ............."
pwd
ls -la
cd /bin/
ls -la
echo "************************************"
cat db.sh
echo "************************************"
chmod +x /bin/db.sh
/bin/db.sh
cd argocd
kubectl apply -f template-db.yaml
echo "##### HELM VERSION ######"
helm version
- name: Deploy instance
run: |
echo "Creating DB ............."
cd argocd
helm list && helm repo add processmaker ${{ secrets.HELM_REPO }} --username ${{ secrets.HELM_USERNAME }} --password ${{ secrets.HELM_PASSWORD }} && helm install --timeout 40m -f values.yaml processmaker processmaker/enterprise --version 2.0.0
echo "##### HELM VERSION ######"
helm version
#imageEKS:
Expand All @@ -80,6 +85,6 @@ jobs:
# ls -la
# helm list
# cd argocd
# helm list && helm repo add processmaker ${{ secrets.HELM_REPO }} --username ${{ secrets.HELM_USERNAME }} --password ${{ secrets.HELM_PASSWORD }}
# helm list && helm repo add processmaker ${{ secrets.HELM_REPO }} --username ${{ secrets.HELM_USERNAME }} --password ${{ secrets.HELM_PASSWORD }} && helm install --timeout 40m -f values.yaml processmaker processmaker/enterprise --version 2.0.0
# echo "Finish migration ...................."

0 comments on commit 8fc0b8c

Please sign in to comment.