Organize remaining folders (scripts, temp, nul) into dev-scripts/

This commit is contained in:
Tiago Yamamoto 2026-03-04 06:14:24 -06:00
parent 691071ec39
commit 179d4c2ba4
17 changed files with 2957 additions and 0 deletions

View file

@ -23,5 +23,13 @@ This folder contains scripts and temporary files moved from `c:\dev` to keep the
- `check_op*.ps1`, `restart_op.ps1`, `start_op.ps1`: OpenProject related scripts.
- `status_q1food.ps1`, `logs_q1food.ps1`: Q1Food specific scripts.
### Scripts Folder
- Moved from `c:\dev\scripts`.
- Contains `get-ghj-urls.ps1`, `get-webhooks.ps1`, etc.
### Temp Folder
- Moved from `c:\dev\temp`.
- Contains JSON caches and temporary outputs from various analyses.
### Backups
- Folders ending in `_backup`: Backups of UI components or settings.

View file

@ -0,0 +1,6 @@
$token = "fzz2xL0UUwpeVB1mObEwxE9GO8sTV8z2OHiOojmdf0e428be"
$uuids = @("iw4sow8s0kkg4cccsk08gsoo", "ao8g40scws0w4cgo8coc8o40", "hg48wkw4wggwsswcwc8sooo4", "q4w48gos8cgssso00o8w8gck")
foreach ($uuid in $uuids) {
$response = Invoke-RestMethod -Uri "https://redbull.rede5.com.br/api/v1/applications/$uuid" -Headers @{Authorization="Bearer $token"}
Write-Host "$($response.name): $($response.fqdn)"
}

View file

@ -0,0 +1,24 @@
$token = "fzz2xL0UUwpeVB1mObEwxE9GO8sTV8z2OHiOojmdf0e428be"
$apps = @(
@{name="gohorsejobs-backend"; uuid="iw4sow8s0kkg4cccsk08gsoo"},
@{name="gohorsejobs-frontend"; uuid="ao8g40scws0w4cgo8coc8o40"},
@{name="gohorsejobs-backoffice"; uuid="hg48wkw4wggwsswcwc8sooo4"},
@{name="gohorsejobs-seeder"; uuid="q4w48gos8cgssso00o8w8gck"},
@{name="rodiziosdaqui-backend"; uuid="ecso4woo4woo0ks84888k8ck"},
@{name="rodiziosdaqui-frontend"; uuid="l4g4cc884gc04kg8s480gs48"},
@{name="rodiziosdaqui-backoffice"; uuid="s4kskw08400wcw8g40ossggo"},
@{name="rodiziosdaqui-seeder"; uuid="ko0kkw4kw8g80scksg8sk0wc"},
@{name="q1food-backend"; uuid="eosgwscc4g044c884k0ws4gc"},
@{name="q1food-frontend"; uuid="g8w440g0w0oowo8skss440wk"},
@{name="obramarket-backend"; uuid="ws08owk8ocog0gswg8ogo8c4"}
)
foreach ($app in $apps) {
$response = Invoke-RestMethod -Uri "https://redbull.rede5.com.br/api/v1/applications/$($app.uuid)" -Headers @{Authorization="Bearer $token"}
Write-Host "=== $($app.name) ==="
Write-Host " UUID: $($app.uuid)"
Write-Host " Status: $($response.status)"
Write-Host " URL: $($response.fqdn)"
Write-Host " GitHub Webhook: $($response.manual_webhook_secret_github)"
Write-Host ""
}

View file

