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

token conversion in envs #3

Closed
greenpau opened this issue Feb 13, 2020 · 0 comments · Fixed by #4
Closed

token conversion in envs #3

greenpau opened this issue Feb 13, 2020 · 0 comments · Fixed by #4

Comments

@greenpau
Copy link
Owner

The following config:

  "envs": {
    "NODE_EXPORTER_VERSION": "!version!",
    "NODE_EXPORTER_PORT": "9100"
  }

Produced the following environment file:

$ cat /tmp/rpm-envs252777449/node-exporter.sh 
#!/bin/bash

NODE_EXPORTER_VERSION=!version!
NODE_EXPORTER_PORT=9100

export NODE_EXPORTER_VERSION
export NODE_EXPORTER_PORT

The !version! is not being converted to a version.

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