Skip to content

Commit

Permalink
feat(test): disable step to generate Xray Token (#1513)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelpierre authored Jul 9, 2024
1 parent 0458557 commit dc52bbe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/robot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.collect_s3_access_key }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.collect_s3_secret_key }}

- name: Generate Xray Token
id: generate-xray-token
run: |
token_response=$(curl -H "Content-Type: application/json" -X POST --data "{\"client_id\": \"${{ secrets.XRAY_CLIENT_ID }}\", \"client_secret\": \"${{ secrets.XRAY_CLIENT_SECRET }}\"}" "https://xray.cloud.getxray.app/api/v1/authenticate")
xray_token=$(echo "$token_response" | sed -n 's/.*"\(.*\)".*/\1/p')
echo "xray_token=$xray_token" >> $GITHUB_OUTPUT
shell: bash
# - name: Generate Xray Token
# id: generate-xray-token
# run: |
# token_response=$(curl -H "Content-Type: application/json" -X POST --data "{\"client_id\": \"${{ secrets.XRAY_CLIENT_ID }}\", \"client_secret\": \"${{ secrets.XRAY_CLIENT_SECRET }}\"}" "https://xray.cloud.getxray.app/api/v1/authenticate")
# xray_token=$(echo "$token_response" | sed -n 's/.*"\(.*\)".*/\1/p')
# echo "xray_token=$xray_token" >> $GITHUB_OUTPUT
# shell: bash

# - name: Send report to xrays
# run: |
Expand Down

0 comments on commit dc52bbe

Please sign in to comment.