Skip to content

Skip GitLab CI environment variables that contain secrets #18

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 1 commit into from
Jul 12, 2019
Merged

Skip GitLab CI environment variables that contain secrets #18

merged 1 commit into from
Jul 12, 2019

Conversation

borntyping
Copy link

CI_JOB_TOKEN, CI_REPOSITORY_URL and CI_REGISTRY_PASSWORD are masked (the value is replaced by [MASKED]) by GitLab when included in the output, so it's not very useful to include them.

`CI_JOB_TOKEN`, `CI_REPOSITORY_URL` and `CI_REGISTRY_PASSWORD` are masked (the value is replaced by `[MASKED]`) by GitLab when included in the output, so it's not very useful to include them.
@BeyondEvil
Copy link
Contributor

Thanks for this @borntyping!

Just a quick question (I looked at the GitLab docs but couldn't find an answer): Are they always masked or is there a setting or such?

@borntyping
Copy link
Author

As best I can tell from the GitLab docs and PR history, I think they are always masked - there's nothing I could find in the CI or server configuration that allows you to disable this feature.

@BeyondEvil
Copy link
Contributor

Awesome, thanks @borntyping!

Copy link
Contributor

@BeyondEvil BeyondEvil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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