-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2165 from balopat/v03000
cut v0.30.0
- Loading branch information
Showing
44 changed files
with
639 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v1beta10 | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM golang:1.10.1-alpine3.7 as builder | ||
FROM golang:1.12.5-alpine3.9 as builder | ||
COPY main.go . | ||
RUN go build -o /app main.go | ||
|
||
FROM alpine:3.7 | ||
FROM alpine:3.9 | ||
CMD ["./app"] | ||
COPY --from=builder /app . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM golang:1.10.1-alpine3.7 as builder | ||
FROM golang:1.12.5-alpine3.9 as builder | ||
COPY main.go . | ||
RUN go build -o /app main.go | ||
|
||
FROM alpine:3.7 | ||
FROM alpine:3.9 | ||
CMD ["./app"] | ||
COPY --from=builder /app . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v1beta10 | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM golang:1.10.1-alpine3.7 as builder | ||
FROM golang:1.12.5-alpine3.9 as builder | ||
COPY main.go . | ||
RUN go build -o /app main.go | ||
|
||
FROM alpine:3.7 | ||
FROM alpine:3.9 | ||
CMD ["./app"] | ||
COPY --from=builder /app . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This config should be used for running integration tests purpose only. | ||
# Please use to skaffold.yaml to run this example | ||
apiVersion: skaffold/v1beta10 | ||
kind: Config | ||
build: | ||
tagPolicy: | ||
sha256: {} | ||
artifacts: | ||
- image: gcr.io/k8s-skaffold/skaffold-helm | ||
deploy: | ||
helm: | ||
releases: | ||
# seed test namespace in the release name. | ||
- name: skaffold-helm-{{.TEST_NS}} | ||
chartPath: skaffold-helm | ||
#wait: true | ||
#valuesFiles: | ||
#- helm-skaffold-values.yaml | ||
values: | ||
image: gcr.io/k8s-skaffold/skaffold-helm | ||
#recreatePods will pass --recreate-pods to helm upgrade | ||
#recreatePods: true | ||
#overrides builds an override values.yaml file to run with the helm deploy | ||
#overrides: | ||
# some: | ||
# key: someValue | ||
#setValues get appended to the helm deploy with --set. | ||
#setValues: | ||
#some.key: someValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v1beta10 | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
tagPolicy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: node | ||
spec: | ||
ports: | ||
- port: 3000 | ||
type: LoadBalancer | ||
selector: | ||
app: node | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: node | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: node | ||
template: | ||
metadata: | ||
labels: | ||
app: node | ||
spec: | ||
containers: | ||
- name: node | ||
image: gcr.io/k8s-skaffold/node-example | ||
ports: | ||
- containerPort: 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: python | ||
spec: | ||
ports: | ||
- port: 5000 | ||
type: LoadBalancer | ||
selector: | ||
app: python | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: python | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: python | ||
template: | ||
metadata: | ||
labels: | ||
app: python | ||
spec: | ||
containers: | ||
- name: python | ||
image: gcr.io/k8s-skaffold/python-reload | ||
ports: | ||
- containerPort: 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
FROM gcr.io/k8s-skaffold/nodemon | ||
FROM node:10.15.3-alpine | ||
|
||
WORKDIR /app | ||
EXPOSE 3000 | ||
CMD ["nodemon","--legacy-watch", "server.js"] | ||
COPY src ./ | ||
CMD ["npm", "run", "dev"] | ||
|
||
COPY package* ./ | ||
RUN npm install | ||
COPY src . |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.