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

TT-916 Add _secret suffix to secrets in toml #835

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

lukaszcl
Copy link
Contributor

@lukaszcl lukaszcl commented Feb 15, 2024

Mercury keeps secrets directly in TOML configs and uses a masking script to hide them on Github CI.

In order to reuse TOML object from CTF like GrafanaConfig we need to add _secret suffix to all keys that should be masked on Github.

@lukaszcl lukaszcl requested review from sebawo and a team as code owners February 15, 2024 13:17
@lukaszcl lukaszcl changed the title Add _secret suffix to secrets in toml TT-916 Add _secret suffix to secrets in toml Feb 15, 2024
@lukaszcl lukaszcl requested a review from Tofel February 15, 2024 13:17
@lukaszcl lukaszcl force-pushed the TT-916-Make-TOML-in-CTF-compatible-with-Mercury branch from 6b645fb to e2ba1eb Compare February 15, 2024 13:50
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (343484e) 16.83% compared to head (e2ba1eb) 16.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #835      +/-   ##
==========================================
- Coverage   16.83%   16.70%   -0.14%     
==========================================
  Files          36       36              
  Lines        4395     4395              
==========================================
- Hits          740      734       -6     
- Misses       3576     3581       +5     
- Partials       79       80       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cl-sonarqube-production
Copy link

Copy link
Contributor

@Tofel Tofel left a comment

Choose a reason for hiding this comment

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

LGTM

@lukaszcl lukaszcl merged commit 5d9872a into main Feb 26, 2024
12 of 15 checks passed
@lukaszcl lukaszcl deleted the TT-916-Make-TOML-in-CTF-compatible-with-Mercury branch February 26, 2024 16:29
AnieeG pushed a commit to smartcontractkit/ccip that referenced this pull request Feb 29, 2024
## Motivation
This adds `_secret` suffix to some TOML keys for E2E tests. 

## Solution
This is to make the TOML configs compatible with next CTF version
smartcontractkit/chainlink-testing-framework#835

## TODO
- [x] Confirm with @AnieeG
- [x] Remove
[a08d3e0](a08d3e0)
commit before merge
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.

3 participants