Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

This changelog documents user-relevant changes to the GitHub runner charm.

## 2026-04-27
## 2026-04-24

- Exposed the configured GitHub path (org or repository) as a Terraform module output, allowing consumers to make decisions based on which path a runner is registered to.
- Added configuration option `otel-collector-endpoint` to enable the otel-collector to export metric. Setting this configuration option will add the environment variable ACTION_OTEL_EXPORTER_OTLP_ENDPOINT to the runner, which allow users to configure their own metrics to be exported.

## 2026-04-22
Expand Down
5 changes: 5 additions & 0 deletions terraform/charm/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ output "requires" {
}
}

output "path" {
description = "GitHub path (org or repo) the runner is registered to."
value = lookup(var.config, "path", "")
}

output "provides" {
value = {
cos_agent = "cos-agent"
Expand Down
5 changes: 5 additions & 0 deletions terraform/product/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ output "all_runner_names" {
}


output "all_runner_paths" {
description = "Map of github-runner application name to its configured GitHub path."
value = { for name, github_runner in module.github_runner : name => github_runner.path }
}

output "all_app_names" {
description = "Names of the all the deployed apps, github-runner plus github-runner-image-builder."
value = concat([for github_runner in values(module.github_runner) : github_runner.app_name], [module.github_runner_image_builder.app_name])
Expand Down
Loading