diff --git a/.github/workflows/intel_ci_trigger.yml b/.github/workflows/intel_ci_trigger.yml new file mode 100644 index 00000000000..1c3586bb061 --- /dev/null +++ b/.github/workflows/intel_ci_trigger.yml @@ -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