Skip to content

Commit 3f09f13

Browse files
committed
Remove Helm chart deployment and ArgoCD application deployment steps from ArgoCD workflow
1 parent 69c0979 commit 3f09f13

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/argocd.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,4 @@ jobs:
6868
6969
- name: Create Application Namespace
7070
run: |
71-
kubectl create namespace ${{ inputs.app_namespace }} --dry-run=client -o yaml | kubectl apply -f -
72-
73-
- name: Deploy Helm Chart
74-
run: |
75-
helm upgrade --install ${{ inputs.app_name }} ./helm \
76-
--namespace ${{ inputs.app_namespace }} \
77-
--set mongo.uri="${{ secrets.MONGO_URI }}" \
78-
--set mongo.username="${{ secrets.MONGO_USERNAME }}" \
79-
--set mongo.password="${{ secrets.MONGO_PASSWORD }}" \
80-
--set image.tag="${{ inputs.image_tag || github.sha }}"
81-
82-
- name: Deploy ArgoCD Applications
83-
run: |
84-
export APP_NAME=${{ inputs.app_name }}
85-
export APP_NAMESPACE=${{ inputs.app_namespace }}
86-
export ARGOCD_NAMESPACE=${{ inputs.argocd_namespace }}
87-
envsubst < ./argocd/application.yml | kubectl apply -f -
71+
kubectl create namespace ${{ inputs.app_namespace }} --dry-run=client -o yaml | kubectl apply -f -

0 commit comments

Comments
 (0)