-
Notifications
You must be signed in to change notification settings - Fork 786
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
failed to find trigger in the lighthouse configuration #7589
Comments
Hey guys, any update/thoughts on this one? |
Same problem here. Any help? |
hi there, |
having the same issue. Im using Minikube
|
Hello, Exactly the same issue when using minikube as others after upgrading to 3.X |
Hello, could you please provide some directions as i have the same issue in AWS EKS as well? |
i had the same issue after following the install guide for minikube. I finally realized the git commit command didn't actually commit all the files in in the repo. after i committed all the .lighthouse files that didn't get committed originally it finally worked. it still gives the waiting message if you rerun the command with the error but it does build the app and deploy it. |
Same issue here with Gitlab and OKD |
Same here... with minikube... |
Same here with Minikube. It seems like the guide is incomplete. |
I had the same issue and it got resolved after I did below steps:
if you check jx admin log you will notice that it is expecting kuberhealthy workspace there |
I got through with minikube now. No more errors anywhere and jx create spring runs until a success message. Please do let me know if I should move this to another discussion though, as it ultimately solves my "not being able to run a project creation", but still doesn't solve creating a project using JX with minikube. |
for minikube don't forget to keep running:
This work for me. |
Hello all, any update on this? Webhooks seem to run fine, same for kuberhealthy and Only thing, that seems suspicious to me is an entry
Thank you in advance |
Same problem. Any help? |
few things to check:
Also did the name of the repository have an underscore in it ( |
Yes. |
Ok now it's all ok but i have a new error. WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set Pipeline failed on stage 'from-build-pack' : container 'step-promote-helm-release'. The execution of the pipeline has stopped. |
Hi, I have the same issue in an EKS cluster. I did a quickstart project, and everything worked correctly. But when I tried to import a repository, the PR was created in the cluster repo and finished without problems, however, I got the same error. I checked the imported repo in Github, and it did not create a webhook, unlike the quickstart project. I should mention that I ran I was hoping to get some guidance. Also, I checked the question offered by @ankitm123, and everything was OK except the final webhook of the imported repository. |
Release pipeline fails with the same error,
Is this resolved? |
Summary
How to create the trigger in the lighthouse configuration?
When I create the quickstart project, everything works fine, till it waits to find the trigger for my gitrepo
created pull request https://github.com/manuelwallrapp/jx3-cluster-repo/pull/3 on the development git repository https://github.com/myrepoproject/jx3-cluster-repo.git
waiting up to 20m0s for a trigger to be added to the lighthouse configuration in ConfigMap config in namespace jx for repository: myrepoproject/thethird-try
error: failed to wait for repository to be setup in lighthouse: failed to find trigger in the lighthouse configuration in ConfigMap config in namespace jx for repository: myrepoproject/thethird-try within 20m0s
error: failed to wait for the pipeline to be setup myrepoproject/thethird-try: failed to run 'jx pipeline wait --owner meowner --repo thethird-try' command in directory '', output: ''
Steps to reproduce the behavior
I created a springboot application, merged the pullrequest and then it waits for the trigger to configure. But I don't know what to do.
Expected behavior
That it creates the trigger itself
Actual behavior
After 20min the execution of "jx create spring" aborts because of missing trigger.
Jx version
version: 3.0.680
Kubernetes cluster
I use Openshift CRC Version: 4.5.14
Open
Kubectl version
The output of
kubectl version --client
is:Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.3+5302882", GitCommit:"5302882", GitTreeState:"clean", BuildDate:"2020-09-27T22:44:09Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
Operating system / Environment
Mac Os X 10.15.7
The text was updated successfully, but these errors were encountered: