Diagnostic: comprehensive node binary search without set -e
This commit is contained in:
@@ -145,7 +145,7 @@ jobs:
|
|||||||
if: needs.detect.outputs.migrations == 'true'
|
if: needs.detect.outputs.migrations == 'true'
|
||||||
run: |
|
run: |
|
||||||
cat > /tmp/migrate-params.json << 'PARAMS'
|
cat > /tmp/migrate-params.json << 'PARAMS'
|
||||||
{"commands":["set -e","cat /etc/systemd/system/node-api.service","which node 2>/dev/null || true","find / -name 'node' -type f 2>/dev/null || true","echo PATH=$PATH"]}
|
{"commands":["cat /etc/systemd/system/node-api.service 2>/dev/null || echo 'no service file'","systemctl cat node-api 2>/dev/null || echo 'systemctl cat failed'","which node 2>/dev/null || echo 'node not in PATH'","find /usr /opt /snap /home -name 'node' -type f 2>/dev/null || echo 'find found nothing'","echo PATH=$PATH","ls -la /usr/local/bin/node* /usr/bin/node* 2>/dev/null || echo 'no node in standard paths'"]}
|
||||||
PARAMS
|
PARAMS
|
||||||
CMD_ID=$(aws ssm send-command \
|
CMD_ID=$(aws ssm send-command \
|
||||||
--region $AWS_REGION \
|
--region $AWS_REGION \
|
||||||
|
|||||||
Reference in New Issue
Block a user