Skip to content

romnn/setup-brane-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }}"

Releases

No releases published