Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 831 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 831 Bytes

setup brane action

GitHub action to setup brane.

Usage

Note: Make sure the runner or container image you use the action with has at least docker, git and make installed.

# .github/workflows/ci.yml
name: CI
on: ['push']

jobs:
  build:
    runs-on: 'ubuntu-latest'
    steps:
    - uses: actions/checkout@v2

    - name: 'setup brane'
      uses: 'romnn/setup-brane-action@master'
      id: brane_setup
      # optionally:
      with:
        start_instance: true
        start_ide: true

    - name: 'use the brane CLI'
      run: |
        brane --help
        # check that the brane services are running
        docker ps

    - name: 'query the jupyterlab IDE access token'
      run: |
        echo "${{ steps.brane_setup.outputs.jupyterlab_token }}"