github.com/dnephin/dobi@v0.15.0/examples/project-setup/dobi.yaml (about)

     1  
     2  meta:
     3      project: example-setup
     4  
     5  mount=.env:
     6      bind: .env
     7      path: /code/.env
     8      file: true
     9  
    10  image=bash:
    11      image: example/bash
    12      context: .
    13  
    14  job=setup:
    15      use: bash
    16      artifact: '.env'
    17      mounts: ['.env']
    18      interactive: true
    19      env: ['HOST_USER={user.name:}']
    20      annotations:
    21          description: "Prompt for application settings"
    22  
    23  job=app:
    24      use: bash
    25      command: "nc -l 0.0.0.0 8080"
    26      depends: [setup]
    27      annotations:
    28          description: "Run the application"