thoth-station.amun
Thoth: Amun
This role installs all Amun parts to a specific OpenShift Project.
Role Variables
This role needs a few variables:
AMUN_INFRA_NAMESPACE: "<namespace with the templates>"
AMUN_API_NAMESPACE: "<namespace for the amun api>"
AMUN_INSPECTION_NAMESPACE: "<namespace for inspection jobs>"
AMUN_API_APP_SECRET_KEY: "<Amun API key>"
PROMETHEUS_PUSHGATEWAY_HOST: "<Prometheus host>"
PROMETHEUS_PUSHGATEWAY_PORT: "<Prometheus port>"
SENTRY_DSN: "<Sentry DSN>"
Example Playbook
Here's an example of how to use this role (for example, with variables provided as parameters):
- hosts: localhost
connection: local
gather_facts: False
# additional variables
vars:
# Defaults to the service account assigned in the amunInspectionNamespace-template
SERVICE_ACCOUNT_NAME: "inspector"
# Image registry specific to the cluster (default for OpenShift)
# for minishift use <host>:5000, e.g. 172.30.1.1:5000
IMAGE_REGISTRY: docker-registry.default.svc:5000
roles:
- role: thoth-station.anum
AMUN_INFRA_NAMESPACE: "thoth-test-core"
AMUN_API_NAMESPACE: "thoth-test-core"
AMUN_INSPECTION_NAMESPACE: "thoth-test-core"
AMUN_API_APP_SECRET_KEY: "{{ lookup('env','AMUN_API_APP_SECRET_KEY') }}"
PROMETHEUS_PUSHGATEWAY_HOST: "{{ lookup('env','PROMETHEUS_PUSHGATEWAY_HOST') }}"
PROMETHEUS_PUSHGATEWAY_PORT: "{{ lookup('env','PROMETHEUS_PUSHGATEWAY_PORT') }}"
SENTRY_DSN: "{{ lookup('env','SENTRY_DSN') }}"
License
GPLv3
Author Information
The Thoth Station Team.
Informazioni sul progetto
This role will deploy Thoth's Amun Microservice.
Installa
ansible-galaxy install thoth-station.amun
Licenza
gpl-3.0
Download
116
Proprietario
Using Artificial Intelligence to analyse and recommend Software Stacks for the Python Ecosystem.