@ -0,0 +1,2 @@
$json = Get-Content 'C:\Users\Administrator\.local\share\kilo\tool-output\tool_c81d60ce2001OuIoznxyiOkZVQ' | ConvertFrom-Json
$json | ForEach-Object { Write-Host ("Name: " + $_.name + " | Status: " + $_.status + " | UUID: " + $_.uuid + " | URL: " + $_.fqdn) }

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -0,0 +1,187 @@
{
"uuid": "ao8g40scws0w4cgo8coc8o40",
"name": "gohorsejobs-frontend-local",
"additional_networks_count": 0,
"additional_servers": [
],
"additional_servers_count": 0,
"base_directory": "/frontend",
"build_command": null,
"build_pack": "dockerfile",
"compose_parsing_version": "5",
"config_hash": "36e7003f9c9ace27f6f73ad6a068f984",
"custom_docker_run_options": null,
"custom_healthcheck_found": false,
"custom_labels": "dHJhZWZpay5lbmFibGU9dHJ1ZQp0cmFlZmlrLmh0dHAubWlkZGxld2FyZXMuZ3ppcC5jb21wcmVzcz10cnVlCnRyYWVmaWsuaHR0cC5taWRkbGV3YXJlcy5yZWRpcmVjdC10by1odHRwcy5yZWRpcmVjdHNjaGVtZS5zY2hlbWU9aHR0cHMKdHJhZWZpay5odHRwLnJvdXRlcnMuaHR0cC0wLWFvOGc0MHNjd3MwdzRjZ284Y29jOG80MC5lbnRyeVBvaW50cz1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ZXMuaHR0cC0wLWFvOGc0MHNjd3MwdzRjZ284Y29jOG80MC5sb2FkYmFsYW5jZXIuc2VydmVyLnBvcnQ9MzAwMAp0cmFlZmlrLmh0dHAuc2VydmljZXMuaHR0cHMtMC1hbzhnNDBzY3dzMHc0Y2dvOGNvYzhvNDAubG9hZGJhbGFuY2VyLnNlcnZlci5wb3J0PTMwMDAKY2FkZHlfMC5lbmNvZGU9enN0ZCBnemlwCmNhZGR5XzAuaGFuZGxlX3BhdGguMF9yZXZlcnNlX3Byb3h5PXt7dXBzdHJlYW1zIDMwMDB9fQpjYWRkeV8wLmhhbmRsZV9wYXRoPS8qCmNhZGR5XzAuaGVhZGVyPS1TZXJ2ZXIKY2FkZHlfMC50cnlfZmlsZXM9e3BhdGh9IC9pbmRleC5odG1sIC9pbmRleC5waHAKY2FkZHlfMD1odHRwczovL2xvY2FsLmdvaG9yc2Vqb2JzLmNvbQpjYWRkeV9pbmdyZXNzX25ldHdvcms9Y29vbGlmeQ==",
"custom_network_aliases": null,
"custom_nginx_configuration": "",
"deleted_at": null,
"description": null,
"destination": {
"id": 0,
"name": "coolify",
"uuid": "e0ggcws4gsw4w4wkgggkg8ow",
"network": "coolify",
"server_id": 0,
"created_at": "2026-02-16T12:39:11.000000Z",
"updated_at": "2026-02-16T12:39:11.000000Z",
"server": {
"id": 0,
"uuid": "m844o4gkwkwcc0k48swgs8c8",
"name": "localhost",
"description": "This is the server where Coolify is running on. Don\u0027t delete this!",
"ip": "host.docker.internal",
"port": 22,
"user": "root",
"team_id": 0,
"private_key_id": 0,
"proxy": {
"type": "TRAEFIK",
"status": "running",
"last_saved_settings": null,
"last_applied_settings": null,
"redirect_enabled": true,
"force_stop": false
},
"created_at": "2026-02-16T12:39:11.000000Z",
"updated_at": "2026-02-21T21:30:07.000000Z",
"unreachable_notification_sent": false,
"unreachable_count": 0,
"high_disk_usage_notification_sent": false,
"log_drain_notification_sent": false,
"swarm_cluster": null,
"validation_logs": null,
"sentinel_updated_at": "2026-02-21 21:30:07",
"deleted_at": null,
"ip_previous": null,
"hetzner_server_id": null,
"cloud_provider_token_id": null,
"hetzner_server_status": null,
"is_validating": false,
"detected_traefik_version": null,
"traefik_outdated_info": null,
"is_coolify_host": true,
"settings": {
"id": 1,
"is_swarm_manager": false,
"is_jump_server": false,
"is_build_server": false,
"is_reachable": true,
"is_usable": true,
"server_id": 0,
"created_at": "2026-02-16T12:39:11.000000Z",
"updated_at": "2026-02-16T12:47:49.000000Z",
"wildcard_domain": null,
"is_cloudflare_tunnel": false,
"is_logdrain_newrelic_enabled": false,
"logdrain_newrelic_license_key": null,
"logdrain_newrelic_base_uri": null,
"is_logdrain_highlight_enabled": false,
"logdrain_highlight_project_id": null,
"is_logdrain_axiom_enabled": false,
"logdrain_axiom_dataset_name": null,
"logdrain_axiom_api_key": null,
"is_swarm_worker": false,
"is_logdrain_custom_enabled": false,
"logdrain_custom_config": null,
"logdrain_custom_config_parser": null,
"concurrent_builds": 2,
"dynamic_timeout": 3600,
"force_disabled": false,
"is_metrics_enabled": false,
"generate_exact_labels": false,
"force_docker_cleanup": true,
"docker_cleanup_frequency": "0 0 * * *",
"docker_cleanup_threshold": 80,
"server_timezone": "UTC",
"delete_unused_volumes": false,
"delete_unused_networks": false,
"is_sentinel_enabled": true,
"sentinel_token": "eyJpdiI6IlpzSVdrV0p2UktKY1N3VGpDUm4yQXc9PSIsInZhbHVlIjoiTC9KS3ppK3FYeWJCa1dzYXZOWDFFWHErdkhXWkVFT1ZRNHdNTVVacHVHS3M0UkJHS2JzZUtZbHFtNW16ZGlzV3plRlUzVWQ5WFRVQm1IdW1ETWdSTnc9PSIsIm1hYyI6IjRkNjgzMzU2MWE1YWExYjE2MTkyNDM3ZDg2MTNmODYxNWY1Mzk5YjEwM2EwNWY5YjIyNTk5MDJkNGY2NGU2NjkiLCJ0YWciOiIifQ==",
"sentinel_metrics_refresh_rate_seconds": 10,
"sentinel_metrics_history_days": 7,
"sentinel_push_interval_seconds": 60,
"sentinel_custom_url": "http://host.docker.internal:8000",
"server_disk_usage_notification_threshold": 80,
"is_sentinel_debug_enabled": false,
"server_disk_usage_check_frequency": "0 23 * * *",
"is_terminal_enabled": true,
"deployment_queue_limit": 25,
"disable_application_image_retention": false
}
}
},
"destination_id": 0,
"destination_type": "App\\Models\\StandaloneDocker",
"docker_compose": null,
"docker_compose_custom_build_command": null,
"docker_compose_custom_start_command": null,
"docker_compose_domains": null,
"docker_compose_location": "/docker-compose.yaml",
"docker_compose_raw": null,
"docker_registry_image_name": null,
"docker_registry_image_tag": null,
"dockerfile": null,
"dockerfile_location": null,
"dockerfile_target_build": null,
"environment_id": 3,
"fqdn": "https://local.gohorsejobs.com",
"git_branch": "dev",
"git_commit_sha": "HEAD",
"git_full_url": null,
"git_repository": "git@github.com:rede5/gohorsejobs.git",
"health_check_enabled": false,
"health_check_host": "localhost",
"health_check_interval": 5,
"health_check_method": "GET",
"health_check_path": "/",
"health_check_port": null,
"health_check_response_text": null,
"health_check_retries": 10,
"health_check_return_code": 200,
"health_check_scheme": "http",
"health_check_start_period": 5,
"health_check_timeout": 5,
"http_basic_auth_password": null,
"http_basic_auth_username": null,
"install_command": null,
"is_http_basic_auth_enabled": false,
"last_online_at": "2026-02-18 17:46:36",
"last_restart_at": null,
"last_restart_type": null,
"limits_cpu_shares": 1024,
"limits_cpus": "0",
"limits_cpuset": null,
"limits_memory": "0",
"limits_memory_reservation": "0",
"limits_memory_swap": "0",
"limits_memory_swappiness": 60,
"manual_webhook_secret_bitbucket": null,
"manual_webhook_secret_gitea": null,
"manual_webhook_secret_github": "H3CfQuM9Jnpv9Tl37WKupEMlaaIWFlU5",
"manual_webhook_secret_gitlab": null,
"ports_exposes": "3000",
"ports_mappings": null,
"post_deployment_command": null,
"post_deployment_command_container": null,
"pre_deployment_command": null,
"pre_deployment_command_container": null,
"preview_url_template": "{{pr_id}}.{{domain}}",
"private_key_id": 1,
"publish_directory": null,
"redirect": "both",
"repository_project_id": null,
"restart_count": 0,
"server_status": true,
"source_id": null,
"source_type": null,
"start_command": null,
"static_image": "nginx:alpine",
"status": "running:unknown",
"swarm_placement_constraints": null,
"swarm_replicas": 1,
"watch_paths": null,
"created_at": "2026-02-16T14:27:17.000000Z",
"updated_at": "2026-02-21T21:16:53.000000Z"
}

