Skip to content

Regcognize option --no-default-labels #22

Closed
@radiomix

Description

@radiomix

Add a self-hosted running that only is labeled MY_TAG

Registering self-hosted runners with config.sh always get label self-hosted attached.

According to GithubActions: About self-hosted runners labels passing the --no-default-labels option to config.sh prevents that.

It would nice to have mr.bash recognizing --no-default-labels to not add any label except the ones specified in --label MY_TAG

TODO

We would have to change

./config.sh --unattended --replace --url '$url' --token '$token' --name '$name' --labels '$labels' --runnergroup '$group'

into something like
./config.sh --no-default-labels --unattended --replace --url '$url' --token '$token' --name '$name' --labels '$extraLabels' --runnergroup '$group'

IF option --no-default-labels was passed.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions