message: add drone steps for staging nctl upgrades
diff: @@ -237,6 +237,33 @@ steps:
  event:
  - pull_request
  +- name: nctl-upgrade-assets-stage-rc
  + image: casperlabs/node-build-u1804
  + commands:
  + - "./nctl_upgrade_stage.sh"
  + when:
  + branch:
  + - "release-*"
  + event:
  + - push
  +
  +- name: nctl-bucket-upload-rc
  + image: plugins/s3-sync:latest
  + settings:
  + bucket: 'nctl.casperlabs.io'
  + access_key:
  + from_secret: put-drone-aws-ak
  + secret_key:
  + from_secret: put-drone-aws-sk
  + region: us-east-2
  + source: '/tmp/nctl_upgrade_stage/'
  + target: "/${DRONE_BRANCH}/"
  + when:
  + branch:
  + - "release-*"
  + event:
  + - push
  +
  depends_on:
  - pre-checks
  @@ -494,6 +521,23 @@ steps:
  access:
  - "public"
  +- name: nctl-upgrade-assets-stage
  + image: casperlabs/node-build-u1804
  + commands:
  + - "./nctl_upgrade_stage.sh"
  +
  +- name: nctl-bucket-upload
  + image: plugins/s3-sync:latest
  + settings:
  + bucket: 'nctl.casperlabs.io'
  + access_key:
  + from_secret: put-drone-aws-ak
  + secret_key:
  + from_secret: put-drone-aws-sk
  + region: us-east-2
  + source: '/tmp/nctl_upgrade_stage/'
  + target: "/${DRONE_TAG}/"
  +
  trigger:
  ref:
  - refs/tags/v*
  