{"id":29086598,"url":"https://github.com/semaphoreui/semaphore-demo","last_synced_at":"2025-09-02T13:43:54.948Z","repository":{"id":195387171,"uuid":"692682002","full_name":"semaphoreui/semaphore-demo","owner":"semaphoreui","description":"Collection of example projects demonstrating various automation and infrastructure-as-code tools integration with Semaphore UI","archived":false,"fork":false,"pushed_at":"2025-06-22T09:24:54.000Z","size":52,"stargazers_count":18,"open_issues_count":5,"forks_count":50,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-29T22:31:55.801Z","etag":null,"topics":["ansible","example","opentofu","terraform","testing"],"latest_commit_sha":null,"homepage":"https://semaphoreui.com","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/semaphoreui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-17T08:52:38.000Z","updated_at":"2025-08-24T17:38:29.000Z","dependencies_parsed_at":"2025-01-01T03:00:33.184Z","dependency_job_id":null,"html_url":"https://github.com/semaphoreui/semaphore-demo","commit_stats":null,"previous_names":["semaphoreui/demo-project","semaphoreui/semaphore-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/semaphoreui/semaphore-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaphoreui%2Fsemaphore-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaphoreui%2Fsemaphore-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaphoreui%2Fsemaphore-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaphoreui%2Fsemaphore-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semaphoreui","download_url":"https://codeload.github.com/semaphoreui/semaphore-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semaphoreui%2Fsemaphore-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273293846,"owners_count":25079892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","example","opentofu","terraform","testing"],"created_at":"2025-06-28T00:33:00.357Z","updated_at":"2025-09-02T13:43:54.938Z","avatar_url":"https://github.com/semaphoreui.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Semaphore UI Demo Project\n\nThis repository contains a collection of example projects demonstrating various automation and infrastructure-as-code tools integration with Semaphore UI. The project serves as a practical reference for implementing different automation workflows.\n\n## Project Structure\n\nThe repository includes examples for the following technologies:\n\n### Ansible\n- `roles/` - Contains Ansible roles\n- `invs/` - Inventory files for Ansible\n- `collections/` - Ansible collections\n- `ping.yml` - Basic Ansible playbook for connectivity testing\n- `build.yml` - Build automation playbook\n- `deploy.yml` - Deployment automation playbook\n\n### Terraform\n- `demo.tf` - Example Terraform configuration demonstrating local file resource\n- `terragrunt.hcl` - Terragrunt configuration file\n\n### System Information Scripts\n- `print_system_info.sh` - Bash script for system information gathering\n  - Detects operating system\n  - Displays CPU information\n  - Shows memory usage\n  - Reports disk space\n\n### Stress Tests\nLocated in the `stress-tests/` directory, these files are designed to test system performance and resource utilization:\n- `test.tf` - Terraform-based stress test\n  - Creates multiple null resources (default: 100)\n  - Generates dummy files to test file system performance\n  - Uses local-exec provisioner to simulate workload\n  - Configurable resource count through variables\n- `test.yml` - Ansible-based stress test playbook\n\n## Prerequisites\n\n- Ansible (for Ansible examples)\n- Terraform (for Terraform examples)\n- Bash shell (for shell scripts)\n- PowerShell 5.1+ (for PowerShell scripts)\n- Python 3.x (for Python examples)\n\n## Usage\n\n### Ansible Examples\n```bash\n# Run the ping playbook\nansible-playbook -i invs/hosts ping.yml\n\n# Execute build automation\nansible-playbook build.yml\n\n# Run deployment\nansible-playbook deploy.yml\n```\n\n### Terraform Examples\n```bash\n# Initialize Terraform\nterraform init\n\n# Apply the configuration\nterraform apply\n```\n\n### System Information Scripts\n\n#### Bash Script (Linux/macOS)\n```bash\n# Make the script executable\nchmod +x print_system_info.sh\n\n# Run the script\n./print_system_info.sh\n```\n\n#### PowerShell Script (Windows)\n```powershell\n# Run the script\n.\\print_system_info.ps1\n```\n\n### Stress Tests\n```bash\n# Navigate to stress tests directory\ncd stress-tests\n\n# Run Terraform stress test\nterraform init\nterraform apply\n\n# Run Ansible stress test\nansible-playbook test.yml\n```\n\n## Contributing\n\nFeel free to submit issues and enhancement requests!\n\n## License\n\nMIT © [Denis Gukov](https://github.com/fiftin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemaphoreui%2Fsemaphore-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemaphoreui%2Fsemaphore-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemaphoreui%2Fsemaphore-demo/lists"}