Skip to content

Commit

Permalink
Disable uploading the docs to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
takirala committed Mar 1, 2018
1 parent 43e4685 commit fe681b6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dcos-image/publish-package.bash
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ function deploy {(
aws s3 cp ${TARGET_DIR}/${ONE_JAR} ${S3_DEPLOY_BUCKET}/${ONE_JAR}
aws s3 cp ${TARGET_DIR}/${SHA1_FILE} ${S3_DEPLOY_BUCKET}/${SHA1_FILE}

# Copy the documentation to S3
info "Uploading documentation to: ${S3_DEPLOY_BUCKET}"
for TYPE in raml swagger html ; do
for FILE in "${TARGET_DIR}"/*.${TYPE} ; do
aws s3 cp "${FILE}" ${S3_DEPLOY_BUCKET}/
done
done

info "Generating buildinfo.json"
cat ${DCOS_IMAGE_DIR}/buildinfo.json | \
jq ".single_source.url |= \"${HTTPS_READ_BUCKET}/${ONE_JAR}\" | .single_source.sha1 |= \"$(getSha1)\"" \
Expand Down

0 comments on commit fe681b6

Please sign in to comment.