{"id":28931611,"url":"https://github.com/compiler-explorer/ce-ci","last_synced_at":"2026-02-02T00:35:54.542Z","repository":{"id":271780609,"uuid":"421280956","full_name":"compiler-explorer/ce-ci","owner":"compiler-explorer","description":"Config for Compiler Explorer's CI setup","archived":false,"fork":false,"pushed_at":"2025-09-14T17:11:29.000Z","size":34550,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-14T19:22:29.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/compiler-explorer.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":"2021-10-26T04:37:50.000Z","updated_at":"2025-09-14T19:07:51.000Z","dependencies_parsed_at":"2025-01-09T21:19:12.621Z","dependency_job_id":"d42c4a8d-cd1d-444e-aa3f-37414c920f43","html_url":"https://github.com/compiler-explorer/ce-ci","commit_stats":null,"previous_names":["compiler-explorer/ce-ci"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/compiler-explorer/ce-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compiler-explorer%2Fce-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compiler-explorer%2Fce-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compiler-explorer%2Fce-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compiler-explorer%2Fce-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compiler-explorer","download_url":"https://codeload.github.com/compiler-explorer/ce-ci/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compiler-explorer%2Fce-ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28997063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"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-06-22T16:06:54.025Z","updated_at":"2026-02-02T00:35:54.537Z","avatar_url":"https://github.com/compiler-explorer.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compiler Explorer's CI infrastructure\n\nUsed to build our compilers, both ad hoc and on a regular basis.\nUses https://github.com/github-aws-runners/terraform-aws-github-runner to script\nup some custom GH Actions runners that run on our infrastructure on demand, and\nscale back to zero when they're done. Our runners have access to the CE environment\nand they are mostly set up by [the infra repo](https://github.com/compiler-explorer/infra/blob/main/setup-ci.sh).\n\n## To deploy:\n\n### Fetch the lambdas\n\n- `cd lambdas-download`\n- `terraform init`\n- `terraform apply`\n- `cd ..`\n\n### Do the needful\n\n- `terraform init`\n- `terraform apply`\n\nThe webhook and secret should be the same every time,\nbut they go in https://github.com/organizations/compiler-explorer/settings/apps/compiler-explorer-ci.\nIf you need to output them you need to specifically ask them to be output\nas they are sensitive secret values, shared with GitHub only:\n\n```sh\n$ terraform output webhook\n```\n\n## To update the packer image\n\n- Make any changes in the `./packer` directory, as needed.\n- Then run the appropriate build scripts:\n  - `./build-image.sh` (x64 standard Linux runners)\n  - `./build-image-arm64.sh` (ARM64 Linux runners)\n  - `./build-image-lin-builder.sh` (Linux x64 library builder runners)\n  - `./build-image-win-builder.sh` (Windows builder runners)\n- Once built you'll need to rerun the `terraform apply`. I recommend you `terraform plan` and review that, then apply the plan after it looks good.\n\n## To update the version of the github-aws-runners code\n\n- Find the package in https://github.com/github-aws-runners/terraform-aws-github-runner/releases\n  - check for any incompatibilities compared to the current version\n- update the version in `lambdas-download/main.tf`\n- `terraform apply` in `lambdas-download`\n- update the version in `main.tf`\n- `terraform init` in toplevel and `terraform apply`. I recommend you `terraform plan` and review that, then apply the plan after it looks good.\n\n## To update the GH Actions Runner version\n\n- update the `runner_version` in:\n  - `packer-vars.hcl` (x64 standard Linux and x64 library builder)\n  - `packer-vars-arm64.hcl` (ARM64 Linux)\n  - `packer-vars-win-builder.hcl` (Windows builder)\n- update the packer images (see above)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompiler-explorer%2Fce-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompiler-explorer%2Fce-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompiler-explorer%2Fce-ci/lists"}