Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 129f0adc96 | |||
| ea789378dd |
@@ -118,6 +118,8 @@ jobs:
|
||||
with:
|
||||
app-id: ${{ secrets.CARTSNITCH_APP_ID }}
|
||||
private-key: ${{ secrets.CARTSNITCH_APP_PRIVATE_KEY }}
|
||||
owner: ${{ github.repository_owner }}
|
||||
repositories: infra
|
||||
|
||||
- name: Checkout infra repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -142,23 +144,3 @@ jobs:
|
||||
git add kustomization.yaml
|
||||
git commit -m "ci(dev): update cartsnitch image to ${{ needs.build-and-push.outputs.calver_tag }}"
|
||||
git push origin main
|
||||
|
||||
trigger-uat:
|
||||
runs-on: runners-cartsnitch
|
||||
needs: [deploy-dev, build-and-push]
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Create UAT issue in Paperclip
|
||||
run: |
|
||||
curl -s -X POST \
|
||||
-H "Authorization: Bearer ${{ secrets.PAPERCLIP_API_KEY }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
"${{ secrets.PAPERCLIP_API_URL }}/api/companies/${{ secrets.PAPERCLIP_COMPANY_ID }}/issues" \
|
||||
--data-raw '{
|
||||
"title": "UAT: cartsnitch ${{ needs.build-and-push.outputs.calver_tag }} deployed to dev",
|
||||
"description": "## UAT Required\n\nService: cartsnitch (frontend)\nImage: ghcr.io/cartsnitch/cartsnitch:${{ needs.build-and-push.outputs.calver_tag }}\nCommit: ${{ github.sha }}\nWorkflow run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n\nPlease run full regression against cartsnitch.dev.farh.net",
|
||||
"status": "todo",
|
||||
"priority": "high",
|
||||
"assigneeAgentId": "1fc33bd9-308c-4abf-a355-87d12b6b0064",
|
||||
"projectId": "05f7827d-54df-4ff8-9b27-293ffba6e049"
|
||||
}'
|
||||
|
||||
Reference in New Issue
Block a user