apiVersion: api/v1
kind: Case
name: dumpling_tiup_basic
features: [ dumpling ]
summary: dumpling to minio with cli in tiup host
steps:
expectedResult:
    1. dumpling successfully
category: FUNCTIONALITY
priority: P1
supportedVersions: [ ">=4.0" ]
tags: [ "dumpling", "acceptance" ]
designer: dong.xie@pingcap.com
automation: AUTOMATED
active: true
framework:
    generic:
        command: [ "/case" ]
        workingDir: "/"
        env: null
        image: hub.pingcap.net/qa/dumpling-tiup-basic
        imagePullPolicy: "Always"
parameters:
    -   type: RESOURCE
        name: target
    -   type: RESOURCE
        name: tiup
    -   type: RESOURCE
        name: mc
    -   type: STRING
        name: dumpling_opts
        default: |
            {"output":"s3://tmp/dumpling-output?access-key=minioadmin&secret-access-key=minioadmin&endpoint=http%3a%2f%2fminio.pingcap.net%3a9000&force-path-style=true","filetype":"csv","filesize":"256M","rows":200,"threads":20,"timeout":"10m"}
    -   type: STRING
        name: mc_rm_opts
        default: |
            {"path":"qa-minio/tmp/dumpling-output","timeout":"10m"}
    -   type: STRING
        name: version
        default: nightly