9494 cluster-name : " test"
9595
9696
97- rollout :
98- name : Rollout to the server
97+ rollout-main-akvo-rag :
98+ name : Rollout to main Akvo RAG server
9999 needs : build-push
100100 runs-on : ubuntu-latest
101101 environment : Test
@@ -152,4 +152,65 @@ jobs:
152152 container-name : " script"
153153 cluster-name : " test"
154154 namespace-name : " akvo-rag-namespace"
155+ gcloud-sa : ${{ secrets.GCLOUD_SERVICE_ACCOUNT_K8S }}
156+
157+
158+ rollout-agriconnect-rag :
159+ name : Rollout to Agriconnect RAG server
160+ needs : build-push
161+ runs-on : ubuntu-latest
162+ environment : Test
163+ steps :
164+ - name : Checkout
165+ uses : actions/checkout@v4
166+ with :
167+ path : src
168+
169+ - name : Checkout Akvo composite actions
170+ uses : actions/checkout@v4
171+ with :
172+ repository : akvo/composite-actions
173+ token : ${{ secrets.GH_PAT }}
174+ path : composite-actions
175+ ref : 0.0.9
176+
177+ - name : Rollout Nginx
178+ uses : ./composite-actions/.github/actions/k8s-rollout
179+ with :
180+ app-name : " agriconnect-rag"
181+ deployment-name : " nginx-deployment"
182+ container-name : " nginx"
183+ cluster-name : " test"
184+ namespace-name : " agriconnect-rag-namespace"
185+ gcloud-sa : ${{ secrets.GCLOUD_SERVICE_ACCOUNT_K8S }}
186+
187+
188+ - name : Rollout Frontend
189+ uses : ./composite-actions/.github/actions/k8s-rollout
190+ with :
191+ app-name : " agriconnect-rag"
192+ deployment-name : " frontend-deployment"
193+ container-name : " frontend"
194+ cluster-name : " test"
195+ namespace-name : " agriconnect-rag-namespace"
196+ gcloud-sa : ${{ secrets.GCLOUD_SERVICE_ACCOUNT_K8S }}
197+
198+ - name : Rollout Backend
199+ uses : ./composite-actions/.github/actions/k8s-rollout
200+ with :
201+ app-name : " agriconnect-rag"
202+ deployment-name : " backend-deployment"
203+ container-name : " backend"
204+ cluster-name : " test"
205+ namespace-name : " agriconnect-rag-namespace"
206+ gcloud-sa : ${{ secrets.GCLOUD_SERVICE_ACCOUNT_K8S }}
207+
208+ - name : Rollout Script
209+ uses : ./composite-actions/.github/actions/k8s-rollout
210+ with :
211+ app-name : " agriconnect-rag"
212+ deployment-name : " script-deployment"
213+ container-name : " script"
214+ cluster-name : " test"
215+ namespace-name : " agriconnect-rag-namespace"
155216 gcloud-sa : ${{ secrets.GCLOUD_SERVICE_ACCOUNT_K8S }}
0 commit comments