github.com/billybanfield/evergreen@v0.0.0-20170525200750-eeee692790f7/plugin/builtin/s3copy/testdata/plugin_s3_copy.yml (about)

     1  owner: deafgoat
     2  repo: mci_test
     3  repokind: github
     4  branch: master
     5  enabled: true
     6  batchtime: 180
     7  tasks:
     8  - name: copyTask
     9    commands:
    10    - command: s3.put 
    11      params:
    12        aws_key: ${aws_key}
    13        aws_secret: ${aws_secret}
    14        local_file: ${pwd}/testdata/test.tgz
    15        remote_file: ${push_path}/test.tgz
    16        bucket: ${push_source_bucket}
    17        permissions: public-read-write
    18        content_type: application/tar
    19        display_name: test_copy
    20    - command: s3Copy.copy
    21      params:
    22        aws_key: ${aws_key}
    23        aws_secret: ${aws_secret}
    24        s3_copy_files:
    25        - source:
    26            bucket: ${push_source_bucket}
    27            path: ${push_path}/test.tgz
    28          destination:
    29            bucket: ${push_destination_bucket}
    30            path: ${push_path}/${push_name}/test.tgz
    31          display_name: test_copy
    32          build_variants:
    33          - linux-64
    34  buildvariants:
    35  - name: linux-64
    36    display_name: Linux 64-bit
    37    run_on:
    38    - linux-64
    39    tasks:
    40    - name: copyTask
    41      distros:
    42      - rhel55
    43    expansions:
    44      push_name: linux
    45      push_source_bucket: build-push-testing
    46      push_destination_bucket: mciuploads
    47      push_path: s3CopyFolder
    48    push: true
    49  - name: linux-32
    50    display_name: Linux 32-bit
    51    run_on:
    52    - linux-32
    53    tasks:
    54    - name: copyTask
    55      distros:
    56      - rhel55
    57  expansions:
    58    push_name: linux
    59    push_source_bucket: source-bucket
    60    push_destination_bucket: mciuploads
    61    push_path: s3CopyFolder
    62  push: true
    63  
    64  
    65