Skip to content

Commit

Permalink
github: Add tmate and additional output for debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Mar 22, 2024
1 parent 240f637 commit 6b080b7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/actions/image-upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ runs:
# Configure known host.
echo "${SSH_HOST} ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOJS6V7WpVdFdAcTSn/98rBRsvJVyTI3O17qMeg0cD5E" >> ~/.ssh/known_hosts
- name: Debug
shell: bash
run: |
echo "==> wget"
wget -qO - https://ip.sdeziel.info
echo "==> ip a"
ip a
echo "==> nc"
nc -w 1 -zv images.lxd.canonical.com 922
- name: Upload artifacts to the image server
shell: bash
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/image-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,7 @@ jobs:
target: ${{ env.target }}
image_dir: "${{ env.distro }}/${{ matrix.release }}/${{ matrix.architecture }}/${{ matrix.variant }}"
ssh_private_key: "${{ secrets.LXD_INFRA_IMAGES_KEY }}"

- name: (DEBUG) Tmate
if: failure()
uses: mxschmitt/action-tmate@v3

0 comments on commit 6b080b7

Please sign in to comment.