So i am almost at the end of the course (BTW really nice course), now at this stage i am trying to follow the demo on my own env. I have slight confusion though, so i see in jenkins creds, tutor has configured credentials - dockerhub, argocd, gitea-creds, gitea-token. I am using github and not gitea so what is gitea-token for me (rest 3 are are configured already). i am asking about this 4th one.
It’s not clear from the information given, although I expect it would be an access token that you’d need to serve as bearer token. I’m not sure how this works for gitea, but odds are good that what you do in gitea will work with github, since by design gitea works in a very similar fashion. But you’d need to try to see. Without knowing what’s in the various scripts, I’m not sure if this would work without modification or not.
Its for argocd demo, so i have one source-code repo another one kubernetes repo. I am almost certain that gitea works like github (just gitea use here is making things complicated). This demo meant to mimic argocd behavior in gitops, i am just not sure what is this gitea-token (it has to be something at repo level). In terms of details, here it is - course name = gitops with argocd, chapter = jenkins walkthrough.
I don’t see anywhere in your script that you’re using GITEA_TOKEN. How does the script even know to use it?