Comments (10)
Whoops, yup, definitely missed that. This should get us that support though. Thanks for the report!
from kubechecks.
Great, thanks a lot!
Maybe a clearer description would be something like "The endpoint to listen on for incoming PR/MR event webhooks"? The best explanation imho would be an example configuration 🙂
from kubechecks.
Ah, good catch, that hardcoded .com
does indicate there's some weird url hackery going on there. Let me try and clean that up real quick. Thanks for the debugging effort!
from kubechecks.
Looks like this fixes the issue. Kubechecks calls the correct GitLab and is able to retrieve its user info and post comments in the MR 👍🏻
Thanks a lot! :)
from kubechecks.
The KUBECHECKS_WEBHOOK_URL_BASE
env var is the url that, for example, gitlab should send their webhook requests in order to trigger kubechecks. I'm going to see if I can make that documentation a little less obtuse, it's definitely confusing.
from kubechecks.
I have tried so set up Kubechecks with the dev
image containing your latest changes but I am still not getting it to work completely. Currently, it fails while trying to clone the repo:
4:21PM ERR unable to clone repository, Cloning into '/tmp/kubechecks-mr-clone1436125826'...
fatal: could not read Username for 'https://git.mycompany.com': No such device or address
error="exit status 128"
4:21PM ERR unable to clone repo locally error="exit status 128"
The could not read Username
error could mean that at this point, there might be some credential helper missing or something. However it took me to this line, which also looks like it is still hard-coded to gitlab.com:
cmd = exec.Command("echo", fmt.Sprintf("https://%s:%s@%s.com", user, viper.GetString("vcs-token"), viper.GetString("vcs-type")))
I am not sure though, if that is the cause of the could not read Username
error.
EDIT: Or maybe credentials are set correctly for git.mycompany.com
but git does not recognize them, because the call goes to gitlab.com
💡
from kubechecks.
@bauerjs1 mind taking a look at the pr image built in #55 and see if that works for you?
from kubechecks.
@djeebus sure, it's just that I am on holidays 🙃 Right now, the image is not available, anymore. I might have one more chance tomorrow, after that I am out for a couple of weeks...
from kubechecks.
@djeebus I am back and happy to test your changes. From Monday on, I will check back regularly for an available test build.
Cheers
from kubechecks.
Should be back up; let me know how it goes?
from kubechecks.
Related Issues (20)
- Change ':heavy_exclamation_mark:' emoji
- Option to disable failing builds during kubechecks failures HOT 1
- Allow option to run kubechecks in namespaced scope instead of clusterscope always
- Add better support for apps in different repositories
- Schema validation always fails for CRDs HOT 11
- Feature request: ArgoCD dry run HOT 1
- ARGOCD_API_INSECURE not being respected HOT 1
- Unable to set location for remote repository HOT 12
- 401 Unauthorized - using private repositories as a git chart dependency (Aws Ecr) HOT 2
- Move from `whilp/git-urls` to `chainguard-dev/git-urls` to address CVE-2023-46402
- Diffing: RPC PermissionDenied HOT 3
- OpenAI likes to add ```, but it screws up the following diff HOT 1
- Links to abandoned repos HOT 1
- `failed to set git email address: exit status 255` HOT 1
- CVE-2024-31989
- Diffs triggered for resources where no change was made
- AppSet diff support HOT 2
- Kubeconform Alternate schema locations HOT 3
- Use `slog` for logging throughout Kubechecks
- Use KubeChecks with GitHub app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubechecks.