Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
47

Upload to Backblaze B2 backblaze-b2

Upload files to a Backblaze B2 bucket.

arguments

  • APPLICATION_KEY - Application key in Backblaze B2
  • APPLICATION_KEY_ID - Application key Id in Backblaze B2
  • BUCKET_ID - Bucket Id in Backblaze B2
  • FILES - List of file paths to upload
    upload:
  title: Upload files to Backblaze B2
  type: backblaze-b2
  arguments:
    FILES:
      - /codefresh/volume/myfile-1.txt
      - /codefresh/volume/myfile-2.txt

  
    upload:
  title: Upload files to Backblaze B2
  type: backblaze-b2
  arguments:
    APPLICATION_KEY_ID: '${{APPLICATION_KEY_ID}}'
    APPLICATION_KEY: '${{APPLICATION_KEY}}'
    BUCKET_ID: '${{BUCKET_ID}}'
    FILES:
      - /codefresh/volume/myfile-1.txt
      - /codefresh/volume/myfile-2.txt

  
github.com
andrii-codefresh
Jul 4, 2021