Hi!
I'm trying to configure getting configuration as a code from private repository in my organization.
I was able to successfully add config with temporary token like:
https://raw.githubusercontent.com/ORG/REPO/BRANCH/config.yaml?token=XXXXX
But this token expires every 7 days and I want to replace it via access token from my service account user.
I've created token using doc here: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token, and paste url in format:
https://$TOKEN@raw.githubusercontent.com/ORG/REPO/BRANCH/config.yaml
And I've got 404. I'm gonna to dig into this problem a bit later, but maybe you already have a solution? If not I would like to contribute to allow pass some headers to this script: https://github.com/odavid/my-bloody-jenkins/blob/master/bin/fetchconfig.py
Hi!
I'm trying to configure getting configuration as a code from private repository in my organization.
I was able to successfully add config with temporary token like:
https://raw.githubusercontent.com/ORG/REPO/BRANCH/config.yaml?token=XXXXXBut this token expires every 7 days and I want to replace it via access token from my service account user.
I've created token using doc here: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token, and paste url in format:
And I've got 404. I'm gonna to dig into this problem a bit later, but maybe you already have a solution? If not I would like to contribute to allow pass some headers to this script: https://github.com/odavid/my-bloody-jenkins/blob/master/bin/fetchconfig.py