{"id":34640463,"url":"https://github.com/we45/caddy-installer-ase","last_synced_at":"2026-05-26T06:31:11.627Z","repository":{"id":244269082,"uuid":"814753164","full_name":"we45/caddy-installer-ase","owner":"we45","description":"this repo contains installer files for caddy, codeserver and their configs","archived":false,"fork":false,"pushed_at":"2026-01-13T06:56:37.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T08:36:06.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/we45.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-13T16:24:33.000Z","updated_at":"2026-01-13T06:56:40.000Z","dependencies_parsed_at":"2025-01-13T06:34:33.876Z","dependency_job_id":null,"html_url":"https://github.com/we45/caddy-installer-ase","commit_stats":null,"previous_names":["we45/caddy-installer-ase"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/we45/caddy-installer-ase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we45%2Fcaddy-installer-ase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we45%2Fcaddy-installer-ase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we45%2Fcaddy-installer-ase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we45%2Fcaddy-installer-ase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/we45","download_url":"https://codeload.github.com/we45/caddy-installer-ase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/we45%2Fcaddy-installer-ase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33507816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-12-24T17:16:34.273Z","updated_at":"2026-05-26T06:31:11.622Z","avatar_url":"https://github.com/we45.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caddy-installer-ase\n\nInfrastructure scripts for ASE lab images: Caddy, Code-Server, and CI/CD pipelines.\n\n---\n\n## CI Pipelines\n\nThis repository provides GitLab CI templates that can be included in lab repositories.\n\n### Available Pipelines\n\n| Pipeline | Path | Base Image | Tracking |\n| ---------- | ------ | ------------ | ---------- |\n| Standard | `debian-bookworm-gitlab-ci.yml` | `ase-deb-12-upgraded` | ❌ |\n| With Tracker | `lab-tracker/debian-bookworm-gitlab-ci-with-tracker.yml` | `ase-deb-images` family | ✅ |\n\n### Usage in Lab Repositories\n\n#### Standard Pipeline (Legacy)\n\n```yaml\n# .gitlab-ci.yml\ninclude: https://raw.githubusercontent.com/we45/caddy-installer-ase/refs/heads/main/debian-bookworm-gitlab-ci.yml\n```\n\n#### Pipeline with Command Tracking (Recommended)\n\n```yaml\n# .gitlab-ci.yml\ninclude: https://raw.githubusercontent.com/we45/caddy-installer-ase/main/lab-tracker/debian-bookworm-gitlab-ci-with-tracker.yml\n```\n\n---\n\n## Versioning\n\n### Git Refs in GitHub Raw URLs\n\nPin to a specific version by changing the ref in the URL:\n\n| Ref Type | URL Pattern | Use Case |\n| ---------- | --------- | ---------- |\n| Branch | `.../main/lab-tracker/...` | Always use latest (development) |\n| Tag | `.../v1.0.0/lab-tracker/...` | Pin to stable release (production) |\n| Commit | `.../abc1234/lab-tracker/...` | Pin to exact version |\n\n**Examples:**\n\n```yaml\n# Development - always latest\ninclude: https://raw.githubusercontent.com/we45/caddy-installer-ase/main/lab-tracker/debian-bookworm-gitlab-ci-with-tracker.yml\n\n# Production - pinned to tag\ninclude: https://raw.githubusercontent.com/we45/caddy-installer-ase/v1.0.0/lab-tracker/debian-bookworm-gitlab-ci-with-tracker.yml\n```\n\n**Recommendation**: Use `main` during development, pin to a tag for production labs.\n\n### Image Families\n\nThe tracker pipeline uses GCP image families for automatic version management:\n\n| Family | Description |\n| -------- | ------------- |\n| `ase-deb-images` | Debian 12 with lab tracker pre-installed |\n\n\u003e Note: This image family will be upgraded to Debian 13 in the future.\n\nWhen you add a new image to a family, VMs created with `--image-family=ase-deb-images` automatically use the latest image.\n\n---\n\n## Lab Tracker Pipeline\n\n### Required Files in Lab Repository\n\n| File | Required | Purpose |\n| ------ | ---------- | --------- |\n| `setup.sh` | ✅ | Lab-specific setup script |\n| `README.md` | ✅ | Lab documentation (removed from image) |\n| `.gitignore` | ✅ | Git ignore rules (removed from image) |\n| `.gitlab-ci.yml` | ✅ | CI pipeline config (removed from image) |\n| `lab-spec.json` | ❌ | Command tracking steps (enables tracking) |\n\n### Required CI Variables\n\n| Variable | Description |\n| ---------- | ------------- |\n| `SECONDARY_GOOGLE_CREDS` | GCP service account JSON (file) |\n| `SECONDARY_GCP_PROJECT_ID` | GCP project for building images |\n| `PRIMARY_GCP_PROJECT_ID` | GCP project for production images |\n| `ZONE` | GCP zone (e.g., `us-central1-a`) |\n| `IMG_CONFIG` | Machine type (e.g., `e2-medium`) |\n| `CHIT_TOKEN` | Token for chit tool |\n| `SLACK_WEBHOOK_URL` | Slack webhook for notifications |\n\n### Lab Spec Format\n\nCreate `lab-spec.json` in your lab repository to enable command tracking:\n\n```json\n{\n  \"lab_id\": \"my-lab-name\",\n  \"lab_version\": \"1.0.0\",\n  \"title\": \"My Lab Title\",\n  \"steps\": [\n    {\n      \"id\": \"step_1\",\n      \"description\": \"Navigate to lab directory\",\n      \"match_type\": \"regex\",\n      \"match_pattern\": \"cd.*/my-lab\",\n      \"requires_success\": true,\n      \"min_times\": 1\n    }\n  ],\n  \"completion\": {\n    \"policy\": \"all_steps\"\n  }\n}\n```\n\n#### Match Types\n\n| Type | Description | Example Pattern |\n| ------ | ------------- | ----------------- |\n| `exact` | Exact command match | `ls -la` |\n| `argv_prefix` | Command starts with | `docker` |\n| `contains_tokens` | Contains all tokens | `curl,localhost` |\n| `regex` | Regular expression | `cd.*/cert` |\n\n---\n\n## Directory Structure\n\n```bash\ncaddy-installer-ase/\n├── README.md\n├── debian-bookworm-gitlab-ci.yml      # Legacy pipeline (do not move)\n├── lab-tracker/\n│   ├── README.md                      # Tracker-specific docs\n│   ├── debian-bookworm-gitlab-ci-with-tracker.yml\n│   ├── lab-image-setup.sh             # Setup script for CI\n│   ├── lab-image-cleanup.sh           # Cleanup script for CI\n│   └── lab-spec-template.json         # Template for lab authors\n└── ... (other installer files)\n```\n\n---\n\n## Changelog\n\n### v1.0.0 (2026-01-13)\n\n- Initial release of lab tracker pipeline\n- VS Code/Code-Server terminal compatibility\n- Placeholder JWT (orchestrator injects real token at runtime)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwe45%2Fcaddy-installer-ase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwe45%2Fcaddy-installer-ase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwe45%2Fcaddy-installer-ase/lists"}