-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 ...................." | ||
|