Skip to content

Commit

Permalink
Merge pull request #1144 from priyawadhwa/release
Browse files Browse the repository at this point in the history
Release v0.16.0
  • Loading branch information
priyawadhwa authored Oct 11, 2018
2 parents d4912b7 + 2101e7a commit 78e4439
Show file tree
Hide file tree
Showing 33 changed files with 2,597 additions and 38 deletions.
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
# v0.16.0 Release - 10/11/2018

New Features:
* Add a `skaffold diagnose` command [#1109](https://github.com/GoogleContainerTools/skaffold/pull/1109)
* Add localdir buildcontext to kaniko builder [#983](https://github.com/GoogleContainerTools/skaffold/pull/983)
* Add --label flag to specify custom labels for deployments [#1098](https://github.com/GoogleContainerTools/skaffold/pull/1098)
* Add support for building projects using jib [#1073](https://github.com/GoogleContainerTools/skaffold/pull/1073)

Bug Fixes:
* Fix jib artifacts in skaffold diagnose [#1141](https://github.com/GoogleContainerTools/skaffold/pull/1141)
* Fix master [#1133](https://github.com/GoogleContainerTools/skaffold/pull/1133)
* Delete and redeploy object upon error 'field is immutable' [#940](https://github.com/GoogleContainerTools/skaffold/pull/940)
* Fix `skaffold fix` [#1123](https://github.com/GoogleContainerTools/skaffold/pull/1123)
* Lists files recursively in jib.getDependencies and other fixes. [#1097](https://github.com/GoogleContainerTools/skaffold/pull/1097)
* Merge error? [#1095](https://github.com/GoogleContainerTools/skaffold/pull/1095)
* Fix missing parenthesis [#1089](https://github.com/GoogleContainerTools/skaffold/pull/1089)

Updates:
* Move sync code to pkg/skaffold/sync/kubectl [#1138](https://github.com/GoogleContainerTools/skaffold/pull/1138)
* Add a test to check version upgrades [#1103](https://github.com/GoogleContainerTools/skaffold/pull/1103)
* Add a way to unset global config values [#1086](https://github.com/GoogleContainerTools/skaffold/pull/1086)
* Handles Jib build directly to registry when push=true. [#1132](https://github.com/GoogleContainerTools/skaffold/pull/1132)
* Simplify Jib code [#1130](https://github.com/GoogleContainerTools/skaffold/pull/1130)
* Trim the dockerfile a bit: [#1128](https://github.com/GoogleContainerTools/skaffold/pull/1128)
* Pass context when listing dependencies [#1108](https://github.com/GoogleContainerTools/skaffold/pull/1108)
* Remove fully qualified jib path for maven goals [#1129](https://github.com/GoogleContainerTools/skaffold/pull/1129)
* Merge master into jib_skaffold feature branch. [#1117](https://github.com/GoogleContainerTools/skaffold/pull/1117)
* Merge Jib feature-branch [#1063](https://github.com/GoogleContainerTools/skaffold/pull/1063)
* Improves jib.getDependencies. [#1125](https://github.com/GoogleContainerTools/skaffold/pull/1125)
* skipPush -> push [#1114](https://github.com/GoogleContainerTools/skaffold/pull/1114)
* Support for dot files in dockerignore [#1122](https://github.com/GoogleContainerTools/skaffold/pull/1122)
* remove project level skaffold.yaml [#1119](https://github.com/GoogleContainerTools/skaffold/pull/1119)
* Merge master into jib_skaffold feature branch [#1116](https://github.com/GoogleContainerTools/skaffold/pull/1116)
* Unify Jib command wrapper usage [#1105](https://github.com/GoogleContainerTools/skaffold/pull/1105)
* Update labels when deploying to namespace other than default [#1115](https://github.com/GoogleContainerTools/skaffold/pull/1115)
* Improve sync [#1102](https://github.com/GoogleContainerTools/skaffold/pull/1102)
* Rename SkaffoldConfig to SkaffoldPipeline [#1087](https://github.com/GoogleContainerTools/skaffold/pull/1087)
* Kaniko improvements [#1101](https://github.com/GoogleContainerTools/skaffold/pull/1101)
* File Sync for skaffold dev [#1039](https://github.com/GoogleContainerTools/skaffold/pull/1039)
* Implement a manual trigger for watch mode [#1085](https://github.com/GoogleContainerTools/skaffold/pull/1085)
* Skaffold init asks user to write skaffold.yaml [#1091](https://github.com/GoogleContainerTools/skaffold/pull/1091)
* Couple of improvements to the test phase [#1080](https://github.com/GoogleContainerTools/skaffold/pull/1080)
* Merges branch 'master' into jib_skaffold. [#1088](https://github.com/GoogleContainerTools/skaffold/pull/1088)
* Implements jib.GetDependenciesMaven/GetDependenciesGradle. [#1058](https://github.com/GoogleContainerTools/skaffold/pull/1058)
* Add test runner [#1013](https://github.com/GoogleContainerTools/skaffold/pull/1013)
* Simplify schema versioning [#1067](https://github.com/GoogleContainerTools/skaffold/pull/1067)
* Changelog changes for v0.15.1 [#1075](https://github.com/GoogleContainerTools/skaffold/pull/1075)
* Minor logging improvements [#1142](https://github.com/GoogleContainerTools/skaffold/pull/1142)


# v0.15.1 Release - 10/02/2018

This is a minor release to address an inconsistency in the `skaffold fix` upgrade:
Expand Down
15 changes: 8 additions & 7 deletions examples/annotated-skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1alpha3
apiVersion: skaffold/v1alpha4
kind: Config
build:
# tagPolicy determines how skaffold is going to tag your images.
Expand Down Expand Up @@ -36,15 +36,15 @@ build:
# you can include as many as you want here.
artifacts:
# The name of the image to be built.
- imageName: gcr.io/k8s-skaffold/skaffold-example
- image: gcr.io/k8s-skaffold/skaffold-example
# The path to your dockerfile context. Defaults to ".".
workspace: ../examples/getting-started
context: ../examples/getting-started

# Each artifact is of a given type among: `docker` and `bazel`.
# If not specified, it defaults to `docker: {}`.
docker:
# Dockerfile's location relative to workspace. Defaults to "Dockerfile"
dockerfilePath: Dockerfile
dockerfile: Dockerfile
# Key/value arguements passed to the docker build.
buildArgs:
key1: "value1"
Expand Down Expand Up @@ -77,7 +77,8 @@ build:
# `useBuildkit` can also be set to activate the experimental BuildKit feature.
#
# local:
# skipPush: true
# false by default for local clusters, true for remote clusters
# push: false
# useDockerCLI: false
# useBuildkit: false

Expand All @@ -97,7 +98,7 @@ build:

# Docker artifacts can be built on a Kubernetes cluster with Kaniko.
# Exactly one buildContext must be specified to use kaniko
# If localDir is specified, skaffold will mount sources directly via a emptyDir volume
# If localDir is specified, skaffold will mount sources directly via a emptyDir volume
# If gcsBucket is specified, skaffold will send sources to the GCS bucket provided
# Kaniko also needs access to a service account to push the final image.
# See https://github.com/GoogleContainerTools/kaniko#running-kaniko-in-a-kubernetes-cluster
Expand Down Expand Up @@ -136,7 +137,7 @@ deploy:
# - namespace:deployment/web-app2

# kustomize:
# kustomizePath: .
# path: .
# kustomize deploys manifests with kubectl.
# kubectl can be passed additional option flags either on every command (Global),
# on creations (Apply) or deletions (Delete).
Expand Down
4 changes: 2 additions & 2 deletions examples/bazel/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ The way you configure it in `skaffold.yaml` is the following build stanza:
----
build:
artifacts:
- imageName: gcr.io/k8s-skaffold/skaffold-example
workspace: . <1>
- image: gcr.io/k8s-skaffold/skaffold-example
context: . <1>
bazel: # <2>
target: //:skaffold_example.tar # <3>
----
Expand Down
10 changes: 3 additions & 7 deletions examples/bazel/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
apiVersion: skaffold/v1alpha3
apiVersion: skaffold/v1alpha4
kind: Config
build:
artifacts:
- imageName: gcr.io/k8s-skaffold/skaffold-bazel
workspace: .
- image: gcr.io/k8s-skaffold/skaffold-bazel
context: .
bazel:
target: //:skaffold_example.tar
local: {}
deploy:
kubectl:
manifests:
13 changes: 11 additions & 2 deletions examples/getting-started/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
apiVersion: skaffold/v1alpha3
apiVersion: skaffold/v1alpha4
kind: Config
build:
artifacts:
- imageName: gcr.io/k8s-skaffold/skaffold-example
- image: gcr.io/k8s-skaffold/skaffold-example
test:
- image: gcr.io/k8s-skaffold/skaffold-example
structureTests:
- ./test/*
deploy:
kubectl:
manifests:
Expand All @@ -12,3 +16,8 @@ profiles:
build:
googleCloudBuild:
projectId: k8s-skaffold
- name: test
test:
- image: gcr.io/k8s-skaffold/skaffold-example
structureTests:
- ./test/profile_structure_test.yaml
6 changes: 6 additions & 0 deletions examples/getting-started/test/profile_structure_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
schemaVersion: 2.0.0

fileExistenceTests:
- name: 'no go binary'
path: '/usr/bin/go'
shouldExist: false
6 changes: 6 additions & 0 deletions examples/getting-started/test/structure_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
schemaVersion: 2.0.0

fileExistenceTests:
- name: 'no local go binary'
path: /usr/local/bin/go'
shouldExist: false
2 changes: 1 addition & 1 deletion examples/helm-deployment/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ We'll be building an image called `skaffold-helm`, and its a dockerfile, so we'l
```
build:
artifacts:
- imageName: skaffold-helm
- image: skaffold-helm
```

Now, we want to deploy this image with helm.
Expand Down
4 changes: 2 additions & 2 deletions examples/helm-deployment/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: skaffold/v1alpha3
apiVersion: skaffold/v1alpha4
kind: Config
build:
tagPolicy:
sha256: {}
artifacts:
- imageName: gcr.io/k8s-skaffold/skaffold-helm
- image: gcr.io/k8s-skaffold/skaffold-helm
deploy:
helm:
releases:
Expand Down
3 changes: 3 additions & 0 deletions examples/hot-reload/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM gcr.io/k8s-skaffold/nodemon
CMD ["nodemon","--legacy-watch", "server.js"]
COPY *.js .
10 changes: 10 additions & 0 deletions examples/hot-reload/node/k8s/pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Pod
metadata:
name: node
spec:
containers:
- name: node
image: gcr.io/k8s-skaffold/node-example
ports:
- containerPort: 3000
Loading

0 comments on commit 78e4439

Please sign in to comment.