-
Notifications
You must be signed in to change notification settings - Fork 4
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
Questions :) #12
Comments
Thanks for trying this out Peter! :)
This is the GitHub access token to use if you want PAPR to actually update GitHub as it tests commits. You can create your own token at https://github.com/settings/tokens. Make sure to keep it as safe as your password if you do. You'll want to enable the "repo" and "user:email" scopes. But note that you don't have to have a token. You can remove the paci/jenkins/paci-jenkins.yaml Line 152 in 0889a6a
Yeah, I think this was deprecated in the new version. You can try using just
It will build the image, and then redeploy Jenkins. But you won't lose any state. (Hence the instructions to delete the PVC if you do want to wipe all Jenkins state). |
Thanks, those made sense, and I think I have completed the setup \o/. But I have a few more questions 😄. 1: How is image location 2: When the webhook from github gets forwarded by ultrahook to the image/hook location. i.e 3:
I want to clarify a bit :p, can we conclude the above sentence into the following steps?
Does that sound right for the steps? 4: It kinda felt a bit odd/suprising to me that all the steps can be done in a single host. I searched a bit online and it seems like Jenkins master & slave architecture was more targetting a distributed build case. Wouldn't that(distributed build) usually require multiple machines/VMs to complete then? I might miss/misunderstood some important info/knowledge here tho :p. |
That's a route - the name is "appname + namespace + cluster address".
Those requests get routed to jenkins which has a plugin to handle them.
Yeah, but a single physical machine can spawn multiple containers or VMs. Being able to test it all locally is very useful of course. This whole thing is the reason of course why we have both |
As for the last question:
Almost! When GHPRB receives the webhook event, it triggers the associated |
To track questions I encounter / may encounter in this issue :p
1: "$GITHUB_TOKEN" refers to the github token we got from github I assume?
2: I am not too familiar with openshift CLI syntax, but I got the following error while following instructions: they seem to not recognize dc and bc as resources, which is very weird. Can't seem to find a solution online either :(. But it might be the version difference + mismatch tho. (3.9 vs 3.6.1)
3: If I acciedentally run
oc start-build paci-jenkins
multiple times,would the image just simply get rebuilt, is the effect cumulative for starting multiple jobs? (and no side effects should happen I guess :p? )The logs of
oc status
is attached below:The text was updated successfully, but these errors were encountered: