pipeline {
  agent { label 'dagger' }

  stages {
    stage("dagger") {
      steps {
        sh '''
            pip install .
            cd /usr/local && { curl -L https://dl.dagger.io/dagger/install.sh | sh; cd -; }
            dagger run python main.py
        '''
      }
    }
  }
}
