Skip to content

Commit

Permalink
Pass pipeline name downstream, use new format
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored May 17, 2024
1 parent 7be4db4 commit badef93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
username: ${{ secrets.GITLAB_USERNAME }}
ciskip: true
- name: Trigger EICweb
uses: eic/trigger-gitlab-ci@v2
uses: eic/trigger-gitlab-ci@v3
with:
url: https://eicweb.phy.anl.gov
project_id: 399
token: ${{ secrets.EICWEB_DETECTOR_BENCHMARKS_TRIGGER }}
ref_name: ${{ github.event.pull_request.head.ref || github.ref }}
variables:
variables: |
GITHUB_REPOSITORY=${{ github.repository }}
GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }}
GITHUB_PR=${{ github.event.pull_request.number }}
PIPELINE_NAME=${{ github.event.pull_request.title }}
PIPELINE_NAME=${{ github.repository }}: ${{ github.event.pull_request.title || github.ref_name }}
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ benchmarks:reconstruction:
BENCHMARKS_TAG: "${BENCHMARKS_TAG}"
BENCHMARKS_CONTAINER: "${BENCHMARKS_CONTAINER}"
BENCHMARKS_REGISTRY: "${BENCHMARKS_REGISTRY}"
PIPELINE_NAME: "$PIPELINE_NAME"
trigger:
project: EIC/benchmarks/reconstruction_benchmarks
strategy: depend
Expand All @@ -202,6 +203,7 @@ benchmarks:physics:
BENCHMARKS_TAG: "${BENCHMARKS_TAG}"
BENCHMARKS_CONTAINER: "${BENCHMARKS_CONTAINER}"
BENCHMARKS_REGISTRY: "${BENCHMARKS_REGISTRY}"
PIPELINE_NAME: "$PIPELINE_NAME"
trigger:
project: EIC/benchmarks/physics_benchmarks
strategy: depend
Expand Down

0 comments on commit badef93

Please sign in to comment.