Skip to content

Commit

Permalink
tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Nov 4, 2024
1 parent 742d5e9 commit ba47be8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ jobs:
NETLIFY_AUTH_TOKEN: "${{ secrets.NETLIFY_AUTH_TOKEN }}"
NETLIFY_SITE_ID: "${{ secrets.NETLIFY_SITE_ID }}"
timeout-minutes: 5

- name: Setup tmate session for debug
if: ${{ failure() }}
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 30
timeout-minutes: 60
with:
limit-access-to-actor: true
1 change: 1 addition & 0 deletions .github/workflows/check-developer-experience.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
with:
name: "test-results-${{ matrix.rust.toolchain }}"
path: target/nextest/

- name: Setup tmate session for debug
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
uses: mxschmitt/action-tmate@v3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sterile-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,16 @@ jobs:
# NOTE: we don't even install rust till the sterile tests are done (lowers contamination risk)
- name: install rust
uses: dtolnay/rust-toolchain@stable
if: ${{ always() }}
with:
toolchain: ${{ matrix.rust }}
targets: x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl

- uses: cargo-bins/cargo-binstall@main
if: ${{ always() }}

- name: install openssl and libssl-dev (needed for markdown-test-report)
if: ${{ always() }}
run: |
sudo apt-get update
sudo apt-get --yes --no-install-recommends install \
Expand Down Expand Up @@ -173,6 +176,7 @@ jobs:
- run: just rust="${{matrix.rust}}" profile=release target=x86_64-unknown-linux-gnu push-container
- run: just rust="${{matrix.rust}}" profile=debug target=x86_64-unknown-linux-musl push-container
- run: just rust="${{matrix.rust}}" profile=release target=x86_64-unknown-linux-musl push-container

- name: Setup tmate session for debug
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
uses: mxschmitt/action-tmate@v3
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/update-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
name: Update Version
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: "Run with tmate enabled"
required: false
default: false
schedule:
# Check for updates at 3:18am every day.
# I avoid midnight because everyone uses midnight and
Expand Down Expand Up @@ -58,3 +64,10 @@ jobs:
commit-message: 'bump dpdk-sys'
sign-commits: 'true'
body: 'bump dpdk-sys'

- name: Setup tmate session for debug
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 60
with:
limit-access-to-actor: true

0 comments on commit ba47be8

Please sign in to comment.