annnnnd deployment works! Removed verbose ssh debugging from pipeline. Made Busted output some more details.
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Initiating unit tests..."
|
echo "Initiating unit tests..."
|
||||||
cp lib/json.lua skyweave/
|
cp lib/json.lua skyweave/
|
||||||
busted --lua=lua5.1 --verbose spec/
|
busted --lua=lua5.1 -o spec --verbose spec/
|
||||||
|
|
||||||
deploy-to-device:
|
deploy-to-device:
|
||||||
name: Deploy to Roof Unit
|
name: Deploy to Roof Unit
|
||||||
@@ -70,21 +70,6 @@ jobs:
|
|||||||
echo " PubkeyAcceptedAlgorithms +ssh-rsa" >> ~/.ssh/config
|
echo " PubkeyAcceptedAlgorithms +ssh-rsa" >> ~/.ssh/config
|
||||||
|
|
||||||
echo "${{ secrets.ROOF_UNIT_KNOWN_HOSTS_ENTRY }}" >> ~/.ssh/known_hosts
|
echo "${{ secrets.ROOF_UNIT_KNOWN_HOSTS_ENTRY }}" >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
echo "--- SCRIPTURE VERIFICATION ---"
|
|
||||||
echo "Verifying contents of ~/.ssh/config:"
|
|
||||||
cat ~/.ssh/config
|
|
||||||
echo "--------------------------------"
|
|
||||||
echo "Verifying contents of ~/.ssh/known_hosts:"
|
|
||||||
cat ~/.ssh/known_hosts
|
|
||||||
echo "--------------------------------"
|
|
||||||
echo "Verifying permissions of private key:"
|
|
||||||
ls -l ~/.ssh/id_rsa
|
|
||||||
echo "--------------------------------"
|
|
||||||
|
|
||||||
# --- VERBOSE COMMUNION ATTEMPT ---
|
|
||||||
echo "Attempting verbose SSH connection for diagnostics..."
|
|
||||||
ssh -vvv roof-unit "echo 'Test SSH connection successful'"
|
|
||||||
|
|
||||||
- name: 3. Execute Deployment Ritual
|
- name: 3. Execute Deployment Ritual
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user