Compare commits
9 Commits
new-new
...
ef5149864b
| Author | SHA1 | Date | |
|---|---|---|---|
| ef5149864b | |||
| f906007246 | |||
| 7d47da47a3 | |||
| 8306409d93 | |||
| 6efe8999bc | |||
| d558a37736 | |||
| 42914c5104 | |||
| a2c38737b4 | |||
| 2a6b52c461 |
@@ -46,7 +46,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
for name in $(argocd app resources ${{ inputs.environment }} | grep Deploy | grep ${{ github.event.repository.name }} | awk '{print($4)}'); do
|
for name in $(argocd app resources ${{ inputs.environment }} | grep Deploy | grep ${{ github.event.repository.name }} | awk '{print($4)}'); do
|
||||||
echo "Syncing $name"
|
echo "Syncing $name"
|
||||||
argocd app sync ${{ inputs.environment }} --resource "$name"
|
argocd app sync ${{ inputs.environment }} --resource apps:Deployment:$name;
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Refresh secret
|
- name: Refresh secret
|
||||||
@@ -59,3 +59,9 @@ runs:
|
|||||||
with:
|
with:
|
||||||
version: 3.1.3
|
version: 3.1.3
|
||||||
command: app actions run ${{ inputs.environment }} restart --kind Deployment --resource-name ${{github.event.repository.name}}
|
command: app actions run ${{ inputs.environment }} restart --kind Deployment --resource-name ${{github.event.repository.name}}
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
uses: clowdhaus/argo-cd-action/@main
|
||||||
|
with:
|
||||||
|
version: 3.1.3
|
||||||
|
command: app actions run ${{ inputs.environment }} run-tests --kind Deployment --resource-name ${{github.event.repository.name}}
|
||||||
Reference in New Issue
Block a user