Code Monkey home page Code Monkey logo

30-seconds-deployment's People

Contributors

giautm avatar skolodyazhnyy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

30-seconds-deployment's Issues

swagger open api error

x-MacBook-Pro:gcloud apple$ make ship
go test ./...
?       github.com/gedw99/gitty/exp/ui/ci/gcloud        [no test files]
GOOS=linux make build
go get .
go get github.com/a8m/envsubst/cmd/envsubst
go build -ldflags "-X main.version=65fc74c" -o news .
docker build -t eu.gcr.io/gedw99/news-service:65fc74c .
Sending build context to Docker daemon  6.917MB
Step 1/6 : FROM alpine:3.4
 ---> 7cd51c6c5ee9
Step 2/6 : RUN apk -U add ca-certificates
 ---> Using cache
 ---> 9c50f2367fe4
Step 3/6 : EXPOSE 8080
 ---> Using cache
 ---> 0b831365cf12
Step 4/6 : ADD news /bin/news
 ---> Using cache
 ---> 89da76f5a638
Step 5/6 : ADD config.yml /etc/news/config.yml
 ---> Using cache
 ---> 4f87e8f66ab9
Step 6/6 : CMD news -config /etc/news/config.yml
 ---> Using cache
 ---> f5c0df70a299
Successfully built f5c0df70a299
Successfully tagged eu.gcr.io/gedw99/news-service:65fc74c
gcloud docker -- push eu.gcr.io/gedw99/news-service:65fc74c
The push refers to a repository [eu.gcr.io/gedw99/news-service]
940630ad2ee6: Layer already exists
785239b938d2: Layer already exists
be6c8d822a37: Layer already exists
52a5560f4ca0: Layer already exists
65fc74c: digest: sha256:e28f0e5d5a5c0ad4014819dd8bca75b61522457a1db49598b764f5ab6b705922 size: 1157
go get github.com/a8m/envsubst/cmd/envsubst < k8s/deployment.yml | kubectl apply -f -
W1208 01:55:03.818315   25430 factory_object_mapping.go:423] Failed to download OpenAPI (Get http://localhost:8080/swagger-2.0.0.pb-v1: dial tcp [::1]:8080: getsockopt: connection refused), falling back to swagger
The connection to the server localhost:8080 was refused - did you specify the right host or port?

I used a golang equivalent of envsubst so it works on OSX

anyway its seems to be a known issue.
Might be because we are on different docker versions
what about you ?

x-MacBook-Pro:gcloud apple$ docker version
Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:09 2017
OS/Arch: darwin/amd64

Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:45:38 2017
OS/Arch: linux/amd64
Experimental: true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.