Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: Add Intel CI Jenkins trigger job #10505

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/intel_ci_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
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]
steps:
- name: Set env
run:
echo "INTEL_JENKINS_USER=$INTEL_JENKINS_USER" >> $GITHUB_ENV;
echo "INTEL_JENKINS_BASE_URL=$INTEL_JENKINS_BASE_URL" >> $GITHUB_ENV;
source /home/$INTEL_JENKINS_USER/get_login.sh;
echo "PAM_RESULTS=$PAM_RESULTS" >> $GITHUB_ENV;
- name: Trigger Intel Jenkins Job
run:
curl -X POST -u ${{ env.INTEL_JENKINS_USER }}:${{ env.PAM_RESULTS }} ${{ env.INTEL_JENKINS_BASE_URL }}/job/OFIWG_Libfabric/job/ofi_libfabric/view/change-requests/job/PR-${{ github.event.number }}/build?delay=61sec
Loading