@financial-times/tc-schema-publisher
This package saves a treecreeper schema to s3
Last updated 6 days ago by the-ft .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @financial-times/tc-schema-publisher 
SYNC missed versions from official npm registry.

@financial-times/tc-schema-publisher

This package saves a treecreeper schema to s3

API

sendSchemaToS3(environment, bucketName)

This saves the rawData contained in the local tc-schema-sdk instance to the bucketName s3 bucket (defaulting to the environment variable TREECREEPER_SCHEMA_BUCKET), prefixing the file with an /${environment} prefix.

Deploy CLI command

This package provides CLI command of tc-schema-publisher for publishing a set of schema yaml files to S3.

Usage: tc-schema-publisher [options]

Publish schemas to S3 bucket

Options:
  -D, --schema-directory <directory>  directory to the schema. (default: "process.env.TREECREEPER_SCHEMA_DIRECTORY")
  -B, --bucket-name <bucket>          S3 bucket name which you want to upload. (default: "process.env.TREECREEPER_SCHEMA_BUCKET")
  -E, --env <env>                     specify publish environment (default: "latest")

Example:

  tc-schema-publisher -D ./example-schema -B schema-bucket -v latest

You can see this help typing tc-schema-publisher -h and some option can override by specifying environment variables:

  • TREECREEPER_SCHEMA_DIRECTORY absolute path to the directory containing the schema yaml files
  • TREECREEPER_SCHEMA_BUCKET name of the treecreeper schema s3 bucket

Current Tags

  • 0.5.13                                ...           latest (6 days ago)

67 Versions

  • 0.5.13                                ...           6 days ago
  • 0.5.12                                ...           6 days ago
  • 0.5.11                                ...           7 days ago
  • 0.5.10                                ...           10 days ago
  • 0.5.9                                ...           10 days ago
  • 0.5.8                                ...           12 days ago
  • 0.5.7                                ...           18 days ago
  • 0.5.6                                ...           24 days ago
  • 0.5.5                                ...           25 days ago
  • 0.5.4                                ...           a month ago
  • 0.5.3                                ...           2 months ago
  • 0.5.2                                ...           2 months ago
  • 0.5.1                                ...           2 months ago
  • 0.5.0                                ...           2 months ago
  • 0.4.10-beta.1                                ...           2 months ago
  • 0.4.9                                ...           2 months ago
  • 0.4.8                                ...           2 months ago
  • 0.4.7                                ...           2 months ago
  • 0.4.6                                ...           2 months ago
  • 0.4.5                                ...           2 months ago
  • 0.4.4                                ...           2 months ago
  • 0.4.3                                ...           2 months ago
  • 0.4.2                                ...           2 months ago
  • 0.4.1                                ...           3 months ago
  • 0.4.0                                ...           3 months ago
  • 0.4.0-beta.3                                ...           3 months ago
  • 0.4.0-beta.2                                ...           3 months ago
  • 0.4.0-beta.1                                ...           3 months ago
  • 0.3.11                                ...           3 months ago
  • 0.3.10                                ...           4 months ago
  • 0.3.9                                ...           4 months ago
  • 0.3.8                                ...           4 months ago
  • 0.3.7                                ...           4 months ago
  • 0.3.6                                ...           4 months ago
  • 0.3.5                                ...           4 months ago
  • 0.3.4                                ...           5 months ago
  • 0.3.3                                ...           5 months ago
  • 0.3.2                                ...           5 months ago
  • 0.3.1                                ...           5 months ago
  • 0.3.0                                ...           5 months ago
  • 0.3.0-beta.14                                ...           5 months ago
  • 0.3.0-beta.13                                ...           5 months ago
  • 0.3.0-beta.12                                ...           5 months ago
  • 0.3.0-beta.11                                ...           5 months ago
  • 0.3.0-beta.10                                ...           5 months ago
  • 0.3.0-beta.9                                ...           5 months ago
  • 0.3.0-beta.8                                ...           5 months ago
  • 0.3.0-beta.5                                ...           5 months ago
  • 0.3.0-beta.4                                ...           5 months ago
  • 0.3.0-beta.3                                ...           5 months ago
  • 0.3.0-beta.2                                ...           5 months ago
  • 0.3.0-beta.1                                ...           5 months ago
  • 0.2.2                                ...           5 months ago
  • 0.2.1                                ...           5 months ago
  • 0.2.0                                ...           6 months ago
  • 0.1.2-beta.6                                ...           6 months ago
  • 0.1.2-beta.5                                ...           6 months ago
  • 0.1.2-beta.4                                ...           6 months ago
  • 0.1.2-beta.3                                ...           6 months ago
  • 0.1.2-beta.2                                ...           6 months ago
  • 0.1.2-beta.1                                ...           6 months ago
  • 0.1.1                                ...           6 months ago
  • 0.1.0                                ...           6 months ago
  • 0.0.9                                ...           6 months ago
  • 0.0.8                                ...           6 months ago
  • 0.0.6                                ...           6 months ago
  • 0.0.5                                ...           6 months ago

Copyright 2014 - 2017 © taobao.org |