Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spinnaker/kayenta

Package Overview
Dependencies
Maintainers
18
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinnaker/kayenta

[![Build Status](https://travis-ci.org/spinnaker/deck-kayenta.png?branch=master)](https://travis-ci.org/spinnaker/deck-kayenta)

  • 0.0.93
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
86
decreased by-47.88%
Maintainers
18
Weekly downloads
 
Created
Source

Spinnaker Canary UI

Build Status

PR Process

In order to commit to this repo, please fork the repository and submit Pull Requests from a fork rather than a branch. It requires additional permissions to push branches.

Development

Make sure that node and yarn are installed on your machine. The minimum versions for each are listed in package.json.

To develop this module, run it as a Deck dependency using either yalc (recommended) or npm link.

yarn

In the root of this repository and the main Deck repository, run

yarn

yalc

Globally install yalc.

From the root of this repository, run

yalc publish

From the root of the main Deck repository, run

yalc add @spinnaker/kayenta
yarn start

As you make additional changes in this repository, run

yalc publish --push

From the root of this repository, run

npm link

From the root of the main Deck repository, run

npm link @spinnaker/kayenta

You should only have to run these commands once.

Next, run WATCH=true yarn lib at the root of this repository. In a separate terminal, run yarn start at the root of the main Deck repository.

Environment Variables

deck-kayenta uses feature and development flags. These are fully configurable within settings.js, but it is usually easier to pass the flags as environment variables.

These are good defaults:

REDUX_LOGGER=true \
API_HOST=http://localhost:8084 \
METRIC_STORE=stackdriver \
CANARY_STAGES_ENABLED=true \
TEMPLATES_ENABLED=true \
yarn start

Publishing @spinnaker/kayenta

This module is published as an NPM package.

  • Create a pull request that increments package.json's patch version - e.g., to 0.0.57.
  • Once the pull request has been merged, publish a release using the same tag as package.json's version, e.g., v0.0.57. @spinnaker/kayenta will be automatically published to NPM.

Once @spinnaker/kayenta has been published, the Deck dependency on deck-kayenta will be automatically updated by Dependabot. Keep an eye out for a PR against Deck from Dependabot.

Testing

To run deck-kayenta's tests, run yarn test.

To run deck-kayenta's tests and generate a code coverage report, run yarn test-coverage. Open /coverage/html/index.html in a browser to view the HTML version of the report.

FAQs

Package last updated on 30 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc