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

Reading test data files from github repo instead of cloud storage #17

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

agamkrbit
Copy link
Contributor

Made some change in the way we are pulling the test data. Earlier we were pulling the test data from gcp cloud storage. Now I am pulling the test data from a github repository.

Comment on lines +40 to +46
mkdir -p $(tempDir)
cd ${tempDir} \
&& git clone -b ${branchName} --depth 1 --single-branch ${githubRepoLink} \
&& rm -rf RepoName/.git/
cp ${gitDataDir}/rac-experiments-v3.json ${testDataDir}
cp -r ${gitDataDir}/assignment-v2 ${testDataDir}
rm -rf ${tempDir}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

First I am cloning the git repo into a temp folder and then copying only those files which are required for the testing. This gives some freedom to the dependent repo to only pull those files which are required.

Copy link
Collaborator

@aarsilv aarsilv left a comment

Choose a reason for hiding this comment

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

👍 🎉

@agamkrbit agamkrbit merged commit 7e36a90 into main Aug 30, 2023
1 check passed
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