Binary file not shown.

View file

@ -0,0 +1,29 @@
{
"id": 2,
"uuid": "gkgksco0ow4kgwo8ow4cgs8c",
"name": "gohorsejobs",
"description": null,
"environments": [
{
"id": 2,
"name": "production",
"project_id": 2,
"created_at": "2026-02-16T14:33:59.000000Z",
"updated_at": "2026-02-16T14:33:59.000000Z",
"description": null,
"uuid": "fk888kwgc0ogg4ssc4wggk80"
},
{
"id": 3,
"name": "dev",
"project_id": 2,
"created_at": "2026-02-16T14:33:59.000000Z",
"updated_at": "2026-02-16T14:33:59.000000Z",
"description": null,
"uuid": "xckow840k4ggk400gwsg4o0k"
}
],
"team_id": 0,
"created_at": "2026-02-16T14:33:59.000000Z",
"updated_at": "2026-02-16T14:33:59.000000Z"
}

View file

@ -0,0 +1,5 @@
total 16
drwx------ 2 9999 9999 4096 Feb 18 18:42 .
drwx------ 4 9999 root 4096 Feb 17 14:17 ..
-rw------- 1 9999 9999 399 Feb 18 18:42 ssh_key@do4w40ocg4k84scgcsgcog88
-rw------- 1 9999 9999 411 Feb 17 14:17 ssh_key@l84oowwskcok00kgg8s48w44

