Skip to content

A quick script for rotating banners for Spinnaker applications in bulk

License

Notifications You must be signed in to change notification settings

linjmeyer/spinnaker-banner-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spinnaker Banner Updater

Some quick scripts for disabling triggers and adding banners to Spinnaker applications and pipelines.

Auth

Supports x509 auth

Use

python3 update-banner.py or python3 disable-triggers.py

Config

Create a file named config.py in the root like this:

filter = "keyword-or-app-name"
host="https://spinnaker-gate-address.com"
verify="/path/to/certs/bundle_ca.pem"
cert="/path/to/certs/auth.pem"
banners = [
    {
        "backgroundColor": "var(--color-warning-light)", 
        "text": "Hello i am new banner!"
        "textColor": "var(--color-text-primary)", 
        "enabled": True
    } 
]

About

A quick script for rotating banners for Spinnaker applications in bulk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages