Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ init:
@./init.sh

certs:
@./generate-certs.sh
@./hack/generate-certs.sh

deps:
@mkdir -p "$(ROOT_BIN_DIR)"
Expand Down
2 changes: 1 addition & 1 deletion compute-agent
File renamed without changes.
57 changes: 0 additions & 57 deletions hack/start-etcd-docker.sh

This file was deleted.

9 changes: 0 additions & 9 deletions infra/ansible/infra-init.sh

This file was deleted.

117 changes: 0 additions & 117 deletions infra/ansible/setup-vsphere-infra.yml

This file was deleted.

69 changes: 34 additions & 35 deletions infra/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Persys Cloud Full Stack Docker Compose
#
# This file defines all core services for local development and integration:
# - API Gateway, Prow Scheduler, CoreDNS, CFSSL, MongoDB, Prometheus, Grafana, Jaeger, etcd, Node Exporter
# - All services are connected via the 'milx-cloud-net' bridge network
# - Certificates are shared via the 'certs' volume
# - Persys Gateway, Persys Scheduler, Persys Automation, Persys Forgery, Persys Federation, Persys Intelligence,CoreDNS, Hashicorp Vault, MongoDB, MySQL, Postgres, Prometheus, Grafana, Jaeger, etcd, Node Exporter
# - All services are connected via the 'persys-cloud-net' bridge network

services:

Expand Down Expand Up @@ -38,34 +37,6 @@ services:
networks:
- persys-cloud-net

# --- Persys Forgery (Internal build orchestration only) ---
persys-forgery:
build: ../../persys-forgery
ports:
- 8087:8087
depends_on:
- vault
- mysql
- redis
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT:-jaeger:4318}
- OTEL_SERVICE_NAME=${PERSYS_FORGERY_OTEL_SERVICE_NAME:-persys-forgery}
- PERSYS_FORGERY_MYSQL_DSN=${PERSYS_FORGERY_MYSQL_DSN:-forgery:password@tcp(mysql:3306)/forgery_db?parseTime=true}
- PERSYS_FORGERY_REDIS_ADDR=${PERSYS_FORGERY_REDIS_ADDR:-redis:6379}
- PERSYS_FORGERY_REDIS_PASSWORD=${PERSYS_FORGERY_REDIS_PASSWORD:-}
- PERSYS_FORGERY_REDIS_PASSWORD_FILE=${PERSYS_FORGERY_REDIS_PASSWORD_FILE:-}
- PERSYS_FORGERY_PIPELINE_STATUS_KEY=${PERSYS_FORGERY_PIPELINE_STATUS_KEY:-pipeline_status}
- PERSYS_FORGERY_VAULT_ADDR=${PERSYS_FORGERY_VAULT_ADDR:-http://vault:8200}
- PERSYS_FORGERY_VAULT_AUTH_METHOD=${PERSYS_FORGERY_VAULT_AUTH_METHOD:-approle}
- PERSYS_FORGERY_VAULT_TOKEN=${PERSYS_FORGERY_VAULT_TOKEN:-}
- PERSYS_FORGERY_VAULT_TOKEN_FILE=${PERSYS_FORGERY_VAULT_TOKEN_FILE:-}
- PERSYS_FORGERY_VAULT_ROLE_ID=${PERSYS_FORGERY_VAULT_ROLE_ID:-}
- PERSYS_FORGERY_VAULT_SECRET_ID=${PERSYS_FORGERY_VAULT_SECRET_ID:-}
- PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET=${PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET:-}
- PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET_FILE=${PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET_FILE:-}
networks:
- persys-cloud-net

# --- Persys Scheduler (Workload scheduler and reconciler) ---
persys-scheduler:
build: ../../persys-scheduler
Expand Down Expand Up @@ -99,6 +70,34 @@ services:
networks:
- persys-cloud-net

# --- Persys Forgery (Internal build orchestration only) ---
persys-forgery:
build: ../../persys-forgery
ports:
- 8087:8087
depends_on:
- vault
- mysql
- redis
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT:-jaeger:4318}
- OTEL_SERVICE_NAME=${PERSYS_FORGERY_OTEL_SERVICE_NAME:-persys-forgery}
- PERSYS_FORGERY_MYSQL_DSN=${PERSYS_FORGERY_MYSQL_DSN:-forgery:password@tcp(mysql:3306)/forgery_db?parseTime=true}
- PERSYS_FORGERY_REDIS_ADDR=${PERSYS_FORGERY_REDIS_ADDR:-redis:6379}
- PERSYS_FORGERY_REDIS_PASSWORD=${PERSYS_FORGERY_REDIS_PASSWORD:-}
- PERSYS_FORGERY_REDIS_PASSWORD_FILE=${PERSYS_FORGERY_REDIS_PASSWORD_FILE:-}
- PERSYS_FORGERY_PIPELINE_STATUS_KEY=${PERSYS_FORGERY_PIPELINE_STATUS_KEY:-pipeline_status}
- PERSYS_FORGERY_VAULT_ADDR=${PERSYS_FORGERY_VAULT_ADDR:-http://vault:8200}
- PERSYS_FORGERY_VAULT_AUTH_METHOD=${PERSYS_FORGERY_VAULT_AUTH_METHOD:-approle}
- PERSYS_FORGERY_VAULT_TOKEN=${PERSYS_FORGERY_VAULT_TOKEN:-}
- PERSYS_FORGERY_VAULT_TOKEN_FILE=${PERSYS_FORGERY_VAULT_TOKEN_FILE:-}
- PERSYS_FORGERY_VAULT_ROLE_ID=${PERSYS_FORGERY_VAULT_ROLE_ID:-}
- PERSYS_FORGERY_VAULT_SECRET_ID=${PERSYS_FORGERY_VAULT_SECRET_ID:-}
- PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET=${PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET:-}
- PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET_FILE=${PERSYS_FORGERY_GITHUB_WEBHOOK_SECRET_FILE:-}
networks:
- persys-cloud-net

# --- Persys Automation (policy engine and control-plane automation) ---
persys-automation:
build: ../../persys-automation
Expand Down Expand Up @@ -357,7 +356,7 @@ services:
networks:
- persys-cloud-net

# --- Redis (Forgery internal queues) ---
# --- Redis (Persys Scheduler/Forgery internal queues) ---
redis:
image: redis:7-alpine
restart: unless-stopped
Expand All @@ -370,8 +369,8 @@ services:
- persys-cloud-net

# --- Postgres (Automation policy and audit store) ---
automation-postgres:
image: postgres:16-alpine
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
- POSTGRES_DB=${AUTOMATION_POSTGRES_DB:-persys_automation}
Expand Down Expand Up @@ -399,7 +398,7 @@ services:
networks:
- persys-cloud-net

# --- etcd (Key-value store for Prow and CoreDNS) ---
# --- etcd (Key-value store for Persys Scheduler and CoreDNS) ---
etcd:
image: quay.io/coreos/etcd:v3.5.0
command: etcd --advertise-client-urls http://etcd:2379 --listen-client-urls http://0.0.0.0:2379 --auto-compaction-retention=1h
Expand Down
19 changes: 0 additions & 19 deletions infra/manifests/deployment.yaml.template

This file was deleted.

11 changes: 0 additions & 11 deletions infra/manifests/service.yaml.template

This file was deleted.

2 changes: 1 addition & 1 deletion persysctl
Loading