Add image retrieval converter and tests to support image retrieval GA APIs #500
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
jobs: | |
mirror_repo: | |
environment: GITLAB | |
runs-on: self-hosted | |
steps: | |
- name: Sync Mirror Repository | |
run: | | |
#!/bin/bash | |
curl --request POST --header "PRIVATE-TOKEN:${{ secrets.TOKEN }}" "${{ secrets.MIRROR_URL }}" | |
trigger-ci: | |
environment: GITLAB | |
needs: mirror_repo | |
runs-on: self-hosted | |
steps: | |
- name: Trigger Pipeline | |
run: | | |
#!/bin/bash | |
curl --fail --request POST \ | |
--form token=${{ secrets.PIPELINE_TOKEN }} \ | |
--form variables[TRITON_PERF_ANALYZER_REPO_TAG]=${GITHUB_HEAD_REF} \ | |
--form variables[TRITON_CLIENT_REPO_TAG]=${GITHUB_HEAD_REF} \ | |
-F ref=${GITHUB_HEAD_REF} "${{ secrets.PIPELINE_URL }}" |