fast2dev 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- f2dev/__init__.py +1 -0
- f2dev/__main__.py +5 -0
- f2dev/_bundle/platform/.dockerignore +80 -0
- f2dev/_bundle/platform/.gitignore +82 -0
- f2dev/_bundle/platform/LICENSE +202 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/template_values.yaml +1731 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/Chart.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-airflow-deploy.yaml +60 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-bi-sync.yaml +46 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-checkout.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-console-sync.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-label.yaml +48 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-run.yaml +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-teardown.yaml +47 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-governance.yaml +40 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-lint.yaml +37 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-notify.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-quality.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-refresh.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-supersede.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-tags.yaml +44 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-branch.yaml +138 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-main.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-pr.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/NOTES.txt +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/settings-configmap.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/workflowtemplates.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/values.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values.yaml +436 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values_extra.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values.yaml +551 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values_extra.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/lightdash/template_values.yaml +359 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/metabase/template_values.yaml +384 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml +1562 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/template_values.yaml +269 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/.helmignore +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/Chart.yaml +20 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/template_values.yaml.j2 +175 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/NOTES.txt +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/_helpers.tpl +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/cicd-rbac.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/configmap.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/extras.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/promtail-configmap.yaml +68 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/service.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/serviceaccount.yaml +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/statefulset.yaml +276 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/valkey.yaml +113 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/warehouse-stats-cronjob.yaml +107 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/values.yaml +828 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_dbt_server/template_values.yaml +385 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_prerequisites_values.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_values.yaml +1671 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_kafka_values.yaml +112 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_opensearch_values.yaml +662 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_values.yaml +738 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/Chart.yaml +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/files/argo-openapi.json +681 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/_helpers.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/argo-rbac.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/backends.yaml +327 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/gateway.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/values.yaml +91 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/template_values.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values.yaml +1167 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values_extra.yaml +99 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/cleanup.py +452 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/docs/keycloak-oidc-setup.md +106 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values.yaml +5536 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values_extra.yaml +379 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/configmap.yaml +459 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_auth.py +285 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_mcp_plugin.py +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/webserver_config.py +130 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/cleanup.py +749 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/configmap.yaml +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/cronjob.yaml +137 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/.helmignore +26 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.lock +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/README.md +243 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/NOTES.txt +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_helpers.tpl +245 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_images.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-auth-secret.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/bootloader-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/pod.yaml +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml +171 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/cron-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/deployment.yaml +149 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-db.yaml +88 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/_helpers.tpl +111 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/deployment.yaml +169 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/hpa.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/pdb.yaml +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/deployment.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/service.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/statefulset.yaml +182 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/_helpers.tpl +54 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/deployment.yaml +152 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-metrics/deployment.yaml +124 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/deployment.yaml +227 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/service.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/deployment.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/configmap.yaml +55 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/deployment.yaml +220 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/deployment.yaml +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/deployment.yaml +146 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/ingress.yaml +63 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/service.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-worker/deployment.yaml +229 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/deployment.yaml +191 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/deployment.yaml +232 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/jobs-secrets.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_auth.tpl +944 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_aws.tpl +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cluster.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_common.tpl +370 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connector.tpl +58 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRollout.tpl +141 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRolloutWorker.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cron.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_customerio.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_database.tpl +375 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_dataplaneGroups.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_directJobRunner.tpl +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_featureFlags.tpl +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_java.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_jobs.tpl +422 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_keycloak.tpl +542 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_logging.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_metrics.tpl +214 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_micronaut.tpl +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_minio.tpl +64 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_secretsManager.tpl +628 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_server.tpl +533 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_shopify.tpl +83 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_stigg.tpl +157 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_storage.tpl +468 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_temporal.tpl +943 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_topology.tpl +98 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_tracking.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_webapp.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_worker.tpl +366 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadApiServer.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadLauncher.tpl +395 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloads.tpl +770 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/env-configmap.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/gcs-log-creds-secret.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/minio.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/serviceaccount.yaml +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/telemetry-configmap.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/tests/test-webapp.yaml +34 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/values.yaml +3158 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/.helmignore +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/Chart.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/README.md +172 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/_helpers.tpl +42 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/deployment.yaml +105 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/externalsecret.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/pdb.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/service.yaml +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/values.yaml +97 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/feature-flags-configmap.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_metrics_values.yaml +13 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml +1200 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_values.yaml +3255 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/Chart.yaml +7 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-client.yaml +27 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-master.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-worker.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_client_options +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_master_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_worker_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/log4j2.properties +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/seatunnel.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/_helpers.tpl +70 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/configmap.yaml +11 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-master.yaml +120 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-worker.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/rbac.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/services.yaml +33 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/values.yaml +101 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_oauth2proxy_values.yaml +196 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_values.yaml +75 -0
- f2dev/_bundle/platform/charts/data_services_charts/object_storage_operator/template_values.yaml +506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/csi_driver_values.yaml +193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_pdns_webhook_values.yaml +91 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values.yaml +1777 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values_extra.yaml +253 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cluster_cleaner/template_values.yaml +57 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values.yaml +476 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values_extra.yaml +131 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/realm_template.json +4785 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/template_values.yaml +657 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values.yaml +36 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values_extra.yaml +352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values.yaml +1218 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values_extra.yaml +845 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values.yaml +561 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values_extra.yaml +23 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_events_values.yaml +59 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_values.yaml +185 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_loki_values.yaml +108 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_metrics/template_values.yaml +1530 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/f2d-main.json +2871 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-k8s-cluster.json +1751 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-microservices.json +1682 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-pvc-storage.json +1320 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-service.json +1193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-cert-manager.json +755 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-keycloak.json +746 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-object-storage.json +881 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-postgresql.json +1590 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-traefik.json +1375 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows-trends.json +1916 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows.json +1330 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-analysis.json +631 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-freshness.json +1362 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-governance.json +1958 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-modeling.json +764 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration-trends.json +2352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration.json +1506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-quality.json +1549 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication-trends.json +2799 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication.json +2153 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming-trends.json +1536 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming.json +1209 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/f2d-bigquery.json +990 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/f2d-logs.json +630 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/folders.yaml +17 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/requirements.yaml +8 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_alerts_cm.yaml +2031 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_values.yaml +1315 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values.yaml +550 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values_extra.yaml +742 -0
- f2dev/_bundle/platform/charts/infra_services_charts/traefik_lb/template_values.yaml +1758 -0
- f2dev/_bundle/platform/cli/README.md +866 -0
- f2dev/_bundle/platform/cli/__init__.py +42 -0
- f2dev/_bundle/platform/cli/__main__.py +17 -0
- f2dev/_bundle/platform/cli/cert_providers.py +369 -0
- f2dev/_bundle/platform/cli/command_record.py +144 -0
- f2dev/_bundle/platform/cli/config/data_services_config.json +217 -0
- f2dev/_bundle/platform/cli/config/environment_profiles.yaml +183 -0
- f2dev/_bundle/platform/cli/config/images.json +129 -0
- f2dev/_bundle/platform/cli/config/infrastructure_services_config.json +141 -0
- f2dev/_bundle/platform/cli/config.py +252 -0
- f2dev/_bundle/platform/cli/deployment_configuration_aws_example.yaml +117 -0
- f2dev/_bundle/platform/cli/deployment_configuration_gcp_example.yaml +130 -0
- f2dev/_bundle/platform/cli/deployment_configuration_onprem_example.yaml +71 -0
- f2dev/_bundle/platform/cli/destroy.py +677 -0
- f2dev/_bundle/platform/cli/dns_check.py +27 -0
- f2dev/_bundle/platform/cli/dns_providers.py +405 -0
- f2dev/_bundle/platform/cli/exit_codes.py +32 -0
- f2dev/_bundle/platform/cli/fixers.py +56 -0
- f2dev/_bundle/platform/cli/generate_only.py +336 -0
- f2dev/_bundle/platform/cli/health_report.py +114 -0
- f2dev/_bundle/platform/cli/logging.py +206 -0
- f2dev/_bundle/platform/cli/main.py +5293 -0
- f2dev/_bundle/platform/cli/precheck.py +1523 -0
- f2dev/_bundle/platform/cli/prerequisites/README.md +208 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.bat +107 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.ps1 +343 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.sh +207 -0
- f2dev/_bundle/platform/cli/prerequisites/linux/install-linux.sh +775 -0
- f2dev/_bundle/platform/cli/prerequisites/macos/install-macos.sh +634 -0
- f2dev/_bundle/platform/cli/prerequisites/requirements.txt +41 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.ps1 +150 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.sh +418 -0
- f2dev/_bundle/platform/cli/prerequisites/versions.yaml +43 -0
- f2dev/_bundle/platform/cli/prerequisites/windows/install-windows.ps1 +1005 -0
- f2dev/_bundle/platform/cli/restore.py +179 -0
- f2dev/_bundle/platform/cli/service_gates.py +160 -0
- f2dev/_bundle/platform/cli/state.py +332 -0
- f2dev/_bundle/platform/cli/wizard.py +782 -0
- f2dev/_bundle/platform/cli.py +235 -0
- f2dev/_bundle/platform/deployers/__init__.py +4 -0
- f2dev/_bundle/platform/deployers/base_deployer.py +8 -0
- f2dev/_bundle/platform/deployers/clouds/__init__.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/aws_cloud.py +619 -0
- f2dev/_bundle/platform/deployers/clouds/azure_cloud.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/google_cloud.py +785 -0
- f2dev/_bundle/platform/deployers/clouds/terragrunt_progress.py +56 -0
- f2dev/_bundle/platform/deployers/services/data_services/1.0_cicd_workload_runner.py +644 -0
- f2dev/_bundle/platform/deployers/services/data_services/12.0_control_plane.py +321 -0
- f2dev/_bundle/platform/deployers/services/data_services/13.0_data_mcp_hub.py +362 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.0_object_storage_operator.py +416 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.5_services_logs.py +482 -0
- f2dev/_bundle/platform/deployers/services/data_services/3.0_data_cicd_workflows.py +361 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.0_data_replication.py +534 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.5_data_streaming.py +303 -0
- f2dev/_bundle/platform/deployers/services/data_services/5.0_data_orchestration.py +760 -0
- f2dev/_bundle/platform/deployers/services/data_services/6.0_data_modeling.py +753 -0
- f2dev/_bundle/platform/deployers/services/data_services/7.0_data_governance.py +795 -0
- f2dev/_bundle/platform/deployers/services/data_services/8.0_data_analysis.py +587 -0
- f2dev/_bundle/platform/deployers/services/infra_services/1.0_secret_operator.py +467 -0
- f2dev/_bundle/platform/deployers/services/infra_services/10.0_cluster_pvc_autoscaller.py +500 -0
- f2dev/_bundle/platform/deployers/services/infra_services/2.0_cert_manager.py +963 -0
- f2dev/_bundle/platform/deployers/services/infra_services/3.0_external_dns.py +823 -0
- f2dev/_bundle/platform/deployers/services/infra_services/4.0_traefik_lb.py +604 -0
- f2dev/_bundle/platform/deployers/services/infra_services/5.0_stackgres_postgresql.py +652 -0
- f2dev/_bundle/platform/deployers/services/infra_services/6.0_services_metrics.py +515 -0
- f2dev/_bundle/platform/deployers/services/infra_services/7.0_services_monitoring.py +787 -0
- f2dev/_bundle/platform/deployers/services/infra_services/8.0_cluster_cleaner.py +439 -0
- f2dev/_bundle/platform/deployers/services/infra_services/9.0_idp_sso_manager.py +790 -0
- f2dev/_bundle/platform/readme.md +47 -0
- f2dev/_bundle/platform/requirements.txt +14 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/backend.tf_template +10 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/defaults.yaml_template +11 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/01-apps-vpc/terragrunt.hcl +26 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/02-create-dns-ns-record/terragrunt.hcl +16 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/03-eks-cluster/terragrunt.hcl +21 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/04-external_dns_sa/terragrunt.hcl +28 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/01-apps-vpc/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/02-eks-cluster/terragrunt.hcl +32 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/03-external-dns-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/04-cert-manager-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +22 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +44 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/env.hcl +2 -0
- f2dev/_bundle/platform/terraform/azure_cloud/README.md +3 -0
- f2dev/_bundle/platform/terraform/azure_cloud/templates/_keep_structure.txt +0 -0
- f2dev/_bundle/platform/terraform/google_cloud/README.md +20 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/backend.tf_template +7 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/defaults.yaml_template +12 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_advanced_template +114 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_basic_template +116 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/.gitignore +3 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/00-create-ou-folder/terragrunt.hcl +15 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/01-create-project/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/02-enable-apis/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/03-0-apps-vpc/terragrunt.hcl +134 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/04-external-ip-traefik/terragrunt.hcl +29 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/07-gke-cluster/terragrunt.hcl +103 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/08-dbt_deploy_sa/terragrunt.hcl +36 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/09-dbt_sa/terragrunt.hcl +40 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/10-cert_manager_sa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/11-external_dns_sa/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/12-monitoring_sa/terragrunt.hcl +52 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/13-data_replication_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/14-data_orchestration_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/15-bi_data_sa/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/16-whitelist-external-ip-on-common/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/17-kubeconfig/terragrunt.hcl +23 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/18-data_streaming_sa/terragrunt.hcl +24 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/utils/__init__.py +0 -0
- f2dev/_bundle/platform/utils/customer_data_platform_repository_operator.py +1098 -0
- f2dev/_bundle/platform/utils/customer_secret_manager_operations.py +1635 -0
- f2dev/_bundle/platform/utils/environment_profiles.py +58 -0
- f2dev/_bundle/platform/utils/helm_utils.py +215 -0
- f2dev/_bundle/platform/utils/infrastructure_deployment_operator.py +1532 -0
- f2dev/_bundle/platform/utils/keycloak_realm_reconcile.py +320 -0
- f2dev/_bundle/platform/utils/kubeconfig_fixer.py +265 -0
- f2dev/_bundle/platform/utils/raw_extras.py +34 -0
- f2dev/_bundle/platform/utils/readiness.py +330 -0
- f2dev/_bundle/platform/utils/secret_structure_upgrade.py +194 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/.gitignore +7 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/README.md +33 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/analyses/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/dbt_project.yml +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_bq_time_zones.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_monitoring_grain.sql +23 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.sql +19 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.yml +25 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.sql +16 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.yml +24 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.yml +21 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.sql +14 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.yml +22 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.sql +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.yml +42 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.sql +74 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.yml +49 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/sources/billing_export.yml +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.sql +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.yml +4 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/packages.yml +5 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/profiles.yml +15 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/scripts/run_monitoring.py +201 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/seeds/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/snapshots/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/tests/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/dry_run/gcp_sa.json +12 -0
- f2dev/_bundle/platform/utils/templates/dry_run/kubeconfig.yaml +18 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/README.MD +50 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/dbt/README.MD +47 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/fast2dev_healthcheck.py_template_airflow_3.x +158 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/bitbucket/bitbucket-pipelines.yml_template +144 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/pr-agent.yml +30 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/validate-pr-description.yml +38 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/pr-agent.yml +37 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/validate-pr-description.yml +157 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/PR_VALIDATION.md +43 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/merge_request_templates/Default.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab-ci.yml_template +181 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.gitignore +21 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.pr_agent.toml +82 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/AGENTS.md +126 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/README.MD +101 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/DR.md +341 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/README.md.j2 +81 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/decrypt_files.py +331 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/encrypt_files.py +321 -0
- f2dev/_bundle/platform/utils/templates/secret_structure_template/customer_vault_structure.json +502 -0
- f2dev/_bundle/platform/utils/vault_structure_sync.py +96 -0
- f2dev/_bundle/terraform-modules/README.md +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/README.md +7 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/addons-roles.tf +298 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/main.tf +313 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/outputs.tf +3 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/policies/lb-controller-policy.json +219 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/provider.tf +36 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/variables.tf +107 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/main.tf +25 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/provider.tf +17 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/variables.tf +41 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/main.tf +34 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/provider.tf +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/variables.tf +118 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/azure_cloud/README.md +3 -0
- f2dev/_bundle/terraform-modules/google_cloud/README.md +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/main.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/outputs.tf +25 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/providers.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/main.tf +38 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/variables.tf +73 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/versions.tf +39 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/main.tf +213 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/outputs.tf +31 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/variables.tf +192 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/main.tf +29 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/output.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/variables.tf +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/main.tf +18 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/output.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/variables.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/README.md +188 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/main.tf +135 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/output.tf +16 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/variables.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/versions.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/main.tf +14 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/provider.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/variables.tf +13 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/README.md +89 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/main.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/outputs.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/variables.tf +43 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/variables.tf +37 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/README.md +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/main.tf +459 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/provider.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/variables.tf +354 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/versions.tf +22 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/README.md +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/main.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/outputs.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/variables.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/README.md +47 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/main.tf +51 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/README.md +103 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/main.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/outputs.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/variables.tf +82 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/versions.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/outputs.tf +35 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/variables.tf +237 -0
- f2dev/_bundle/terraform-modules/oracle_cloud/README.md +3 -0
- f2dev/launcher.py +153 -0
- fast2dev-1.0.0.dist-info/METADATA +201 -0
- fast2dev-1.0.0.dist-info/RECORD +543 -0
- fast2dev-1.0.0.dist-info/WHEEL +4 -0
- fast2dev-1.0.0.dist-info/entry_points.txt +2 -0
- fast2dev-1.0.0.dist-info/licenses/LICENSE +202 -0
- fast2dev-1.0.0.dist-info/licenses/NOTICE +6 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# Fast2.Dev CLI Prerequisites Installer
|
|
2
|
+
|
|
3
|
+
> **Note:** These shell/PowerShell scripts are now a **legacy/manual
|
|
4
|
+
> fallback**. The recommended path is the new automatic host precheck
|
|
5
|
+
> built into `python cli.py` itself — see
|
|
6
|
+
> [`platform/utils/host_prep.py`](../utils/host_prep.py) and the
|
|
7
|
+
> `cli/README.md` "Quick Start" section. Run those scripts directly
|
|
8
|
+
> only if you know you need a system-wide install or are on a host
|
|
9
|
+
> where the venv-based precheck cannot run.
|
|
10
|
+
|
|
11
|
+
This directory contains intelligent installation scripts that check what's already installed and only install missing components.
|
|
12
|
+
|
|
13
|
+
## Version Consistency
|
|
14
|
+
|
|
15
|
+
All tools are now standardized to use consistent versions across platforms to ensure identical behavior:
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Core Requirements
|
|
19
|
+
- **Python >=3.9**: For running the Fast2.Dev CLI
|
|
20
|
+
- **kubectl**: Kubernetes command-line tool
|
|
21
|
+
- **gcloud CLI**: Google Cloud command-line tool (required for authentication)
|
|
22
|
+
- **Terraform**: Infrastructure as Code tool for GCP resource management
|
|
23
|
+
- **Terragrunt v0.88.1**: Terraform wrapper for keeping configurations DRY (specific version required)
|
|
24
|
+
|
|
25
|
+
See `versions.yaml` for detailed version configuration and compatibility information.
|
|
26
|
+
|
|
27
|
+
## 🚀 Quick Start
|
|
28
|
+
|
|
29
|
+
### Option 1: Batch File (Recommended)
|
|
30
|
+
```cmd
|
|
31
|
+
install-prerequisites.bat
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
=======
|
|
35
|
+
**Windows (WSL2):**
|
|
36
|
+
```powershell
|
|
37
|
+
.\windows\install-windows.ps1
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## 📋 What Gets Installed
|
|
41
|
+
|
|
42
|
+
The installer intelligently checks and installs:
|
|
43
|
+
|
|
44
|
+
- **Python 3.11+** (with Microsoft Store aliases disabled)
|
|
45
|
+
- **kubectl** (Kubernetes CLI)
|
|
46
|
+
- **gcloud CLI** (Google Cloud CLI with fallback installation)
|
|
47
|
+
- **Terraform** (Infrastructure as Code)
|
|
48
|
+
- **Terragrunt** (Terraform wrapper)
|
|
49
|
+
- **Helm** (Kubernetes package manager)
|
|
50
|
+
- **Git** (Version control)
|
|
51
|
+
- **jq** (JSON processor)
|
|
52
|
+
- **curl** (HTTP client)
|
|
53
|
+
- **Docker Desktop** (Container platform - optional)
|
|
54
|
+
|
|
55
|
+
## 🔍 Features
|
|
56
|
+
|
|
57
|
+
### Intelligent Installation
|
|
58
|
+
- ✅ **Checks existing installations** - Only installs what's missing
|
|
59
|
+
- ✅ **Version verification** - Ensures minimum required versions
|
|
60
|
+
- ✅ **Microsoft Store alias handling** - Automatically disables problematic Python aliases
|
|
61
|
+
- ✅ **Fallback installation methods** - Multiple installation strategies for reliability
|
|
62
|
+
- ✅ **Comprehensive logging** - Detailed logs saved to `logs/` directory
|
|
63
|
+
- ✅ **Error resilience** - Continues installation even if some tools fail
|
|
64
|
+
|
|
65
|
+
### Smart Detection
|
|
66
|
+
- Detects already installed tools and their versions
|
|
67
|
+
- Skips installation if tool meets requirements
|
|
68
|
+
- Handles version conflicts and updates
|
|
69
|
+
- Manages environment variables automatically
|
|
70
|
+
|
|
71
|
+
## 📁 Files
|
|
72
|
+
|
|
73
|
+
- `install-prerequisites.bat` - Windows batch file wrapper
|
|
74
|
+
- `verify-prerequisites.ps1` - Verification script (Windows)
|
|
75
|
+
- `windows/install-windows.ps1` - Windows installer
|
|
76
|
+
- `install-prerequisites.sh` - Linux/macOS entrypoint
|
|
77
|
+
- `linux/` - Linux installer scripts (if present)
|
|
78
|
+
- `macos/` - macOS installer scripts (if present)
|
|
79
|
+
- `logs/` - Installation logs directory
|
|
80
|
+
|
|
81
|
+
## 🔧 Usage Examples
|
|
82
|
+
|
|
83
|
+
### Run Complete Installation (Windows)
|
|
84
|
+
=======
|
|
85
|
+
**Windows (WSL2):**
|
|
86
|
+
|
|
87
|
+
```powershell
|
|
88
|
+
# Run as Administrator
|
|
89
|
+
.\windows\install-windows.ps1
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Verify Installation
|
|
93
|
+
=======
|
|
94
|
+
## Windows Installation (WSL2)
|
|
95
|
+
|
|
96
|
+
**Important:** Fast2.Dev CLI now requires WSL2 (Windows Subsystem for Linux) for Windows compatibility. This ensures consistent behavior across all platforms and eliminates Windows-specific issues.
|
|
97
|
+
|
|
98
|
+
### WSL2 Installation Process:
|
|
99
|
+
1. **Automatic WSL2 Setup**: The installer will detect if WSL2 is installed
|
|
100
|
+
2. **Ubuntu Installation**: If WSL2 is not found, it will install WSL2 and Ubuntu automatically
|
|
101
|
+
3. **Setup Instructions**: After WSL2 is ready, you'll get instructions to complete setup in WSL2
|
|
102
|
+
4. **Linux Environment**: All tools are installed in the Ubuntu WSL2 environment
|
|
103
|
+
5. **Consistent Experience**: Same installation process as native Linux
|
|
104
|
+
|
|
105
|
+
### Why WSL2?
|
|
106
|
+
- ✅ **Eliminates Windows-specific issues** (PATH problems, line continuations, etc.)
|
|
107
|
+
- ✅ **Consistent behavior** across all platforms
|
|
108
|
+
- ✅ **Native Linux compatibility** for all tools
|
|
109
|
+
- ✅ **Better performance** than traditional virtualization
|
|
110
|
+
- ✅ **Easy file system access** between Windows and Linux
|
|
111
|
+
|
|
112
|
+
### Option 3: Individual Tool Installation
|
|
113
|
+
Use the individual tool installers in each platform directory.
|
|
114
|
+
|
|
115
|
+
## Platform Support
|
|
116
|
+
|
|
117
|
+
### macOS
|
|
118
|
+
- Supports both Intel and Apple Silicon (M1/M2) processors
|
|
119
|
+
- Uses Homebrew for package management
|
|
120
|
+
- Automatically detects architecture and installs appropriate versions
|
|
121
|
+
|
|
122
|
+
### Linux
|
|
123
|
+
- Supports Ubuntu 18.04+, CentOS 7+, RHEL 7+, and similar distributions
|
|
124
|
+
- Uses system package managers (apt, yum, dnf)
|
|
125
|
+
- Automatically detects distribution and uses appropriate commands
|
|
126
|
+
|
|
127
|
+
### Windows
|
|
128
|
+
- Supports Windows 10/11 and Windows Server 2016+
|
|
129
|
+
- Uses Chocolatey for package management
|
|
130
|
+
- Includes PowerShell execution policy configuration
|
|
131
|
+
- Provides both user and system-wide installation options
|
|
132
|
+
|
|
133
|
+
## Verification
|
|
134
|
+
|
|
135
|
+
After installation, run the verification script:
|
|
136
|
+
|
|
137
|
+
**macOS/Linux:**
|
|
138
|
+
```bash
|
|
139
|
+
./verify-prerequisites.sh
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Windows:**
|
|
143
|
+
```powershell
|
|
144
|
+
.\verify-prerequisites.ps1
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Linux/macOS
|
|
148
|
+
```bash
|
|
149
|
+
chmod +x install-prerequisites.sh
|
|
150
|
+
./install-prerequisites.sh
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## 📊 Installation Logs
|
|
154
|
+
|
|
155
|
+
All installations are logged to the `logs/` directory with timestamps:
|
|
156
|
+
- `logs/install-YYYYMMDD-HHMMSS.log`
|
|
157
|
+
|
|
158
|
+
## ⚠️ Requirements
|
|
159
|
+
|
|
160
|
+
- **Windows 10/11** or Windows Server 2016+
|
|
161
|
+
- **PowerShell 5.1** or later
|
|
162
|
+
- **Administrator privileges**
|
|
163
|
+
- **Internet connection**
|
|
164
|
+
|
|
165
|
+
## 🎯 After Installation
|
|
166
|
+
|
|
167
|
+
1. **Restart your terminal/PowerShell session**
|
|
168
|
+
2. **Configure cloud provider credentials**:
|
|
169
|
+
```bash
|
|
170
|
+
gcloud auth login
|
|
171
|
+
gcloud config set project YOUR_PROJECT_ID
|
|
172
|
+
```
|
|
173
|
+
3. **Run the Fast2.Dev CLI**:
|
|
174
|
+
```bash
|
|
175
|
+
python cli.py --help
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## 🐛 Troubleshooting
|
|
179
|
+
|
|
180
|
+
### Common Issues
|
|
181
|
+
|
|
182
|
+
1. **Python Microsoft Store aliases**
|
|
183
|
+
- The installer automatically handles this
|
|
184
|
+
- If issues persist, manually disable in Windows Settings > Apps > Advanced app settings > App execution aliases
|
|
185
|
+
|
|
186
|
+
2. **gcloud CLI installation fails**
|
|
187
|
+
- The installer has a fallback method
|
|
188
|
+
- If both fail, install manually from: https://cloud.google.com/sdk/docs/install
|
|
189
|
+
|
|
190
|
+
3. **Tools not found after installation**
|
|
191
|
+
- Restart your terminal/PowerShell session
|
|
192
|
+
- Run `refreshenv` in PowerShell
|
|
193
|
+
- Check the installation logs in `logs/` directory
|
|
194
|
+
|
|
195
|
+
### Getting Help
|
|
196
|
+
|
|
197
|
+
- Check installation logs in `logs/` directory
|
|
198
|
+
- Run verification script: `.\verify-prerequisites.ps1`
|
|
199
|
+
- Ensure you're running as Administrator
|
|
200
|
+
- Verify internet connection and disk space
|
|
201
|
+
|
|
202
|
+
## 🔄 Re-running Installation
|
|
203
|
+
|
|
204
|
+
The installer is safe to run multiple times:
|
|
205
|
+
- Skips already installed tools
|
|
206
|
+
- Updates tools if newer versions are available
|
|
207
|
+
- Only installs missing components
|
|
208
|
+
- Preserves existing configurations
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
REM Fast2.Dev CLI Prerequisites Installer for Windows (WSL2)
|
|
3
|
+
REM This batch file provides instructions and runs the PowerShell installer
|
|
4
|
+
|
|
5
|
+
echo.
|
|
6
|
+
echo ========================================
|
|
7
|
+
echo Fast2.Dev CLI Prerequisites Installer
|
|
8
|
+
echo ========================================
|
|
9
|
+
echo.
|
|
10
|
+
echo IMPORTANT: Fast2.Dev CLI now requires WSL2 for Windows compatibility.
|
|
11
|
+
echo This ensures consistent behavior across all platforms and eliminates
|
|
12
|
+
echo Windows-specific compatibility issues.
|
|
13
|
+
echo.
|
|
14
|
+
echo The installer will:
|
|
15
|
+
echo 1. Check if WSL2 is installed
|
|
16
|
+
echo 2. Install WSL2 and Ubuntu if needed
|
|
17
|
+
echo 3. Provide instructions for completing setup in WSL2
|
|
18
|
+
echo.
|
|
19
|
+
echo Benefits of WSL2 approach:
|
|
20
|
+
echo - Consistent behavior across Windows, Linux, and macOS
|
|
21
|
+
echo - No Windows-specific compatibility issues
|
|
22
|
+
echo - Full Linux toolchain support
|
|
23
|
+
echo - Better performance for development tools
|
|
24
|
+
echo.
|
|
25
|
+
echo Prerequisites:
|
|
26
|
+
echo - Windows 10 version 2004+ or Windows 11
|
|
27
|
+
echo - PowerShell 5.1 or later
|
|
28
|
+
echo - Administrator privileges
|
|
29
|
+
echo - Internet connection
|
|
30
|
+
echo.
|
|
31
|
+
echo Note: WSL2 installation may require a system restart.
|
|
32
|
+
echo.
|
|
33
|
+
|
|
34
|
+
set /p continue="Do you want to continue with WSL2 setup? (Y/N): "
|
|
35
|
+
if /i "%continue%"=="Y" goto :install
|
|
36
|
+
if /i "%continue%"=="N" goto :exit
|
|
37
|
+
goto :continue
|
|
38
|
+
|
|
39
|
+
:install
|
|
40
|
+
echo.
|
|
41
|
+
echo Starting WSL2 setup...
|
|
42
|
+
echo.
|
|
43
|
+
|
|
44
|
+
REM Check if PowerShell is available
|
|
45
|
+
powershell -Command "Get-Host" >nul 2>&1
|
|
46
|
+
if %errorlevel% neq 0 (
|
|
47
|
+
echo ERROR: PowerShell is not available on this system.
|
|
48
|
+
echo Please install PowerShell 5.1 or later and try again.
|
|
49
|
+
pause
|
|
50
|
+
exit /b 1
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
REM Check PowerShell version
|
|
54
|
+
for /f "tokens=*" %%i in ('powershell -Command "$PSVersionTable.PSVersion.Major"') do set psversion=%%i
|
|
55
|
+
if %psversion% lss 5 (
|
|
56
|
+
echo ERROR: PowerShell 5.1 or later is required.
|
|
57
|
+
echo Current version: %psversion%
|
|
58
|
+
echo Please upgrade PowerShell and try again.
|
|
59
|
+
pause
|
|
60
|
+
exit /b 1
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
echo PowerShell version check passed: %psversion%
|
|
64
|
+
echo.
|
|
65
|
+
|
|
66
|
+
REM Run the Windows PowerShell installer
|
|
67
|
+
echo Running Windows PowerShell installer...
|
|
68
|
+
powershell -ExecutionPolicy Bypass -File "windows\install-windows.ps1"
|
|
69
|
+
|
|
70
|
+
if %errorlevel% equ 0 (
|
|
71
|
+
echo.
|
|
72
|
+
echo ========================================
|
|
73
|
+
echo WSL2 setup completed successfully!
|
|
74
|
+
echo ========================================
|
|
75
|
+
echo.
|
|
76
|
+
echo Next steps:
|
|
77
|
+
echo 1. Follow the instructions shown above
|
|
78
|
+
echo 2. Open WSL2 Ubuntu: wsl -d Ubuntu
|
|
79
|
+
echo 3. Clone the repository in WSL2
|
|
80
|
+
echo 4. Run the Linux prerequisites installer
|
|
81
|
+
echo 5. Use the CLI from within WSL2
|
|
82
|
+
echo For verification, run: .\verify-prerequisites.ps1
|
|
83
|
+
|
|
84
|
+
echo.
|
|
85
|
+
) else (
|
|
86
|
+
echo.
|
|
87
|
+
echo ========================================
|
|
88
|
+
echo WSL2 setup failed!
|
|
89
|
+
echo ========================================
|
|
90
|
+
echo.
|
|
91
|
+
echo Please check the error messages above.
|
|
92
|
+
echo Common solutions:
|
|
93
|
+
echo - Run as Administrator
|
|
94
|
+
echo - Check your internet connection
|
|
95
|
+
echo - Ensure sufficient disk space
|
|
96
|
+
echo - Check Windows Defender/firewall settings
|
|
97
|
+
echo - Verify Windows version supports WSL2
|
|
98
|
+
echo.
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
goto :exit
|
|
102
|
+
|
|
103
|
+
:exit
|
|
104
|
+
echo.
|
|
105
|
+
echo Press any key to exit...
|
|
106
|
+
pause >nul
|
|
107
|
+
exit /b 0
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
# fast2.dev CLI Prerequisites Installer for Windows
|
|
2
|
+
# Cross-platform script that detects OS and runs appropriate installation
|
|
3
|
+
|
|
4
|
+
#Requires -Version 5.1
|
|
5
|
+
|
|
6
|
+
# Set error action preference
|
|
7
|
+
$ErrorActionPreference = "Stop"
|
|
8
|
+
|
|
9
|
+
# Colors for output (removed for batch file compatibility)
|
|
10
|
+
|
|
11
|
+
# Logging function
|
|
12
|
+
function Write-Log {
|
|
13
|
+
param(
|
|
14
|
+
[string]$Message,
|
|
15
|
+
[string]$Color = "White"
|
|
16
|
+
)
|
|
17
|
+
$timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
|
|
18
|
+
Write-Host "[$timestamp] $Message" -ForegroundColor $Color
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function Write-Error {
|
|
22
|
+
param([string]$Message)
|
|
23
|
+
Write-Log "ERROR: $Message" "Red"
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function Write-Warning {
|
|
27
|
+
param([string]$Message)
|
|
28
|
+
Write-Log "WARNING: $Message" "Yellow"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function Write-Success {
|
|
32
|
+
param([string]$Message)
|
|
33
|
+
Write-Log "SUCCESS: $Message" "Green"
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
# Function to detect operating system
|
|
37
|
+
function Get-OperatingSystem {
|
|
38
|
+
Write-Log "Detecting operating system..." "Blue"
|
|
39
|
+
|
|
40
|
+
if ($IsWindows) {
|
|
41
|
+
Write-Log "Windows detected" "White"
|
|
42
|
+
return "windows"
|
|
43
|
+
} elseif ($IsLinux) {
|
|
44
|
+
Write-Log "Linux detected" "White"
|
|
45
|
+
return "linux"
|
|
46
|
+
} elseif ($IsMacOS) {
|
|
47
|
+
Write-Log "macOS detected" "White"
|
|
48
|
+
return "macos"
|
|
49
|
+
} else {
|
|
50
|
+
# Fallback for older PowerShell versions
|
|
51
|
+
$os = Get-WmiObject -Class Win32_OperatingSystem
|
|
52
|
+
if ($os.Caption -like "*Windows*") {
|
|
53
|
+
Write-Log "Windows detected (fallback method)" "White"
|
|
54
|
+
return "windows"
|
|
55
|
+
} else {
|
|
56
|
+
Write-Log "Unknown operating system" "Yellow"
|
|
57
|
+
return "unknown"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
# Function to check if running as administrator
|
|
63
|
+
function Test-Administrator {
|
|
64
|
+
$currentUser = [Security.Principal.WindowsIdentity]::GetCurrent()
|
|
65
|
+
$principal = New-Object Security.Principal.WindowsPrincipal($currentUser)
|
|
66
|
+
return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
# Function to check privileges
|
|
70
|
+
function Test-Privileges {
|
|
71
|
+
if (Test-Administrator) {
|
|
72
|
+
Write-Log "Running as Administrator" "White"
|
|
73
|
+
return $true
|
|
74
|
+
} else {
|
|
75
|
+
Write-Warning "This script requires Administrator privileges"
|
|
76
|
+
Write-Warning "Please run PowerShell as Administrator and try again"
|
|
77
|
+
return $false
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
# Function to create logs directory
|
|
82
|
+
function New-LogsDirectory {
|
|
83
|
+
$logsDir = "logs"
|
|
84
|
+
if (-not (Test-Path $logsDir)) {
|
|
85
|
+
New-Item -ItemType Directory -Path $logsDir | Out-Null
|
|
86
|
+
Write-Log "Created logs directory: $logsDir" "Blue"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
# Function to check if WSL2 is installed and available
|
|
91
|
+
function Test-WSL2 {
|
|
92
|
+
Write-Log "Checking WSL2 installation..." "Blue"
|
|
93
|
+
|
|
94
|
+
# Check if WSL is available
|
|
95
|
+
if (-not (Get-Command "wsl" -ErrorAction SilentlyContinue)) {
|
|
96
|
+
Write-Log "WSL not found" "Yellow"
|
|
97
|
+
return $false
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
# Check WSL version
|
|
101
|
+
try {
|
|
102
|
+
wsl --version 2>$null
|
|
103
|
+
if ($LASTEXITCODE -eq 0) {
|
|
104
|
+
Write-Log "WSL2 is available" "Green"
|
|
105
|
+
return $true
|
|
106
|
+
}
|
|
107
|
+
} catch {
|
|
108
|
+
Write-Log "WSL version check failed" "Yellow"
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
# Check if WSL is installed but might be WSL1
|
|
112
|
+
try {
|
|
113
|
+
$wslList = wsl --list --verbose 2>$null
|
|
114
|
+
if ($LASTEXITCODE -eq 0) {
|
|
115
|
+
if ($wslList -match "2") {
|
|
116
|
+
Write-Log "WSL2 is installed" "Green"
|
|
117
|
+
return $true
|
|
118
|
+
} else {
|
|
119
|
+
Write-Log "WSL1 detected, WSL2 required" "Yellow"
|
|
120
|
+
return $false
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
} catch {
|
|
124
|
+
Write-Log "WSL list check failed" "Yellow"
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return $false
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
# Function to install WSL2 and Ubuntu
|
|
131
|
+
function Install-WSL2 {
|
|
132
|
+
Write-Log "Installing WSL2 and Ubuntu..." "Blue"
|
|
133
|
+
|
|
134
|
+
Write-Warning "WSL2 is required to run fast2.dev CLI on Windows"
|
|
135
|
+
Write-Warning "This will install WSL2 and Ubuntu Linux distribution"
|
|
136
|
+
Write-Warning "The installation may take several minutes and require a restart"
|
|
137
|
+
|
|
138
|
+
$confirm = Read-Host "Do you want to continue with WSL2 installation? (y/N)"
|
|
139
|
+
if ($confirm -ne "y" -and $confirm -ne "Y") {
|
|
140
|
+
Write-Error "WSL2 installation cancelled. fast2.dev CLI cannot run without WSL2 on Windows."
|
|
141
|
+
exit 1
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
try {
|
|
145
|
+
# Enable WSL feature
|
|
146
|
+
Write-Log "Enabling WSL feature..." "Blue"
|
|
147
|
+
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
|
|
148
|
+
|
|
149
|
+
# Enable Virtual Machine Platform
|
|
150
|
+
Write-Log "Enabling Virtual Machine Platform..." "Blue"
|
|
151
|
+
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
|
|
152
|
+
|
|
153
|
+
# Set WSL2 as default
|
|
154
|
+
Write-Log "Setting WSL2 as default..." "Blue"
|
|
155
|
+
wsl --set-default-version 2
|
|
156
|
+
|
|
157
|
+
# Install Ubuntu
|
|
158
|
+
Write-Log "Installing Ubuntu..." "Blue"
|
|
159
|
+
wsl --install -d Ubuntu
|
|
160
|
+
|
|
161
|
+
Write-Success "WSL2 and Ubuntu installation initiated"
|
|
162
|
+
Write-Warning "Please restart your computer and run this script again"
|
|
163
|
+
Write-Warning "After restart, Ubuntu will complete its setup automatically"
|
|
164
|
+
|
|
165
|
+
$restart = Read-Host "Do you want to restart now? (y/N)"
|
|
166
|
+
if ($restart -eq "y" -or $restart -eq "Y") {
|
|
167
|
+
Write-Log "Restarting computer..." "Blue"
|
|
168
|
+
Restart-Computer -Force
|
|
169
|
+
} else {
|
|
170
|
+
Write-Warning "Please restart manually and run this script again"
|
|
171
|
+
exit 0
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
} catch {
|
|
175
|
+
Write-Error "WSL2 installation failed: $($_.Exception.Message)"
|
|
176
|
+
exit 1
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
# Function to show WSL2 setup instructions
|
|
181
|
+
function Show-WSL2Instructions {
|
|
182
|
+
Write-Log "WSL2 and Ubuntu are ready!" "Green"
|
|
183
|
+
Write-Host ""
|
|
184
|
+
Write-Host "Next Steps:" -ForegroundColor Blue
|
|
185
|
+
Write-Host "===========" -ForegroundColor Blue
|
|
186
|
+
Write-Host ""
|
|
187
|
+
Write-Host "1. Open WSL2 Ubuntu:" -ForegroundColor White
|
|
188
|
+
Write-Host " wsl -d Ubuntu" -ForegroundColor Yellow
|
|
189
|
+
Write-Host ""
|
|
190
|
+
Write-Host "2. Clone the repository in WSL2:" -ForegroundColor White
|
|
191
|
+
Write-Host " git clone https://github.com/m7xlab/fast2dev.git" -ForegroundColor Yellow
|
|
192
|
+
Write-Host " cd m7xlab/fast2dev" -ForegroundColor Yellow
|
|
193
|
+
Write-Host ""
|
|
194
|
+
Write-Host "3. Run the Linux prerequisites installer:" -ForegroundColor White
|
|
195
|
+
Write-Host " chmod +x cli/prerequisites/install-prerequisites.sh" -ForegroundColor Yellow
|
|
196
|
+
Write-Host " ./cli/prerequisites/install-prerequisites.sh" -ForegroundColor Yellow
|
|
197
|
+
Write-Host ""
|
|
198
|
+
Write-Host "4. After installation, run the CLI from WSL2:" -ForegroundColor White
|
|
199
|
+
Write-Host " python cli.py" -ForegroundColor Yellow
|
|
200
|
+
Write-Host ""
|
|
201
|
+
Write-Host "Tip: You can access your Windows files from WSL2 at /mnt/c/" -ForegroundColor Blue
|
|
202
|
+
Write-Host "Tip: Use 'code .' in WSL2 to open VS Code with WSL2 integration" -ForegroundColor Blue
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
# Function to run platform-specific installation
|
|
206
|
+
function Invoke-PlatformInstall {
|
|
207
|
+
param([string]$Platform)
|
|
208
|
+
|
|
209
|
+
switch ($Platform) {
|
|
210
|
+
"windows" {
|
|
211
|
+
# Check if WSL2 is available
|
|
212
|
+
if (Test-WSL2) {
|
|
213
|
+
Write-Log "WSL2 detected, showing setup instructions..." "Blue"
|
|
214
|
+
Show-WSL2Instructions
|
|
215
|
+
} else {
|
|
216
|
+
Write-Log "WSL2 not found, installing WSL2 and Ubuntu..." "Blue"
|
|
217
|
+
Install-WSL2
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
"linux" {
|
|
221
|
+
Write-Error "Linux detected. Please run the bash script instead:"
|
|
222
|
+
Write-Error " ./install-prerequisites.sh"
|
|
223
|
+
exit 1
|
|
224
|
+
}
|
|
225
|
+
"macos" {
|
|
226
|
+
Write-Error "macOS detected. Please run the bash script instead:"
|
|
227
|
+
Write-Error " ./install-prerequisites.sh"
|
|
228
|
+
exit 1
|
|
229
|
+
}
|
|
230
|
+
default {
|
|
231
|
+
Write-Error "Unsupported operating system: $Platform"
|
|
232
|
+
exit 1
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
# Function to verify installation
|
|
238
|
+
function Test-Installation {
|
|
239
|
+
Write-Log "Verifying installation..." "Blue"
|
|
240
|
+
|
|
241
|
+
$verifyScript = ".\verify-prerequisites.ps1"
|
|
242
|
+
if (Test-Path $verifyScript) {
|
|
243
|
+
try {
|
|
244
|
+
& $verifyScript
|
|
245
|
+
if ($LASTEXITCODE -eq 0) {
|
|
246
|
+
Write-Success "All prerequisites verified successfully!"
|
|
247
|
+
} else {
|
|
248
|
+
Write-Warning "Some prerequisites may not be properly installed"
|
|
249
|
+
Write-Warning "Check the verification output above for details"
|
|
250
|
+
}
|
|
251
|
+
} catch {
|
|
252
|
+
Write-Warning "Error running verification script: $($_.Exception.Message)"
|
|
253
|
+
}
|
|
254
|
+
} else {
|
|
255
|
+
Write-Warning "Verification script not found. Please run verification manually."
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
# Function to show installation summary
|
|
260
|
+
function Show-InstallationSummary {
|
|
261
|
+
Write-Host ""
|
|
262
|
+
Write-Host "Summary:" -ForegroundColor Blue
|
|
263
|
+
Write-Host "========" -ForegroundColor Blue
|
|
264
|
+
Write-Host "WSL2 and Ubuntu are ready for fast2.dev CLI" -ForegroundColor Green
|
|
265
|
+
Write-Host "Follow the instructions above to complete setup in WSL2" -ForegroundColor White
|
|
266
|
+
Write-Host "All prerequisites will be installed in the Linux environment" -ForegroundColor White
|
|
267
|
+
Write-Host ""
|
|
268
|
+
Write-Host "Benefits of this approach:" -ForegroundColor Blue
|
|
269
|
+
Write-Host " - Consistent behavior across Windows, Linux, and macOS" -ForegroundColor White
|
|
270
|
+
Write-Host " - No Windows-specific compatibility issues" -ForegroundColor White
|
|
271
|
+
Write-Host " - Full Linux toolchain support" -ForegroundColor White
|
|
272
|
+
Write-Host " - Better performance for development tools" -ForegroundColor White
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
# Function to check if we're in the right directory
|
|
276
|
+
function Test-Directory {
|
|
277
|
+
if (-not (Test-Path "..\..\cli.py")) {
|
|
278
|
+
Write-Error "This script must be run from the cli\prerequisites\ directory"
|
|
279
|
+
Write-Error "Please navigate to the correct directory and try again"
|
|
280
|
+
exit 1
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
# Function to check available disk space
|
|
285
|
+
function Test-DiskSpace {
|
|
286
|
+
$drive = (Get-Location).Drive
|
|
287
|
+
$freeSpace = $drive.Free / 1GB
|
|
288
|
+
|
|
289
|
+
if ($freeSpace -lt 2) {
|
|
290
|
+
Write-Warning "Low disk space detected. At least 2GB recommended for installation."
|
|
291
|
+
Write-Warning "Available space: $([math]::Round($freeSpace, 2)) GB"
|
|
292
|
+
|
|
293
|
+
$continue = Read-Host "Continue anyway? (y/N)"
|
|
294
|
+
if ($continue -ne "y" -and $continue -ne "Y") {
|
|
295
|
+
Write-Log "Installation cancelled" "Yellow"
|
|
296
|
+
exit 1
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
# Main installation function
|
|
302
|
+
function Main {
|
|
303
|
+
Write-Host "fast2.dev CLI Prerequisites Installer" -ForegroundColor Blue
|
|
304
|
+
Write-Host "====================================" -ForegroundColor Blue
|
|
305
|
+
Write-Host ""
|
|
306
|
+
|
|
307
|
+
# Setup logging
|
|
308
|
+
New-LogsDirectory
|
|
309
|
+
|
|
310
|
+
# Detect OS
|
|
311
|
+
$os = Get-OperatingSystem
|
|
312
|
+
Write-Log "Detected OS: $os" "Blue"
|
|
313
|
+
|
|
314
|
+
# Check privileges
|
|
315
|
+
if (-not (Test-Privileges)) {
|
|
316
|
+
exit 1
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
# Check if we're in the right directory
|
|
320
|
+
Test-Directory
|
|
321
|
+
|
|
322
|
+
# Check available disk space
|
|
323
|
+
Test-DiskSpace
|
|
324
|
+
|
|
325
|
+
# Run platform-specific installation
|
|
326
|
+
Invoke-PlatformInstall $os
|
|
327
|
+
|
|
328
|
+
# Verify installation
|
|
329
|
+
Test-Installation
|
|
330
|
+
|
|
331
|
+
# Show summary
|
|
332
|
+
Show-InstallationSummary
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
# Handle script interruption
|
|
336
|
+
try {
|
|
337
|
+
# Run main function
|
|
338
|
+
Main
|
|
339
|
+
}
|
|
340
|
+
catch {
|
|
341
|
+
Write-Error "Installation interrupted: $($_.Exception.Message)"
|
|
342
|
+
exit 1
|
|
343
|
+
}
|