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

Use test secrets for E2E tests #817

Merged
merged 9 commits into from
Sep 4, 2024
Merged

Use test secrets for E2E tests #817

merged 9 commits into from
Sep 4, 2024

Conversation

lukaszcl
Copy link
Contributor

@lukaszcl lukaszcl commented Aug 9, 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 in test config, we will now load them from the ~/.testsecrets file in your home directory. When running on Github CI custom secrets can be provided in test_secrets_override_key input.

Full guide: https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/config/README.md#test-secrets

  • @smickovskid Run tests locally and see if all works fine
  • @smickovskid Run all CI workflows and see if it all works fine

@lukaszcl lukaszcl requested review from a team as code owners August 9, 2024 09:55
smickovskid
smickovskid previously approved these changes Aug 21, 2024
Comment on lines +418 to +421
env:
E2E_TEST_CHAINLINK_IMAGE: ${{ env.CL_ECR }}
E2E_TEST_SOLANA_SECRET: thisisatestingonlysecret

Copy link
Collaborator

Choose a reason for hiding this comment

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

is there also a core side PR that updates the solana e2e in the chainlink repo?

otherwise updating the chainlink-solana ref in core may cause the solana e2e tests in there to break if these changes are not backwards compatible

Copy link
Collaborator

Choose a reason for hiding this comment

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

addressing this here: smartcontractkit/chainlink#14332

since it's now blocking other e2e test updates

@cl-sonarqube-production
Copy link

@aalu1418 aalu1418 merged commit 62d447e into develop Sep 4, 2024
32 checks passed
@aalu1418 aalu1418 deleted the TT-1460 branch September 4, 2024 14:34
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