Tags: emberstack/github-actions-runner
Tags
build(deps): bump actions/actions-runner (#8) Bumps the all-dependencies group in /src with 1 update: [actions/actions-runner](https://github.com/actions/runner). Updates `actions/actions-runner` from 2.329.0 to 2.330.0 - [Release notes](https://github.com/actions/runner/releases) - [Changelog](https://github.com/actions/runner/blob/main/releaseNote.md) - [Commits](actions/runner@v2.329.0...v2.330.0) --- updated-dependencies: - dependency-name: actions/actions-runner dependency-version: 2.330.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps): bump actions/actions-runner (#6) Bumps the all-dependencies group in /src with 1 update: [actions/actions-runner](https://github.com/actions/runner). Updates `actions/actions-runner` from 2.328.0 to 2.329.0 - [Release notes](https://github.com/actions/runner/releases) - [Changelog](https://github.com/actions/runner/blob/main/releaseNote.md) - [Commits](actions/runner@v2.328.0...v2.329.0) --- updated-dependencies: - dependency-name: actions/actions-runner dependency-version: 2.329.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
feat(docker): enhance GitHub runner configuration and documentation - Added support for dynamic runner names using environment variable expansion. - Updated README with examples of configuring Docker containers and environment variables. - Improved the safety of running configuration commands in entrypoint script by using array arguments instead of eval. - Added gettext-base package to Dockerfile for environment variable substitution capabilities.
feat(runner): enhance runner name configuration options - Introduces an option to use hostname as the runner name by setting `GITHUB_RUNNER_USE_HOSTNAME` to "true". - Updates the behavior to prefer hostname over provided runner name when the flag is enabled. - Provides fallback to hostname if no name is provided and the flag is not true. - Improves documentation to clarify the new behavior and configuration options.
fix(entrypoint): handle runner exit and cleanup - Captures the exit code of the runner process for better error handling. - Performs cleanup operations after the runner finishes execution. - Exits the script with the same exit code as the runner to maintain the expected behavior.
feat(runner): enhance group management for GitHub Actions - Adds error handling for adding the runner to groups to prevent failures. - Implements a check to warn if the Docker socket has GID 0, guiding users to set a safer GID. - Uses sudo to start the GitHub Actions runner with the correct permissions for group access.
feat(docker): add option for explicit GID for Docker socket - Introduces `GITHUB_RUNNER_DOCKER_SOCK_GID` to allow users to specify a custom GID for the Docker socket group. - Enhances the existing Docker socket handling logic to use the specified GID if provided, otherwise defaults to auto-detection. - Improves flexibility for configuring runner permissions in varied environments.
feat(pipeline): enhance build number extraction logic - Adds a new command to the settings for grep functionality. - Simplifies the build number extraction process by clarifying that if no matching tags exist, the build number will default to 1. - Improves clarity in versioning logic for better maintainability.
feat(runner): add support for ephemeral mode - Introduces ephemeral mode configuration through the `GITHUB_RUNNER_EPHEMERAL` environment variable. - In ephemeral mode, each runner processes only one job before deregistering, providing isolated environments. - Enhances security and supports autoscaling by ensuring no job state or secrets persist between runs. - Updates documentation with usage instructions and environment variable details.
refactor: remove GitVersion dependency entirely - Removed GitVersion.yaml configuration file - Removed GitVersion setup and execution from pipeline - Cleaned up all GitVersion-related outputs and environment variables - Using custom version calculation exclusively - Simplified pipeline by removing unnecessary dependencies