pytorch/.circleci/verbatim-sources/job-specs-html-update.yml
Karl Ostmo 09c9af9451 U/kostmo/gen circle conf (#17189)
Summary:
Diagram preview:
![binarysmoketests-config-dimensions](https://user-images.githubusercontent.com/261693/53040977-a0f88d00-3437-11e9-9190-796cc243e0f9.png)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17189

Differential Revision: D14141362

Pulled By: kostmo

fbshipit-source-id: 0625a1234d0307c6be79f17e756ddb1cc445b374
2019-02-19 15:37:09 -08:00

25 lines
712 B
YAML

# update_s3_htmls job
update_s3_htmls:
machine:
image: default
steps:
- run:
<<: *setup_linux_system_environment
- run:
<<: *binary_populate_env
- run:
<<: *binary_checkout
- run:
name: Update s3 htmls
no_output_timeout: "1h"
command: |
echo "declare -x \"AWS_ACCESS_KEY_ID=${PYTORCH_BINARY_AWS_ACCESS_KEY_ID}\"" >> /home/circleci/project/env
echo "declare -x \"AWS_SECRET_ACCESS_KEY=${PYTORCH_BINARY_AWS_SECRET_ACCESS_KEY}\"" >> /home/circleci/project/env
source /home/circleci/project/env
set -ex
retry pip install awscli==1.6
"$BUILDER_ROOT/cron/update_s3_htmls.sh"