Update .github/workflows/livetest.yml.disabled
Co-authored-by: Martin Pitt <martinpitt@users.noreply.github.com>
This commit is contained in:
parent
81faa2e937
commit
6298cbb498
1 changed files with 4 additions and 2 deletions
6
.github/workflows/livetest.yml.disabled
vendored
6
.github/workflows/livetest.yml.disabled
vendored
|
|
@ -1,7 +1,9 @@
|
||||||
name: Live test cockpit from PRs
|
name: Live test cockpit from PRs
|
||||||
# Triggered when a repository collaborator comments /livetest on a PR
|
# Triggered when a repository collaborator comments /livetest on a PR
|
||||||
# This is currently configured to run on cockpit-project org.
|
# This is currently configured to run on cockpit-project org.
|
||||||
# If you need to set up your own relay host and adjust the RELAY_HOST env variable
|
# If your project lives somewhere else than the github cockpit-project organization,
|
||||||
|
# you need to set up your own relay host, add a secret with the private SSH key, and
|
||||||
|
# adjust the RELAY_HOST env variable and SINK_SSHRELAY_PRIVATE secret name.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
|
|
@ -67,7 +69,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SHA_SHORT: "${{ steps.get_commit_sha.outputs.sha_short }}"
|
SHA_SHORT: "${{ steps.get_commit_sha.outputs.sha_short }}"
|
||||||
run: |
|
run: |
|
||||||
echo ::set-output name=SSH_GATEWAY_PORT::$((16#$SHA_SHORT % 32768))
|
echo ::set-output name=SSH_GATEWAY_PORT::$((16#$SHA_SHORT % 32768 + 1500))
|
||||||
|
|
||||||
- name: Write a comment on the PR with link to the cockpit instance
|
- name: Write a comment on the PR with link to the cockpit instance
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue