Skip to content

Commit

Permalink
mirror.yaml: pass PIPELINE_NAME (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored May 17, 2024
1 parent ea3be49 commit f034bca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +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: 400
token: ${{ secrets.EICWEB_PHYSICS_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.repository }}: ${{ github.event.pull_request.title || github.ref_name }}
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ variables:
DETECTOR_CONFIG: epic_craterlake
DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'

workflow:
name: '$PIPELINE_NAME'

default:
before_script:
- source .local/bin/env.sh
Expand Down

0 comments on commit f034bca

Please sign in to comment.