Giuseppe Barbieri
02/08/2024, 9:55 AM*lakefs://*repo0*/*main*/*_lakefs_actions*/*dataset.yml
, however, when I try to commit my changes through the web-interface, I get:
> pre-commit hook aborted, run id '5dnve4sesbvc72vvdd50': 1 error occurred: * hook run id '0000_0000' failed on action 'Dataset' hook 'dataset_validator': Post "http://0.0.0.0:8080/webhooks/format": dial tcp 0.0.0.08080 connect: connection refusedGiuseppe Barbieri
02/08/2024, 9:56 AMNiro
02/08/2024, 10:01 AMGiuseppe Barbieri
02/08/2024, 10:10 AM0.0.0.0:8080/webhooks/format
fun main() {
embeddedServer(Netty, port = 8080, host = "0.0.0.0", module = Application::module)
.start(wait = true)
}
fun Application.module() {
configureRouting()
}
fun Application.configureRouting() {
routing {
get("/webhooks/format") {
call.respondText("Hello World!")
}
}
}
Niro
02/08/2024, 10:11 AMGiuseppe Barbieri
02/08/2024, 10:11 AMGiuseppe Barbieri
02/08/2024, 10:11 AMGiuseppe Barbieri
02/08/2024, 10:12 AMNiro
02/08/2024, 10:12 AMGiuseppe Barbieri
02/08/2024, 10:13 AMGiuseppe Barbieri
02/08/2024, 10:13 AMNiro
02/08/2024, 10:14 AMGiuseppe Barbieri
02/09/2024, 8:45 AMNiro
02/09/2024, 12:17 PM./lakefs run --quickstart
(unix syntax)
You can either build the binary from the source or use one from our latest releaseAmit Kesarwani
02/09/2024, 8:06 PMGiuseppe Barbieri
02/12/2024, 9:47 AMsudo docker compose --add-host=host.docker.internal:host-gateway --profile local-lakefs up
it complains it's an unknown flagAriel Shaqed (Scolnicov)
02/13/2024, 11:41 AM--add-host
is a flag for docker run, not docker compose. Network elements of the docker compose file are described here. You are probably using the wrong type of docker network .
I believe that your current round of problems is more relevant to Docker configuration and networking than it is to lakeFS. Please note that while we can help with Docker configuration, we are by no means experts on it. I would advise picking a set of technologies with which you are comfortable and using that, rather than trying to pick up speed on both containerization and lakeFS at the same time. For testing it may be easiest to run both lakeFS and your hooks server locally on your machine, without any containerizationGiuseppe Barbieri
02/14/2024, 5:35 AMor testing it may be easiest to run both lakeFS and your hooks server locally on your machine, without any containerizationyeah, that's exactly what I ended up doing