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

Params with whitespace error #108

Closed
hagay3 opened this issue May 1, 2022 · 1 comment · Fixed by #107
Closed

Params with whitespace error #108

hagay3 opened this issue May 1, 2022 · 1 comment · Fixed by #107

Comments

@hagay3
Copy link

hagay3 commented May 1, 2022

While setting params with whitespace I get the following error:

[error] java.lang.RuntimeException: 'minikube version' is not a valid environment variable name

Code example:

githubWorkflowAddedJobs := Seq(WorkflowJob(
    id = "integration-kubernetes-v1-22",
    name = "integration-kubernetes-v1-22",
    steps = List(
      WorkflowStep.Checkout,
      WorkflowStep.Use(
        ref = UseRef.Docker(image = "manusa/actions-setup-minikube", tag = "v2.4.3"),
        params = Map(
         "minikube version" -> "v1.23.2",
         "kubernetes version" -> "v1.22.1",
         "github token" -> "${{ secrets.GITHUB_TOKEN }}")),
      WorkflowStep.Sbt(
        List("It/test")
      )
    )
  ))

Github actions example
https://github.com/hagay3/skuber/runs/6249580109?check_suite_focus=true

@hagay3
Copy link
Author

hagay3 commented May 1, 2022

@djspiewak
Hi, can you please take a look ?
Thanks :)
PR: #107

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 a pull request may close this issue.

1 participant