Skip to content

Commit 9834807

Browse files
Create AoU common build directory (#237)
* Create AoU common build directory * Test aou apps when aou-common is updated * Fix snippets ownership
1 parent 492e281 commit 9834807

File tree

38 files changed

+121
-44
lines changed

38 files changed

+121
-44
lines changed

.github/workflows/test-pr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
user: jupyter
5050
maximize_build_space: true
5151
workbench_tools: true
52+
filters:
53+
- 'src/aou-common/**'
5254
nemo_jupyter:
5355
user: jupyter
5456
maximize_build_space: true
@@ -58,6 +60,7 @@ jobs:
5860
maximize_build_space: true
5961
workbench_tools: true
6062
filters:
63+
- 'src/aou-common/**'
6164
- 'src/nemo_jupyter/**'
6265
workbench-jupyter-parabricks:
6366
user: jupyter
@@ -66,6 +69,7 @@ jobs:
6669
user: jupyter
6770
workbench_tools: true
6871
filters:
72+
- 'src/aou-common/**'
6973
- 'src/workbench-jupyter-parabricks/**'
7074
outputs:
7175
apps: ${{ steps.output.outputs.apps }}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This docker-compose file is meant to be included to build common AoU image
2+
# dependencies. Use the .devcontainer.json "runServices" property to prevent it
3+
# from starting automatically.
4+
#
5+
# Paths are relative to the primary docker-compose.yaml file.
6+
7+
services:
8+
aou-common-extension-builder:
9+
build:
10+
context: ../aou-common/extension-builder
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM us-west2-docker.pkg.dev/shared-pub-buckets-94mvrf/workbench-artifacts/app-jupyter-extension-builder@sha256:10896c245e1329f6fcbc37c7253d654d3b7dd65cf4c50975b27fe55e40dcc69f
2+
3+
COPY extension /extension
4+
5+
# Original extension is https://github.com/QuantStack/jupyterlab-snippets;
6+
# however, this does not support JupyterLab 4. There is an [open
7+
# PR](https://github.com/QuantStack/jupyterlab-snippets/pull/43) to add
8+
# JupyterLab 4 support, but it has not been merged and seems to be inactive, so
9+
# we'll just build off of the PR branch for now.
10+
ADD https://github.com/darpan097/jupyterlab-snippets.git#a27c8429d2cfaf7aa9e4cad31d3c641d554ac41a /extension/jupyterlab-snippets
11+
12+
RUN /build.sh /extension /dist
13+
14+
COPY snippets /dist/snippets
15+
COPY setup.sh /dist/setup.sh
16+
RUN chmod +x /dist/setup.sh
17+
18+
ENTRYPOINT ["echo", "This image is only a build layer and should not be run directly."]
File renamed without changes.

0 commit comments

Comments
 (0)