Binary file not shown.

View file

@ -0,0 +1,35 @@
{
"value": [
{
"id": 1,
"uuid": "t0c4ss0wkcgwg48g088wkwgs",
"description": "Servicos de infraestrutura e seguranca",
"name": "Infraestrutura"
},
{
"id": 2,
"uuid": "gkgksco0ow4kgwo8ow4cgs8c",
"name": "gohorsejobs",
"description": null
},
{
"id": 3,
"uuid": "iooos0488ww0coccosc0sk4c",
"name": "rodiziosdaqui",
"description": null
},
{
"id": 4,
"uuid": "scwgsc8k0w84gkc88c080ck4",
"name": "obramarket",
"description": ""
},
{
"id": 5,
"uuid": "x0os8c40o00ssoo84sokwosk",
"description": "Q1Food - Sistema de Delivery",
"name": "q1food"
}
],
"Count": 5
}

View file

@ -0,0 +1,35 @@
{
"value": [
{
"id": 1,
"uuid": "t0c4ss0wkcgwg48g088wkwgs",
"description": "Servicos de infraestrutura e seguranca",
"name": "Infraestrutura"
},
{
"id": 2,
"uuid": "gkgksco0ow4kgwo8ow4cgs8c",
"name": "gohorsejobs",
"description": null
},
{
"id": 3,
"uuid": "iooos0488ww0coccosc0sk4c",
"name": "rodiziosdaqui",
"description": null
},
{
"id": 4,
"uuid": "scwgsc8k0w84gkc88c080ck4",
"name": "obramarket",
"description": ""
},
{
"id": 5,
"uuid": "x0os8c40o00ssoo84sokwosk",
"description": "Q1Food - Sistema de Delivery",
"name": "q1food"
}
],
"Count": 5
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
Not found.

BIN
dev-scripts/temp/null Normal file

Binary file not shown.

View file

@ -0,0 +1 @@
Not found.