Skip to content
Snippets Groups Projects
Commit 6375f124 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: trigger eicweb/juggler after changes to eicd

parent 23ceb3b7
No related branches found
No related tags found
1 merge request!95feat: trigger eicweb/juggler after changes to eicd
Pipeline #35969 passed
...@@ -20,3 +20,31 @@ jobs: ...@@ -20,3 +20,31 @@ jobs:
name: build-eic-shell name: build-eic-shell
path: install/ path: install/
if-no-files-found: error if-no-files-found: error
trigger-juggler:
runs-on: ubuntu-latest
needs: build-test
steps:
- uses: eic/trigger-gitlab-ci@v2
id: trigger
with:
url: https://eicweb.phy.anl.gov
project_id: 369
token: ${{ secrets.EICWEB_JUGGLER_TRIGGER }}
ref_name: master
variables: |
JUGGLER_EICD_REPOSITORYURL=${{ github.server_url }}/${{ github.repository }}
JUGGLER_EICD_VERSION=${{ github.ref_name }}
GITHUB_REPOSITORY=${{ github.repository }}
GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }}
- run: |
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
/repos/${{ github.repository }}/statuses/${{ github.event.pull_request.head.sha || github.sha }} \
-f state='pending' \
-f target_url=${{ steps.trigger.outputs.web_url }} \
-f description='The juggler pipelines have been triggered...' \
-f context='eicweb/juggler'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment