Skip to content

Commit

Permalink
.github/workflows: Add Intel CI Jenkins trigger job
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Dworkin <[email protected]>
  • Loading branch information
zachdworkin committed Oct 30, 2024
1 parent 07fb345 commit fdb73cb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/intel_ci_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: 'Intel CI'

on:
workflow_dispatch:
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
launch_jenkins_job:
runs-on: [intel-ci]
environment: intel-ci
steps:
- name: Harden-Runner
uses: step-security/[email protected]
- name: Trigger Jenkins Job
run:
source /home/${{ secrets.INTEL_JENKINS_USER }}/get_login.sh
curl -X POST -u ${{ secrets.INTEL_JENKINS_USER }}:${PAM_RESULTS} ${{ secrets.INTEL_JENKINS_BASE_URL }}/job/OFIWG_Libfabric/job/ofi_libfabric/view/change-requests/job/PR-${{ github.event.number }}/build?delay=61sec

0 comments on commit fdb73cb

Please sign in to comment.