Management UI for Spinnaker
Switch branches/tags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fix(docs): Update PULL_REQUEST_TEMPLATE contributing link (#3781) Jun 1, 2017
app refactor(core/modal): Extract WizardStepLabel to its own file (#6209) Dec 14, 2018
docker fix(ssl/apache2): Fix for ports.conf.gen (#5254) May 2, 2018
gradle fix(buildModules): switch to nvm install [version] Oct 17, 2018
halconfig chore(provider/cf): re-add cf to halconfig (#6178) Dec 12, 2018
test fix(tests): remove express from static server test runner class (#6207) Dec 14, 2018
.babelrc perf(*): transpile to latest two modern browsers only (#5260) May 4, 2018
.clog.toml chore(changelog): Remove 'bc' keyword. (#3411) Mar 22, 2017
.dockerignore https for deck (#3221) Jan 25, 2017
.editorconfig editorconfig support Dec 23, 2015
.eslintignore chore(*): Update typescript and tslint and fix lint errors (#4494) Nov 20, 2017
.eslintrc fix(lint): Thanks prettier Apr 24, 2018
.gitattributes yo angular deck Jul 17, 2014
.gitignore feat(tests): add some functional tests to Deck (#6198) Dec 13, 2018
.npmrc All the webpack stuff squashed together. Jul 21, 2015
.prettierignore chore(prettier): add prettier git hook Apr 10, 2018
.prettierrc.json chore(prettier): add prettier git hook Apr 10, 2018
.travis.yml chore(*): bump yarn minimum version to 1.10.0 (#5890) Oct 24, 2018
AUTHORS feat(wercker): add wercker trigger and stage (#5519) (#5535) Jul 25, 2018
Dockerfile chore(docker): Upgrade base image (#4799) Feb 6, 2018
Dockerfile.slim chore(docker): allow staged files to be edited by www-data (#5129) Apr 6, 2018
LICENSE.txt Update LICENSE.txt Aug 21, 2014
README.adoc chore(build): Switch from npm to yarn Mar 23, 2017
build.gradle fix(build): bump memory limits during gradle build (#5991) Nov 8, 2018
cloudbuild-tagged.yaml chore(nightly build): Adds clouddriver-tagged.yaml for nightly builds ( Jul 10, 2017
cloudbuild.yaml fix(container): Extends timeout to 15m in cloudbuild.yaml file (#3390) Mar 15, 2017
gradlew chore(build): Gradle 4.7 Apr 23, 2018
gradlew.bat chore(build): Gradle 4.7 Apr 23, 2018
jsconfig.json Changes in response to comments on the pull request Nov 23, 2015
karma-shim.js chore(karma): Update karma config for webpack 4 Mar 21, 2018
karma.conf.js refactor(core/application): Migrate Application Data Sources to Rx st… Sep 14, 2018
package.json fix(tests): remove express from static server test runner class (#6207) Dec 14, 2018
postcss.config.js Just Use Prettier™ Apr 10, 2018
protractor.conf.js Just Use Prettier™ Apr 10, 2018
settings-local.js feat(core): adds settings-local.js for Halyard users (#4181) Sep 29, 2017
settings.gradle [Gradle Release Plugin] - pre tag commit: '0.10'. Sep 8, 2014
settings.js refactor(core): make onDemandClusterThreshold configurable Dec 10, 2018
start.sh fix(core): Remove bashisms from start.sh Aug 2, 2018
tsconfig.json fix(titus): display security groups in details when firewalls feature… Nov 30, 2018
tslint.json chore(config): blacklist direct imports from 'core', 'amazon', 'kuber… Dec 6, 2018
version.json (core) notify user when new app version is available (#2231) Apr 29, 2016
wdio.conf.js feat(tests): Add network fixture support for functional tests (#6203) Dec 14, 2018
webpack.config.js fix(build): bump memory limits during gradle build (#5991) Nov 8, 2018
yarn.lock fix(tests): remove express from static server test runner class (#6207) Dec 14, 2018

README.adoc

Spinnaker UI

Build Status

Prerequisites

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

Quick Start

Run the following commands (in the deck directory) to get all dependencies installed in deck and to start the server:

  • yarn

  • yarn run start

The app will start up on localhost:9000.

Environment variables

Environment variables can be used to configure application behavior. The following lists those variables and their possible values:

  • AUTH enable/disable authentication (default is disabled, enable by setting AUTH=enabled).

  • TIMEZONE set the default timezone (default is 'America/Los_Angeles' - see http://momentjs.com/timezone/docs/#/data-utilities/ for options)

  • DECK_CERT enable SSL (set to the fully qualified path to cert file, and DECK_KEY must be set to the fully qualified path to the key file)

The following external resources can be specified with environment variables:

  • API_HOST overrides the default Spinnaker API host.

  • AUTH_ENABLED determines whether Deck will attempt to authenticate users via Gate.

For example, API_HOST=http://spinnaker.prod.netflix.net yarn run start will run Deck with http://spinnaker.prod.netflix.net as the API host.

Testing

To run the tests within the application, run yarn run test.

Developing things locally? You will want to run gate locally (which runs on port 8084) as well. It’s the gateway to clouddriver. Then run deck like this:

API_HOST=http://localhost:8084 yarn run start

Building & Deploying

To build the application, run yarn run build. The built application lives in build/.

Conventions

It’s a work in progress, but please try to follow the conventions here.

Customizing the UI

It’s certainly doable - we’re in the middle of some significant changes to our build process, which should make it easier. For now, you can look at the netflix module to get an idea how we are customizing Deck internally. Expect a lot of this to change, though, as we figure out better, cleaner hooks and integration points. And we’re happy to provide new integration points (or accept pull requests) following those existing conventions if you need an integration point that doesn’t already exist.