first commit
This commit is contained in:
77
semaphore_dagster_config.example.yml
Normal file
77
semaphore_dagster_config.example.yml
Normal file
@@ -0,0 +1,77 @@
|
||||
# Configuration for SemaphoreUI + Ansible ML App Demo
|
||||
# Aggiorna i campi in base al tuo ambiente
|
||||
|
||||
# SemaphoreUI connection settings
|
||||
semaphore_url: "https://semaphore.common01.sandbox-cat-dat.simpl-europe.eu/semaphoreUI"
|
||||
semaphore_token: "<REPLACE_WITH_SEMAPHORE_TOKEN>"
|
||||
project_id: "10"
|
||||
|
||||
# Git repository configuration
|
||||
git_provider: "gitea"
|
||||
git_base_url: "http://dataprovider01-dataprovider-orchestration-platform-gitea-http.dataprovider01.svc.cluster.local:3000"
|
||||
git_repo_url: "http://dataprovider01-dataprovider-orchestration-platform-gitea-http.dataprovider01.svc.cluster.local:3000/gitea_admin/application-consumption-demo-algorithm.git"
|
||||
git_branch: "main"
|
||||
|
||||
# Git authentication (optional for private repos)
|
||||
git_username: ""
|
||||
git_access_token: ""
|
||||
|
||||
# Environment configuration
|
||||
environment_name: "Ansible ML App Demo Environment"
|
||||
environment_variables:
|
||||
app_environment: "production"
|
||||
|
||||
container_name: "example-ml-app"
|
||||
app_port: "5000"
|
||||
remove_image: "false"
|
||||
|
||||
registry_url: "gitea.dataprovider01.sandbox-cat-dat.simpl-europe.eu"
|
||||
repository_name: "j.r/application-consumption-demo-algorithm"
|
||||
image_tag: "optimized"
|
||||
|
||||
greeting_message: "Hello from SemaphoreUI Demo"
|
||||
enable_health_check: "true"
|
||||
|
||||
# Optional encrypted secrets in SemaphoreUI Environment
|
||||
environment_secrets:
|
||||
app_secret: "demo-secret-from-semaphore"
|
||||
release_id: "optimized"
|
||||
demo_api_key: "demo-api-key-123"
|
||||
demo_db_password: "demo-db-pass-123"
|
||||
|
||||
# Inventory configuration
|
||||
inventory_name: "ML App Demo Servers"
|
||||
inventory_type: "static"
|
||||
inventory_content: |
|
||||
[webservers]
|
||||
server1 ansible_host=217.154.255.66 ansible_user=root
|
||||
|
||||
[webservers:vars]
|
||||
ansible_python_interpreter=/usr/bin/python3
|
||||
|
||||
[all:vars]
|
||||
ansible_connection=ssh
|
||||
|
||||
# Integration flags
|
||||
is_agent_sem_ui: "false"
|
||||
|
||||
# Ansible Vault configuration
|
||||
vault_password: "<REPLACE_WITH_VAULT_PASSWORD>"
|
||||
|
||||
# Playbooks configuration
|
||||
playbooks:
|
||||
- name: "Test Connectivity"
|
||||
description: "Test connectivity and verify prerequisites before deployment"
|
||||
playbook_filename: "test.yml"
|
||||
|
||||
- name: "Deploy ML App Container"
|
||||
description: "Deploy ML app Docker container from private registry"
|
||||
playbook_filename: "deploy.yml"
|
||||
|
||||
- name: "Undeploy ML App Container"
|
||||
description: "Remove ML app container and clean up resources"
|
||||
playbook_filename: "undeploy.yml"
|
||||
|
||||
# Optional additional settings
|
||||
timeout_seconds: 30
|
||||
enable_health_check: true
|
||||
Reference in New Issue
Block a user