forked from jupyterhub/jupyter-remote-desktop-proxy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Dockerfile (currently broken as there is no
jovyan
group)
- Loading branch information
Showing
2 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This is a GitHub workflow defining a set of jobs with a set of steps. | ||
# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | ||
# | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- ".github/workflows/*.yaml" | ||
- "!.github/workflows/build.yaml" | ||
push: | ||
paths-ignore: | ||
- "docs/**" | ||
- ".github/workflows/*.yaml" | ||
- "!.github/workflows/build.yaml" | ||
branches-ignore: | ||
- "dependabot/**" | ||
- "pre-commit-ci-update-config" | ||
tags: ["**"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
container: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build image | ||
run: | | ||
docker build -t jupyter-remote-desktop-proxy . | ||
- name: Smoke test image | ||
run: | | ||
docker run -d -p 8888:8888 jupyter-remote-desktop-proxy | ||
sleep 10 | ||
curl 'http://localhost:8888/desktop/?token=secret' | grep 'Modified from novnc_lite.html example in noVNC' | ||
# TODO: Check VNC desktop works, e.g. by comparing Playwright screenshots | ||
# https://playwright.dev/docs/test-snapshots |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters