Monorepo for Tangled tangled.org

Non-secret environment variable from Repo settings #776

Open quan.hoabinh.vn
Open opened by quan.hoabinh.vn

I would like to have a support for environment variable set from Repo settings, but not a secret.

Why distinguish from secret?

  • If I made a variable NAME=flower for example, as "secret", anywhere the "flower" string is printed to logs, it is automatically replaced as "***", making it hard for debugging. I also can not view the original value of NAME, because "secret" feature does not allow it.

spindles to have top level env var configs https://docs.tangled.org/spindles#environment:

environment:
  GOOS: "linux"
  GOARCH: "arm64"
  NODE_ENV: "production"
  MY_ENV_VAR: "MY_ENV_VALUE"

but understandably, this is not across all workflow files!

No, I want to configure from the web UI, so that if my repo is forked, the other peer can change the value from his repo settings, instead of overwriting the file then commit.

Sign up or Sign in to add to the discussion.