Skip to content

Commit

Permalink
Fix Repo Clone (#3973)
Browse files Browse the repository at this point in the history
```
$ bacalhau  docker run -i git://github.com/bacalhau-project/bacalhau.git ubuntu:latest echo hello
publicapi: after posting request: Server Timeout!
```

```
$ go run . docker run -i git://github.com/bacalhau-project/bacalhau.git ubuntu:latest ls /inputs
Job successfully submitted. Job ID: 24855c6f-e364-4f30-8807-b2a335d0048d
Checking job status... (Enter Ctrl+C to exit at any time, your job will continue running):

        Communicating with the network  ................  done ✅  0.0s
           Creating job for submission  ................  done ✅  0.5s
                       Job in progress  ................  done ✅  01m20.9s
```

The API timeout is due it trying to access a service that's not working
(kv.bacalhau.org)
The service use to check whether the git commit ID is availabe on ipfs
if not clone the repo
  • Loading branch information
js-ts authored May 15, 2024
1 parent 06ebc3c commit a78a88d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
1 change: 0 additions & 1 deletion pkg/requester/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func NewBaseEndpoint(params *BaseEndpointParams) *BaseEndpoint {
transforms := []jobtransform.Transformer{
jobtransform.NewTimeoutApplier(params.MinJobExecutionTimeout, params.DefaultJobExecutionTimeout),
jobtransform.NewRequesterInfo(params.ID),
jobtransform.RepoExistsOnIPFS(params.StorageProviders),
jobtransform.NewPublisherMigrator(params.DefaultPublisher),
jobtransform.NewEngineMigrator(),
// jobtransform.DockerImageDigest(),
Expand Down
43 changes: 0 additions & 43 deletions pkg/requester/jobtransform/repo_exists_on_ipfs.go

This file was deleted.

0 comments on commit a78a88d

Please sign in to comment.