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

Adding step in setup-go to use GATI Token in pulling private repos #710

Merged
merged 5 commits into from
Nov 21, 2024

Conversation

chray-zhang
Copy link
Contributor

@chray-zhang chray-zhang commented Nov 19, 2024

Description

We have a repository (chainlink-starknet) that uses chainlink-testing-framework to run it's integration tests. We recently added a dependency on guauntlet-plus-plus which is a private repo. This is causing our Github CI/CD steps to fail on the step that uses the chainlink-testing-framework image. More specifically its failing on the setup-go step where it runs Tidy and check files, since the workflow can't pull the private repo when running go mod tidy

After talking with the infra team they advised to use GATI while setting git configs in order to pull from private repos

Changes

Added an extra step that takes in an optional GATI Token that sets git configs before running go mod tidy
Step runs on an if so it's backwards compatible

Ticket

NONEVM-642

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@chray-zhang chray-zhang requested a review from a team as a code owner November 19, 2024 15:24
@chray-zhang chray-zhang merged commit 815a3a6 into main Nov 21, 2024
11 checks passed
@chray-zhang chray-zhang deleted the ctf-private-repo-setup-go branch November 21, 2024 12:47
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.

None yet

3 participants