google / google/secrets-gradle-plugin

CI/CD system doesn't resolve environment variables

Open
#65 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.3k
Forks
122
PR merge metrics
No merged PRs in 30d

Description

Using this plugin, I am able to easily keep my API keys locally and not upload them via git.

However, when using the Gitlab CI system to deliver application via runners, this plugin doesn't resolve the keys in environment variables defined in Gitlab (ORG_GRADLE_PROJECT_) and defaults to using the default variables in the specified file (local.defaults.properties for example).

The expected behaviour is:

- Check for the given properties file (local.properties)
- Check environment variables
- Use the default properties file (local.defaults.properties)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.