You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating ingress configuration via the jx upgrade ingress command, it does not update the environment webhooks. I believe this goes wrong because it uses the wrong GitHub organization.
As user and organization I've set joostvdg and that all works. When I do jx upgrade ingress and select Y on Do you want to update all existing webhooks? I get a drop down of every other GitHub organization I have access to.
Updating Jenkins with new external URL details https://jenkins.jx.jx.kearos.net
Previous webhook endpoint https://jenkins.jx.jx.kearos.net/github-webhook/
Updated webhook endpoint https://jenkins.jx.jx.kearos.net/github-webhook/
? Do you want to update all existing webhooks? Yes
Updating all webHooks from https://jenkins.jx.jx.kearos.net/github-webhook/ to https://jenkins.jx.jx.kearos.net/github-webhook/
? Which organisation do you want to use? [Use arrows to move, type to filter]
> CatAndMonster
FlussoBV
abnamrocoesd
cloudbees
My currently configured organisation, joostvdg, does not show up in the list.
Use a custom domain, in this case, jx.kearos.net.
Then update ingress configuration via jx upgrade ingress, install cert-manager, use production lets encrypt, update webhooks to tls, and recreate all the ingress rules.
Expected behavior
I get a dropdown with my current GitHub organization pre-selected. I select it and the webhooks get updated.
Actual behavior
Nothing happens. There is not even a mention of the repositories not being found.
Previous webhook endpoint http://jenkins.jx.jx.kearos.net/github-webhook/
Updated webhook endpoint https://jenkins.jx.jx.kearos.net/github-webhook/
? Do you want to update all existing webhooks? Yes
Updating all webHooks from http://jenkins.jx.jx.kearos.net/github-webhook/ to https://jenkins.jx.jx.kearos.net/github-webhook/
? Which organisation do you want to use? demomon
Here I selected an organisation, which does exist but doesn't hold the environment repositories.
And after this, line, there's nothing, no webhook update, no complain about the repository not existing, nothing.
Jx version
The output of jx version is:
NAME VERSION
jx 1.3.885
jenkins x platform 0.0.3402
Kubernetes cluster v1.11.7-gke.4
kubectl v1.13.3
helm client v2.12.3+geecf22f
helm server v2.12.2+g7d2b0c7
git git version 2.17.2 (Apple Git-113)
Operating System Mac OS X 10.14.2 build 18C54
Jenkins type
Classic Jenkins
Serverless Jenkins
Kubernetes cluster
GKE, see above.
Operating system / Environment
MacOS -> Mac OS X 10.14.2 build 18C54
The text was updated successfully, but these errors were encountered:
I was able to get past this by manually typing in my Github username and pressing Enter. I guess the CLI doesn't necessarily enforce that you use one of the provided values.
Small edit: I've been continually re-creating my environment for other reasons. I tried typing it in again and it did not work. On a third attempt, I first hit up and down on the arrow keys before typing it in, since I noticed that occasionally that seems to make a difference to however the CLI is determining the value. It worked.
So, final advice: Press up and down a few times, then type in your username and press Enter.
Summary
When updating ingress configuration via the
jx upgrade ingress
command, it does not update the environment webhooks. I believe this goes wrong because it uses the wrong GitHub organization.As user and organization I've set
joostvdg
and that all works. When I dojx upgrade ingress
and selectY
onDo you want to update all existing webhooks?
I get a drop down of every other GitHub organization I have access to.My currently configured organisation,
joostvdg
, does not show up in the list.Steps to reproduce the behavior
Create a JX cluster in GKE:
Use a custom domain, in this case,
jx.kearos.net
.Then update ingress configuration via
jx upgrade ingress
, install cert-manager, use production lets encrypt, update webhooks to tls, and recreate all the ingress rules.Expected behavior
I get a dropdown with my current GitHub organization pre-selected. I select it and the webhooks get updated.
Actual behavior
Nothing happens. There is not even a mention of the repositories not being found.
Here I selected an organisation, which does exist but doesn't hold the environment repositories.
And after this, line, there's nothing, no webhook update, no complain about the repository not existing, nothing.
Jx version
The output of
jx version
is:Jenkins type
Kubernetes cluster
GKE, see above.
Operating system / Environment
MacOS ->
Mac OS X 10.14.2 build 18C54
The text was updated successfully, but these errors were encountered: