Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/upstream-canary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: OpenShell upstream canary

on:
schedule:
- cron: "17 14 * * 1"
workflow_dispatch:

permissions:
contents: read

jobs:
local-latest:
runs-on: ubuntu-latest
steps:
# This job intentionally runs the current upstream installer. It has no
# repository secrets or write permissions, and checkout credentials are
# not persisted for the installer to read.
- uses: actions/checkout@v4
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
persist-credentials: false
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install latest OpenShell
run: |
tmp="$(mktemp)"
trap 'rm -f "$tmp"' EXIT
curl -fLsS https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh -o "$tmp"
sh "$tmp"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
openshell --help
- name: Run credential-free local lifecycle
run: |
CGO_ENABLED=0 go build -ldflags '-s -w -X main.version=upstream-canary' -o harness .
./test/test-flow.sh local-container --ci
env:
TEST_LOG_FILE: /tmp/test-logs/upstream-canary.log
- name: Export logs
if: always()
run: |
mkdir -p /tmp/test-logs
journalctl --user -u openshell-gateway --no-pager > /tmp/test-logs/gateway.log 2>&1 || true
openshell status > /tmp/test-logs/status.txt 2>&1 || true
- uses: actions/upload-artifact@v4
if: always()
with:
name: upstream-canary-logs
path: /tmp/test-logs/
Loading