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-1396] [CCIP-2804] Migrate CCIP to test secrets #1189

Merged
merged 32 commits into from
Aug 28, 2024
Merged

Conversation

lukaszcl
Copy link
Contributor

@lukaszcl lukaszcl commented Jul 12, 2024

We're updating how we manage test secrets on GitHub CI to enhance security. Instead of passing secrets like the Chainlink image name or wallet key through secrets.toml, we will now load them from the `~/.testsecrets file in your home directory. This change helps us handle secrets more securely.

To set test secrets, see instructions integration-tests/ccip-tests/testconfig/examples/.testsecrets.example


TODO:

@lukaszcl lukaszcl changed the title Tt 1396 TT-1396 Migrate CCIP to test secrets Jul 12, 2024
@lukaszcl lukaszcl marked this pull request as ready for review August 28, 2024 12:49
@lukaszcl lukaszcl requested review from a team as code owners August 28, 2024 12:49
Fixing CI issues in testsecrets changes
@kalverra kalverra requested a review from asoliman92 August 28, 2024 16:34
@kalverra kalverra merged commit caa0304 into ccip-develop Aug 28, 2024
108 checks passed
@kalverra kalverra deleted the TT-1396 branch August 28, 2024 19:26
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

AnieeG pushed a commit that referenced this pull request Aug 28, 2024
We're updating how we manage test secrets on GitHub CI to enhance
security. Instead of passing secrets like the Chainlink image name or
wallet key through secrets.toml, we will now load them from the
`~/.testsecrets file in your home directory. This change helps us handle
secrets more securely.

To set test secrets, see instructions
integration-tests/ccip-tests/testconfig/examples/.testsecrets.example

---

TODO: 
- [x] @kalverra  Run tests locally and see if all works fine
- [ ] @kalverra Run all CI workflows and see if it all works fine 
- [x] @kalverra Update all documentation (docs in this repo are already
updated by lukaszcl)
- [x] @kalverra Notify CCIP developers that this change will be merged
soon
- [x] @lukaszcl Merge CTF PR which is a dependecy here
https://github.com/smartcontractkit/chainlink-testing-framework/pull/1028/files
- [x] @lukaszcl Update all CI workflows for CCIP
- [x] @lukaszcl Update setup-create-base64-config-ccip in all workflows
to correctly use output
- [x] @lukaszcl Allow CI workflows to run with custom test secrets
([guide how to run
it](https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/config/README.md#run-github-workflow-with-your-test-secrets))

---------

Co-authored-by: Adam Hamrick <[email protected]>
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.

6 participants