Skip to content

Commit

Permalink
fixup! ci: migrate vrt pipelines to gha
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Oct 29, 2024
1 parent 2759637 commit afae2a8
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/actions/run-publish-vr-screenshot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,27 +84,28 @@ runs:

- name: VR App - Create Policy
if: ${{ env.isPR == 'true' }}
shell: bash
run: |
set -exuo pipefail
npx [email protected] create-policy --nonBlockingPipelines '{"${{ env.pipelineId }}":{"pipelineStatus": "PENDING","pipelineName": "${{ env.pipelineName }}"}}' --clientType 'FLUENTUI'
env:
VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }}
TENANT_ID: ${{ secrets.TenantId }}
PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }}
SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }}
# VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }}
# TENANT_ID: ${{ secrets.TenantId }}
# PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }}
# SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run fluentui-screenshotdiff
if: ${{ env.isPR == 'true' && env.vrTestSkip == 'no' }}
uses: azure/cli@v2
env:
API_TOKEN: ${{ secrets.fabric-public-pipeline-access-PAT }}
GITHUB_API_TOKEN: ${{ secrets.githubRepoStatusPAT }}
VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }}
STORAGE_ACCOUNT_ID: ${{ secrets.StorageAccountId }}
TENANT_ID: ${{ secrets.TenantId }}
PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }}
SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }}
# API_TOKEN: ${{ secrets.fabric-public-pipeline-access-PAT }}
# GITHUB_API_TOKEN: ${{ secrets.githubRepoStatusPAT }}
# VR_APP_API_URL: ${{ secrets.VR_APP_API_URL }}
# STORAGE_ACCOUNT_ID: ${{ secrets.StorageAccountId }}
# TENANT_ID: ${{ secrets.TenantId }}
# PRINCIPAL_CLIENT_ID: ${{ secrets.PrincipalClientId }}
# SERVICE_CONNECTION_ID: ${{ secrets.ServiceConnectionId }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
azcliversion: latest
Expand Down

0 comments on commit afae2a8

Please sign in to comment.