• Stars
    star
    303
  • Rank 137,655 (Top 3 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created over 10 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Management UI for Spinnaker

Spinnaker UI

Branch Build

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 modules
  • yarn start

The app will start up on localhost:9000.

When editing core or any other cloud provider package, please run the following in that folder

  • yarn dev

If your local dev setup ends up in a corrupt state with missing npm modules, please run yarn fixup from deck and that should reset your state.

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 start will run Deck with http://spinnaker.prod.netflix.net as the API host.

Development

Deck has a combination of Angular and React, but is moving to React only. New changes made to the Deck project should use React wherever possible.

Testing

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

Developing things locally? You may want to run gate locally (which runs on port 8084) as well. Gate is the service that hosts the spinnaker REST API. Then run deck like this:

API_HOST=http://localhost:8084 yarn start

Building & Deploying

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

Graphql

the core package is using graphql queries and mutation to interact with the backend (currently, only the managed components). To generate the TS types and the Apollo hooks, run yarn graphql:generate from core.

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 all modules 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.

Join Us

Interested in sharing feedback on Spinnaker's UI or contributing to Deck? Please join us at the Spinnaker UI SIG!

More Repositories

1

spinnaker

Spinnaker is an open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence.
Shell
9,298
star
2

kayenta

Automated Canary Service
Java
1,287
star
3

clouddriver

read and write operations across cloud providers
Groovy
432
star
4

swabbie

Spinnaker's clean up service
Kotlin
370
star
5

halyard

A tool for configuring, installing, and updating Spinnaker
Java
308
star
6

orca

Orchestration engine
Groovy
245
star
7

igor

Integration with Jenkins and Git for Spinnaker
Groovy
145
star
8

spin

Spinnaker CLI
Go
128
star
9

gate

Spinnaker API Gateway
Groovy
127
star
10

keel

Spinnaker's declarative service
Kotlin
109
star
11

rosco

A bakery for deployable images
Groovy
88
star
12

spinnaker.github.io

spinnaker documentation site
HTML
79
star
13

dcd-spec

Declarative Pipeline specification for Spinnaker
78
star
14

echo

Spinnaker Eventing Service
Java
74
star
15

kleat

A lightweight tool for managing Spinnaker configuration
Go
69
star
16

fiat

Spinnaker auth service
Java
68
star
17

front50

Spinnaker Metadata Repository Service
Java
63
star
18

pipeline-templates

A public collection of Spinnaker declarative pipeline templates
54
star
19

governance

Community documentation for Spinnaker
Kotlin
46
star
20

roer

A thin Spinnaker CLI
Go
45
star
21

kork

Kork provides some basic service building blocks for Spinnaker.
Java
41
star
22

spinnaker-monitoring

Support for monitoring deployed Spinnaker microservices.
Python
39
star
23

workshops

CSS
25
star
24

sponnet

Jsonnet library specifically for Spinnaker
Jsonnet
24
star
25

spinnaker.io

spinnaker.io website content
HTML
20
star
26

spinnaker-gradle-project

Gradle project for spinnaker project conventions
Kotlin
20
star
27

keiko

Queuing library originally built for Orca
Kotlin
18
star
28

deck-kayenta

Spinnaker UI module for Kayenta
TypeScript
17
star
29

kustomization-base

Base kustomize config for deploying Spinnaker to kubernetes
17
star
30

spinnaker-dependencies

Common dependencies for Spinnaker
Shell
14
star
31

deck-customized

Spinnaker Deck with customizations
HTML
14
star
32

rush

Script Execution service
Groovy
12
star
33

moniker

naming for cloud resources
Groovy
11
star
34

spinnaker-config

Template repo for users to overlay the base kustomization with their config
11
star
35

try.spinnaker.io

Spinnaker Playground πŸŒŠπŸ„
Shell
9
star
36

styleguide

Style guide for Spinnaker UI
HTML
8
star
37

buildtool

Utilities and tools for setting up and execution Spinnaker integration tests
Python
6
star
38

scheduled-actions

As the name suggests ("scheduled actions")
Java
6
star
39

spinnakerbot

A GitHub bot for managing Spinnaker's repos.
Python
6
star
40

stats

Go
5
star
41

rotation-scheduler

A GitHub Action for generation a rotation schedule.
Go
5
star
42

bumpdeps

A GitHub Action to automatically bump Spinnaker dependencies
Kotlin
4
star
43

ops-tools

Unofficial community scripts and tools
4
star
44

dcdspike

quick spike of declarative CD templating
Java
4
star
45

managed.delivery

The microsite for managed.delivery
3
star
46

spinrel

A tool for working with Spinnaker releases.
Kotlin
3
star
47

clouddriver-cloudfoundry

Snapshot of cloud foundry code in clouddriver
Groovy
2
star
48

md-lib-go

Shared library code for Managed Delivery Go clients
Go
2
star
49

plugins

Spinnaker plugins repository
2
star
50

spinnaker-kustomize

Spinnaker installation via kustomize
Makefile
1
star
51

.github

Community Health files repo
1
star
52

spinnaker-dev.github.io

spinnaker.dev site
HTML
1
star
53

pipeline-builder

A Java library to build Spinnaker pipelines
Java
1
star