An audit tool that tests the whole system functionality of Spinnaker
____ __ ____ __ .__ __. .__ __. ___ __ ___ _______ .______
\ \ / \ / / | | | \ | | | \ | | / \ | |/ / | ____|| _ \
\ \/ \/ / | | | \| | | \| | / ^ \ | ' / | |__ | |_) |
\ / | | | . ` | | . ` | / /_\ \ | < | __| | /
\ /\ / | | | |\ | | |\ | / _____ \ | . \ | |____ | |\ \----.
\__/ \__/ |__| |__| \__| |__| \__| /__/ \__\ |__|\__\ |_______|| _| `._____|
In August of 2021, this project was archived.
Winnaker is an auditing tool for Spinnaker. Real testing in a real browser!
Build Docker:
docker build -t winnaker .
Config : copy the sample env file and edit it.
cp winnaker/.env-sample .env
Run :
docker run --env-file .env -it -v $(pwd)/winnaker-screenshots:/winnaker-screenshots/ winnaker
Add options as needed.
./run.sh
spinnaker
through chromium browsersampleapp
appsamplepipeline
the pipeline./applications.png
./pipelines.png
./last_build_status.png
./login.png
./stage1.png
The config file is located at ./src/config.sh but you can simply add any of the options below to your run.sh command.
optional arguments:
-h, --help show this help message and exit
-s, --start starts manual execution of the pipeline
-fb, --forcebake force bake, to be used wth --start
-a APP, --app APP the name of application to look for
-p PIPELINE, --pipeline PIPELINE
the name of pipeline to test
-nl, --nologin will not attempt to login
-hl, --headless will run in an xvfb display
./run.sh
./run.sh -s
./run.sh -s -fb
./run.sh -s -p "deploy to npe"
use with --caution--, will override the sample app.
./run.sh -a "differentapp" -p "different pipeline"
https://INSERT_HIPCHAT_BASE_URL.com/v2/room/INSERT_ROOM_ID/notification?auth_token=INSERT_TOKEN
pip install git+git://github.com/target/winnaker
models
module via from winnaker import models
Start minikube
inikube start
Activate minikube docker in your bash
val $(minikube docker-env)
build docker
ake build-docker-nocache
Fill out secret and configmaps and change default 5 minute cronjob to your needs. (edit configmap and secret inside kube folder)
apply kube files
ubectl apply -f kube