Skip to content

Commit

Permalink
Merge pull request #2165 from balopat/v03000
Browse files Browse the repository at this point in the history
cut v0.30.0
  • Loading branch information
balopat authored May 23, 2019
2 parents 4918652 + 84b5fc5 commit fe31429
Show file tree
Hide file tree
Showing 44 changed files with 639 additions and 180 deletions.
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
# v0.30.0 Release - 05/23/2019

*Note*: This release comes with a new config version `v1beta11`.
To upgrade your `skaffold.yaml`, use `skaffold fix`. If you don't upgrade, skaffold will auto-upgrade in memory as best it can, and print a warning message.
See [deprecation-policy.md](/deprecation-policy.md) for details on what beta means.

New Features:

* Add support for npm run-script-based launches for `skaffold debug` [#2141](https://github.com/GoogleContainerTools/skaffold/pull/2141)
* Support deploying remote helm charts [#2058](https://github.com/GoogleContainerTools/skaffold/pull/2058)
* Option to mount HostPath in each Kaniko Pod to be used as cache volume [#1690](https://github.com/GoogleContainerTools/skaffold/pull/1690)
* Additional git tagger variants (TreeSha, AbbrevTreeSha) [#1905](https://github.com/GoogleContainerTools/skaffold/pull/1905)
* Enable `skaffold debug` for kustomize [#2043](https://github.com/GoogleContainerTools/skaffold/pull/2043)
* :sparkles: Add option `--no-prune-children` [#2113](https://github.com/GoogleContainerTools/skaffold/pull/2113)
* Turn port forwarding off by default [#2115](https://github.com/GoogleContainerTools/skaffold/pull/2115)

Bug Fixes:

* Remove build dependency for helm deploy [#2121](https://github.com/GoogleContainerTools/skaffold/pull/2121)
* Check for env variables for root cmd persistent flags [#2143](https://github.com/GoogleContainerTools/skaffold/pull/2143)
* skaffold debug: log unsupported objects or versions [#2138](https://github.com/GoogleContainerTools/skaffold/pull/2138)
* Don't panic for nil pod watch object [#2112](https://github.com/GoogleContainerTools/skaffold/pull/2112)
* Fix bugs in custom builder [#2130](https://github.com/GoogleContainerTools/skaffold/pull/2130)

Updates & refactoring:

* Freeze v1beta10 config [#2109](https://github.com/GoogleContainerTools/skaffold/pull/2109)
* Add Annotations to command and flags per phase annotation. [#2022](https://github.com/GoogleContainerTools/skaffold/pull/2022)
* Add smoke test for `skaffold diagnose` [#2157](https://github.com/GoogleContainerTools/skaffold/pull/2157)
* More tests [#2128](https://github.com/GoogleContainerTools/skaffold/pull/2128)
* Refactor the runner [#2155](https://github.com/GoogleContainerTools/skaffold/pull/2155)
* Remove some old plugin related code from event handler [#2156](https://github.com/GoogleContainerTools/skaffold/pull/2156)
* Test helper to override value for tests [#2147](https://github.com/GoogleContainerTools/skaffold/pull/2147)
* Simpler Travis configuration [#2146](https://github.com/GoogleContainerTools/skaffold/pull/2146)
* Remove duplication around cobra code. [#2145](https://github.com/GoogleContainerTools/skaffold/pull/2145)
* Bring helm integration test back [#2140](https://github.com/GoogleContainerTools/skaffold/pull/2140)
* Use testutil.NewTempDir() instead [#2149](https://github.com/GoogleContainerTools/skaffold/pull/2149)
* Simpler code [#2148](https://github.com/GoogleContainerTools/skaffold/pull/2148)
* Use more recent Golang images [#2132](https://github.com/GoogleContainerTools/skaffold/pull/2132)
* Always use the same technique to cleanup global variables in tests. [#2135](https://github.com/GoogleContainerTools/skaffold/pull/2135)
* Update jib [#2133](https://github.com/GoogleContainerTools/skaffold/pull/2133)

Docs updates:

* Fix and improve sync samples [#2131](https://github.com/GoogleContainerTools/skaffold/pull/2131)
* docs: correct header name for jump. [#2079](https://github.com/GoogleContainerTools/skaffold/pull/2079)
* added the notice about skaffold deploy [#2107](https://github.com/GoogleContainerTools/skaffold/pull/2107)
* add explanation to cloud build section docs [#2104](https://github.com/GoogleContainerTools/skaffold/pull/2104)

Design proposals:


* [Design Proposal] Event API v2 [#1949](https://github.com/GoogleContainerTools/skaffold/pull/1949)
* [Design Proposal] Setting proxy for Kaniko Pod [#2064](https://github.com/GoogleContainerTools/skaffold/pull/2064)


Huge thanks goes out to all of our contributors for this release:

- Balint Pato
- Brian de Alwis
- Charles-Henri GUÉRIN
- Cornelius Weig
- David Gageot
- Iván Aponte
- Martin Hoefling
- Nick Kubala
- Persevere Von
- Prashant Arya
- Priya Wadhwa
- Taylor Barrella
- Tejal Desai

# v0.29.0 Release - 05/09/2019

*Note*: This release comes with a new config version `v1beta10`.
Expand Down
2 changes: 1 addition & 1 deletion examples/bazel/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta10
apiVersion: skaffold/v1beta11
kind: Config
build:
artifacts:
Expand Down
4 changes: 2 additions & 2 deletions examples/compose/Dockerfile
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 .
4 changes: 2 additions & 2 deletions examples/getting-started/Dockerfile
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 .
2 changes: 1 addition & 1 deletion examples/getting-started/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta10
apiVersion: skaffold/v1beta11
kind: Config
build:
artifacts:
Expand Down
4 changes: 2 additions & 2 deletions examples/google-cloud-build/Dockerfile
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 .
29 changes: 29 additions & 0 deletions examples/helm-deployment/skaffold-int.yaml
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
2 changes: 1 addition & 1 deletion examples/helm-deployment/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta10
apiVersion: skaffold/v1beta11
kind: Config
build:
tagPolicy:
Expand Down
29 changes: 29 additions & 0 deletions examples/hot-reload/k8s/node.yaml
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
29 changes: 29 additions & 0 deletions examples/hot-reload/k8s/python.yaml
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
10 changes: 7 additions & 3 deletions examples/hot-reload/node/Dockerfile
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 .
10 changes: 0 additions & 10 deletions examples/hot-reload/node/k8s/pod.yaml

This file was deleted.

Loading

0 comments on commit fe31429

Please sign in to comment.