Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST3 #45

Merged
merged 33 commits into from
Nov 29, 2019
Merged

ST3 #45

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e0eb961
refactor: convert to management repository
error418 Nov 9, 2019
ceba1e8
chore: remove obsolete files
error418 Nov 9, 2019
5d10603
chore: remove obsolete files
error418 Nov 9, 2019
94efde1
dev: helm charts
error418 Nov 13, 2019
7f52bb8
dev: prepare helm charts
error418 Nov 16, 2019
78bbc5c
chore: add build dependencies
error418 Nov 16, 2019
316d32d
docs(pages): change git addresses
error418 Nov 16, 2019
e4ba5fe
chore: add utility script for helm bake
error418 Nov 16, 2019
0d9d2b4
chore(bake): set basedir
error418 Nov 16, 2019
4a6770d
chore(bake): improve utility script
error418 Nov 16, 2019
4684cb0
chore(helm): simplify helm configuration
error418 Nov 16, 2019
8cf2952
chore(helm): remove obsolete parent config entity
error418 Nov 16, 2019
dc442d2
docs: improve documentation
error418 Nov 16, 2019
26f50e6
chore(bake): run dependency update before baking
error418 Nov 17, 2019
0a050ff
chore(helm): skip service config of disabled plugins
error418 Nov 17, 2019
e84892c
docs: improve documentation
error418 Nov 17, 2019
c347a19
chore(helm): add deck feature flags
error418 Nov 20, 2019
153d8c6
chore: add docker-compose for dev purposes
error418 Nov 20, 2019
9b2b228
chore(compose): improve dev setup
error418 Nov 23, 2019
ae7c79b
chore: add batch repo clone util script
error418 Nov 24, 2019
7777c08
chore(helm): update gate config to latest structure
error418 Nov 24, 2019
80ee63d
chore(compose): remove logging for storage containers
error418 Nov 24, 2019
1ffee61
chore(helm): update container versions
error418 Nov 24, 2019
049f82c
chore(utils): add dev utility scripts
error418 Nov 24, 2019
4f8fbd5
chore(helm): fix gate config indentation
error418 Nov 24, 2019
fdbdb01
chore(bake): make redis password configurable
error418 Nov 24, 2019
ef68bcd
chore(helm): add protocol to plugin base urls
error418 Nov 24, 2019
14c792a
chore(util): improve test data sender script
error418 Nov 25, 2019
02b51ed
docs(pages): modify header
error418 Nov 25, 2019
279f069
docs(pages): update github pages
error418 Nov 29, 2019
c7b7397
docs(pages): update landing page
error418 Nov 29, 2019
3ab1192
docs: update documentation resources
error418 Nov 29, 2019
e9c89e7
docs: update readme
error418 Nov 29, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .codeclimate.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .dockerignore

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/docker-release.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/dockerimage.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

35 changes: 0 additions & 35 deletions Dockerfile

This file was deleted.

8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# Swingletree [![Maintainability](https://api.codeclimate.com/v1/badges/e792e95e2c8e96e98b24/maintainability)][code-climate] [![Docker Automated build](https://img.shields.io/docker/automated/werkbank/swingletree.svg)][dockerhub-repo]

<img src="static/icon.svg" width="55" align="right">
# Swingletree

Swingletree gives you the possibility to integrate a variety of software quality tools into GitHub to secure the quality of your software.

Take a look at our [GitHub Page][swingletree] for more information (and the Swingletree documentation).

[code-climate]: https://codeclimate.com/github/error418/swingletree/maintainability
[dockerhub-repo]: https://hub.docker.com/r/werkbank/swingletree/tags/
[swingletree]: https://error418.github.io/swingletree/
[swingletree]: https://swingletree-oss.github.io/swingletree/
8 changes: 8 additions & 0 deletions compose.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SCOTTY_STORAGE_HOST=redis
SCOTTY_GITHUB_APP_ID: ${GH_APPID}
SCOTTY_ELASTIC_ENABLED=true
SCOTTY_ELASTIC_NODE=http://elastic:9200

DECK_ELASTIC_ENABLED=true
DECK_ELASTIC_NODE=http://elastic:9200
DECK_ELASTIC_FEATURES_DASHBOARD=true
95 changes: 95 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
version: "3.3"

