github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/job-test.yaml (about)

     1  # jobspec for the bacalhau command bacalhau docker run ubuntu -- /bin/bash -c 'echo "simple job output"'
     2  APIVersion: v1beta1
     3  Engine: Docker
     4  Verifier: Noop
     5  Publisher: Estuary
     6  JobSpecDocker:
     7    # docker image you want to use
     8    Image: ubuntu
     9    Entrypoint:
    10      # Command to run inside the container
    11      - /bin/bash
    12      - -c
    13      - echo "hello"
    14    EnvironmentVariables: []
    15  # if your job consumes data from ipfs or from a url since in this job we don't consume any data it's left empty
    16  inputs: []
    17  Contexts: []
    18  outputs:
    19    - StorageEngine: IPFS
    20      # default output volume is outputs
    21      Name: outputs
    22      CID: ""
    23      URL: ""
    24      path: /outputs
    25  # Not required
    26  Sharding:
    27    GlobPattern: ""
    28    BatchSize: 1
    29    GlobPatternBasePath: /inputs