Skip to content

Commit

Permalink
Add: trigger clusteradm e2e after post images. (#209)
Browse files Browse the repository at this point in the history
Signed-off-by: xuezhaojun <[email protected]>
  • Loading branch information
xuezhaojun authored Jul 4, 2023
1 parent fe550eb commit eb9b7fa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
name: unit
verbose: true
fail_ci_if_error: true

images:
name: images
runs-on: ubuntu-latest
Expand Down Expand Up @@ -133,3 +132,14 @@ jobs:
docker manifest push quay.io/open-cluster-management/work:latest
docker manifest push quay.io/open-cluster-management/placement:latest
docker manifest push quay.io/open-cluster-management/addon-manager:latest
trigger-clusteradm-e2e:
needs: [ images, image-manifest ]
name: trigger clusteradm e2e
runs-on: ubuntu-latest
steps:
- uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.OCM_BOT_PAT }}
repository: open-cluster-management-io/clusteradm
event-type: ocm_changes
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 comments on commit eb9b7fa

Please sign in to comment.