services:
deck:
container_name: deck
env_file:
- ./compose.env
environment:
DECK_PORT: 3000
build:
context: ../deck/
ports:
- "3000:3000"
scotty:
container_name: scotty
env_file:
- ./compose.env
environment:
SCOTTY_PORT: 3000
SCOTTY_STORAGE_HOST: redis
SCOTTY_GITHUB_APP_ID: ${GH_APPID}
build:
context: ../scotty/
volumes:
- ../scotty/gh-app.pem:/opt/scotty/gh-app.pem
expose:
- "3000"
gate:
container_name: gate
env_file:
- ./compose.env
environment:
GATE_PORT: 3001
build:
context: ../gate/
ports:
- "3001:3001"

redis:
container_name: redis
image: redis
logging:
driver: none
expose:
- "6379"

elastic:
container_name: elastic
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.1
logging:
driver: none
environment:
discovery.type: single-node
ports:
- "9200:9200"
expose:
- "9200"
- "9300"


plugin-nebula:
container_name: plugin-nebula
environment:
NEBULA_PORT: 3010
build:
context: ../plugin-nebula/
expose:
- "3010"

plugin-sonarqube:
container_name: plugin-sonarqube
environment:
SONAR_PORT: 3020
build:
context: ../plugin-sonarqube/
expose:
- "3020"

plugin-twistlock:
container_name: plugin-twistlock
environment:
TWISTLOCK_PORT: 3030
build:
context: ../plugin-twistlock/
expose:
- "3030"

plugin-zap:
container_name: plugin-zap
environment:
ZAP_PORT: 3040
build:
context: ../plugin-zap/
expose:
- "3040"
6 changes: 3 additions & 3 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ lang: de-DE
logo: assets/images/icon.svg

baseurl: "/swingletree" # the subpath of your site, e.g. /blog/
url: "https://error418.github.io" # the base hostname & protocol for your site
git_address: https://github.com/error418/swingletree
git_edit_address: https://github.com/error418/swingletree/blob/master/docs
url: "https://swingletree-oss.github.io" # the base hostname & protocol for your site
git_address: https://github.com/swingletree-oss/swingletree
git_edit_address: https://github.com/swingletree-oss/swingletree/blob/master/docs

blog:
enable: false
Expand Down
29 changes: 19 additions & 10 deletions docs/_data/docs.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
- title: Getting Started
- title: General
docs:
- home
- installation
- configure
- yoke-cli

- title: Installation
docs:
- install/prerequisites
- install/prepare
- install/k8s

- title: Components
docs:
- components/elastic
- components/nebula
- components/sonarqube
- components/twistlock
- components/zap
- problems
- components/deck
- components/gate
- components/scotty

- title: Plugins
docs:
- plugins/nebula
- plugins/sonarqube
- plugins/twistlock
- plugins/zap

- title: Extend Swingletree
docs:
- architecture
- eventbus
- architecture
13 changes: 13 additions & 0 deletions docs/_docs/components/deck.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Deck
permalink: /docs/components/deck/
redirect_from: /docs/index.html
---

Deck provides the web-interface of Swingletree.

## Build Overview

Swingletree UI offers you the `Builds` menu option, which enables you to search and view the details of the latest analysis reports.

<img class="showcase" style="max-width:95%" src="../../../assets/images/analysis-report-detail.png" />
7 changes: 0 additions & 7 deletions docs/_docs/components/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,5 @@ Swingletree can write its Analysis reports to ElasticSearch. This has following
* Analysis Reports can be aggregated to reports using established tools like [Kibana][kibana] or [Grafana][grafana]
* Swingletree UI offers the `Builds` menu option

## Build Overview

Swingletree UI offers you the `Builds` menu option, which enables you to search and view the details of the latest analysis reports.

<img class="showcase" style="max-width:95%" src="../../../assets/images/analysis-report-detail.png" />


[kibana]: https://www.elastic.co/de/products/kibana
[grafana]: https://grafana.com/
13 changes: 13 additions & 0 deletions docs/_docs/components/gate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Gate
permalink: /docs/components/gate/
redirect_from: /docs/index.html
---

Gate provides API endpoints of Swingletree.

## Features

* Provides metadata information to Swingletree plugins
* Registers and manages plugin endpoints
* Authenticates API calls (if auth token is configured)
23 changes: 0 additions & 23 deletions docs/_docs/components/problems.md

This file was deleted.

Loading