Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let "Replace runner" work with orgs #208

Merged
merged 1 commit into from
May 23, 2024

Conversation

Troels51
Copy link
Contributor

Description

When replacing an existing runner, it makes no sense to restrict it to not run it on org runners. This commit removes that requirement.
If there is a hidden assumption that requires it to not run on orgs, please let me know :)

Potentially closes: #207 and #198

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Small minor change not affecting the Ansible Role code (Github Actions Workflow, Documentation etc.)

How Has This Been Tested?

I tested this by deploying the role to my infrastructure multiple times, with reinstall_runner: true
Recreating a github runner is still "failing" because it is trying to redo the service files that are already installed, but it sets up the runner correctly

When replacing an existing runner, it makes no sense to restrict it
to not run on org runners. This commit removes that requirement

closes: MonolithProjects#207
@lewismiddleton
Copy link
Contributor

I think this resolves #145 too

Copy link
Owner

@MonolithProjects MonolithProjects left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MonolithProjects
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Replace registered runner for organization step is missing from install_runner.yml
3 participants