Skip to content

feat: add validation rule for docker machine name #627

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

Merged
merged 5 commits into from
Jan 5, 2023
Merged

Conversation

kayman-mk
Copy link
Collaborator

@kayman-mk kayman-mk commented Jan 3, 2023

Description

Adds a custom validation to the var.overrides["name_docker_machine_runners"] variable and makes sure that valid characters are used only. Otherwise the executor (docker+machine) instances can't be created and no jobs from Gitlab are processed.

Related to #447

Migrations required

No.

Verification

Still pending

  • Use invalid characters for the name. Terraform reports an error message.
  • Use all valid characters. Terraform creates the plan.
  • Do not use the override. Terraform creates the plan.

@kayman-mk kayman-mk requested a review from npalm as a code owner January 3, 2023 10:26
@kayman-mk kayman-mk marked this pull request as draft January 3, 2023 10:30
@kayman-mk kayman-mk marked this pull request as ready for review January 4, 2023 13:10
@npalm npalm merged commit 77a22eb into main Jan 5, 2023
This was referenced Jan 5, 2023
@kayman-mk kayman-mk deleted the kayman-mk-patch-5 branch January 6, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants