|
26 | 26 | CRDS_SERVER_URL: https://hst-crds.stsci.edu
|
27 | 27 | run: >
|
28 | 28 | echo "pmap=$(
|
29 |
| - curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ | |
| 29 | + curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ --retry 8 --connect-timeout 10 | |
30 | 30 | python -c "import sys, json; print(json.load(sys.stdin)['result'])"
|
31 | 31 | )" >> $GITHUB_OUTPUT
|
32 | 32 | - run: if [[ ! -z "${{ steps.hst_crds_context.outputs.pmap }}" ]]; then echo ${{ steps.hst_crds_context.outputs.pmap }}; else exit 1; fi
|
|
36 | 36 | CRDS_SERVER_URL: https://jwst-crds.stsci.edu
|
37 | 37 | run: >
|
38 | 38 | echo "pmap=$(
|
39 |
| - curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ | |
| 39 | + curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ --retry 8 --connect-timeout 10 | |
40 | 40 | python -c "import sys, json; print(json.load(sys.stdin)['result'])"
|
41 | 41 | )" >> $GITHUB_OUTPUT
|
42 | 42 | - run: if [[ ! -z "${{ steps.jwst_crds_context.outputs.pmap }}" ]]; then echo ${{ steps.jwst_crds_context.outputs.pmap }}; else exit 1; fi
|
|
46 | 46 | CRDS_SERVER_URL: https://roman-crds.stsci.edu
|
47 | 47 | run: >
|
48 | 48 | echo "pmap=$(
|
49 |
| - curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ | |
| 49 | + curl -s -X POST -d '{"jsonrpc": "1.0", "method": "get_default_context", "params": ["${{ env.OBSERVATORY }}"], "id": 1}' ${{ env.CRDS_SERVER_URL }}/json/ --retry 8 | |
50 | 50 | python -c "import sys, json; print(json.load(sys.stdin)['result'])"
|
51 | 51 | )" >> $GITHUB_OUTPUT
|
52 | 52 | - run: if [[ ! -z "${{ steps.roman_crds_context.outputs.pmap }}" ]]; then echo ${{ steps.roman_crds_context.outputs.pmap }}; else exit 1; fi
|
0 commit comments