Updates to Jupyterlab: uses osbv2 netpyne branch & add scripts #418
This file contains hidden or 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
| name: Docker Image Build NWB Explorer | |
| on: | |
| push: | |
| branches: [ master, dev*, feature/docker*, feature/repo*, jupyterhub-update ] | |
| pull_request: | |
| branches: [ master, dev*, feature/docker*, feature/repo*, jupyterhub-update ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Clone NWB Explorer dependencies | |
| run: | | |
| mkdir -p applications/nwb-explorer/dependencies | |
| export URL=$(grep "url:" applications/nwb-explorer/deploy/values.yaml | awk '{print $3}') | |
| export BRANCH_TAG=$(grep "branch_tag:" applications/nwb-explorer/deploy/values.yaml | awk '{print $2}') | |
| echo "Using branch: $BRANCH_TAG on $URL" | |
| git clone --branch $BRANCH_TAG $URL applications/nwb-explorer/dependencies/nwb-explorer | |
| ls -alt applications/nwb-explorer/dependencies/nwb-explorer | |
| - name: Build the Docker image | |
| run: | | |
| cd applications/nwb-explorer | |
| ./build_local.sh | |
| - name: Info on Docker image sizes | |
| run: | | |
| docker images | |
| - name: Run the Docker container and list python installs | |
| run: | | |
| cd applications/nwb-explorer | |
| ./pip_info.sh | |