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

Added a script to clone nonbillable information using deploy keys #20

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

QuanMPhm
Copy link
Contributor

@QuanMPhm QuanMPhm commented Apr 18, 2024

Closes #18. The script requires the environment variable GH_NONBILLABLE_DEPLOYKEY to be set, containg the private key of the deploy key pair Execution of the script will clone the nonbillable repo, and copy the relevant .txt files into the process_csv_report repo

clone_nonbillables_and_process.sh Outdated Show resolved Hide resolved
clone_nonbillables_and_process.sh Outdated Show resolved Hide resolved
@knikolla
Copy link
Contributor

Ah, and one final comment. Since there are likely going to be other scripts that we have to write. I would place this in a directory rather than directly in the root. Choose something like tools, bin.

tools/clone_nonbillables_and_process.sh Outdated Show resolved Hide resolved
tools/clone_nonbillables_and_process.sh Outdated Show resolved Hide resolved
@QuanMPhm QuanMPhm force-pushed the 18/clone_nonbillables branch 2 times, most recently from 4b5e653 to 70871de Compare April 18, 2024 20:52
The script requires the environment variable GH_NONBILLABLE_DEPLOYKEY to be set, containg the private key of the deploy key pair
If ran on a local machine with a .ssh/config file already setup by the user, it also expects the Host `github-nonbillable` to be configured
For more detail, see `clone_nonbillable_and_process.sh`

Execution of the script will clone the nonbillable repo, and copy the relevant .txt files into the process_csv_report repo
Copy link
Contributor

@knikolla knikolla left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good to me!

@knikolla knikolla merged commit c54a956 into CCI-MOC:main Apr 19, 2024
2 checks 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.

Automate fetching non-billable information from git repositories
3 participants