okteto / pipeline-getting-started Goto Github PK
View Code? Open in Web Editor NEWGetting started with a sample app on Okteto Cloud
License: Apache License 2.0
Getting started with a sample app on Okteto Cloud
License: Apache License 2.0
Hello
After push the button Deploy on Okteto , on the deploy process I have these errors :
8 ERROR: executor failed running [/bin/sh -c go build -o app]: exit code: 1 x error building image 'registry.cloud.okteto.net/rfinland/hello-world:latest': build failed: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c go build -o app]: exit code: 1 FAILED: okteto pipeline has failed with: exit status 1.
My full logs:
Cloning git repository '***/okteto/pipeline-getting-started'... Cloning into '/okteto/src'... Running okteto pipeline at commit 8af05dcfa6babbafa90bfb12160c9d85d324103a... Processing file '/okteto/src/okteto-pipeline.yml' Running 'okteto build -t okteto.dev/hello-world:latest'... i Running your build in tcp://buildkit.cloud.okteto.net:1234... 1 [internal] load build definition from buildkit-1130162578 1 sha256:57c3206f6a52206d78ac6f19fae445965edc61bbb103fc4ff1b8187ecaa15ba0 1 transferring dockerfile: 132B done 1 DONE 0.1s 2 [internal] load .dockerignore 2 sha256:7f4adcdb55e2863dbd40e77b796c8d417457b64d254e632b7acfe6b8eca12a21 2 transferring context: 2B done 2 DONE 0.2s 3 [internal] load metadata for docker.io/library/golang:buster 3 sha256:8469ee35107567933f9d69287ede9abe6c8ec07cd38fbe8232d8e27fcc73faf3 3 DONE 0.4s 4 [1/4] FROM docker.io/library/golang:buster@sha256:d2710b111354dd7d8a64454d80c22ffd62f90993d811e57a9fce7ff76a235b5f 4 sha256:0c2bd5ce89c40e4f132f472f02ba62714bfcba8539c56559b0f4407e36f12c31 4 resolve docker.io/library/golang:buster@sha256:d2710b111354dd7d8a64454d80c22ffd62f90993d811e57a9fce7ff76a235b5f 0.1s done 4 DONE 0.1s 6 [internal] load build context 6 sha256:ada1bff01f21755281a47558f1fa11f86f3089347a1dea18bde065e9f7cb2b59 6 transferring context: 44.21kB 0.0s done 6 DONE 0.1s 5 [2/4] WORKDIR /app 5 sha256:73d3bf86ced522120ba6806d849b013acb4457e225b156e9b72ac81874c7b24b 5 CACHED 7 [3/4] ADD . . 7 sha256:6be79e982b9f0034ca650a32e81a445aeb0409d9d6459ade056662443ad3d6b2 7 DONE 0.2s 8 [4/4] RUN go build -o app 8 sha256:a446d04a8c9d395882b7e14b1156bfb14385dafeedde975a27bceed24216e7cd 8 0.238 go: cannot find main module, but found .git/config in /app 8 0.238 to create a module there, run: 8 0.238 go mod init 8 ERROR: executor failed running [/bin/sh -c go build -o app]: exit code: 1 [4/4] RUN go build -o app: x error building image 'registry.cloud.okteto.net/rfinland/hello-world:latest': build failed: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c go build -o app]: exit code: 1 FAILED: okteto pipeline has failed with: exit status 1. See https://okteto.com/docs/cloud/okteto-pipeline for details on how to configure your okteto pipeline.
I got the same problem when I try to do it with the git URL
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.