Skip to content
Permalink
Browse files

cut v0.25.0 (#1808)

* cut v0.25.0
  • Loading branch information...
balopat committed Mar 15, 2019
1 parent e1d50f0 commit 0f4b8fe88969e9fa38346934ea6af7c46772d603
@@ -1,5 +1,100 @@
# v0.25.0 Release - 3/15/2019

*Note*: This release comes with a new config version `v1beta7`.
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.


*Deprecation notice*: With this release we mark for deprecation the `flags` (KanikoArtifact.AdditionalFlags) field in kaniko; instead Kaniko's additional flags will now be represented as unique fields under `kaniko` per artifact (`KanikoArtifact` type).
This flag will be removed earliest 06/15/2019.

New features:

* Config upgrade: handle helm overrides [#1646](https://github.com/GoogleContainerTools/skaffold/pull/1646)
* Enable custom InitContainer image in LocalDir build of kaniko [#1727](https://github.com/GoogleContainerTools/skaffold/pull/1727)
* Add --analyze flag to skaffold init [#1725](https://github.com/GoogleContainerTools/skaffold/pull/1725)

Fixes:

* Initialize Artifact.Workspace to "." by default in plugin case too [#1804](https://github.com/GoogleContainerTools/skaffold/pull/1804)
* Fix race conditions and run tests with a race detector [#1801](https://github.com/GoogleContainerTools/skaffold/pull/1801)
* Support ctrl-c during tagging and cache checking [#1796](https://github.com/GoogleContainerTools/skaffold/pull/1796)
* Fix race in event logs [#1786](https://github.com/GoogleContainerTools/skaffold/pull/1786)
* Fix schema [#1785](https://github.com/GoogleContainerTools/skaffold/pull/1785)
* helm secrets integration [#1617](https://github.com/GoogleContainerTools/skaffold/pull/1617)
* Regenerating schemas for v1beta6 and v1beta7 [#1757](https://github.com/GoogleContainerTools/skaffold/pull/1757)
* Fix typo in option name for 'enable-rpc' [#1718](https://github.com/GoogleContainerTools/skaffold/pull/1718)
* Test that images that can’t be built are not pushed [#1729](https://github.com/GoogleContainerTools/skaffold/pull/1729)

Updates & refactorings:

* v1beta7 [#1751](https://github.com/GoogleContainerTools/skaffold/pull/1751)
* Refactor KanikoBuild into KanikoArtifact and Cluster [#1797](https://github.com/GoogleContainerTools/skaffold/pull/1797)
* Add logic for finding next available port for gRPC if provided one is in use [#1752](https://github.com/GoogleContainerTools/skaffold/pull/1752)
* Check for artifacts in cache in parallel [#1799](https://github.com/GoogleContainerTools/skaffold/pull/1799)
* combined output for integration tests skaffold runner [#1800](https://github.com/GoogleContainerTools/skaffold/pull/1800)
* Remove debug code [#1802](https://github.com/GoogleContainerTools/skaffold/pull/1802)
* Make integration tests shorter and more stable [#1790](https://github.com/GoogleContainerTools/skaffold/pull/1790)
* Initialize LocalCluster in docker local builder plugin [#1791](https://github.com/GoogleContainerTools/skaffold/pull/1791)
* Faster integration tests [#1789](https://github.com/GoogleContainerTools/skaffold/pull/1789)
* Fake k8s context for test [#1788](https://github.com/GoogleContainerTools/skaffold/pull/1788)
* Move bazel code into plugins directory [#1707](https://github.com/GoogleContainerTools/skaffold/pull/1707)
* Add Initializer Interface to skaffold to support other deployers in skaffold init [#1756](https://github.com/GoogleContainerTools/skaffold/pull/1756)
* Refactor caching [#1779](https://github.com/GoogleContainerTools/skaffold/pull/1779)
* Try newer versions of Go [#1775](https://github.com/GoogleContainerTools/skaffold/pull/1775)
* Add back tracking of forwarded ports to avoid race condition [#1780](https://github.com/GoogleContainerTools/skaffold/pull/1780)
* Refactor local builder docker code into plugins directory [#1717](https://github.com/GoogleContainerTools/skaffold/pull/1717)
* Improve `make test` [#1776](https://github.com/GoogleContainerTools/skaffold/pull/1776)
* Upgrade the linter [#1777](https://github.com/GoogleContainerTools/skaffold/pull/1777)
* Simplify port choosing logic [#1747](https://github.com/GoogleContainerTools/skaffold/pull/1747)
* Remove duplication integration tests [#1760](https://github.com/GoogleContainerTools/skaffold/pull/1760)
* Upgrade Jib to 1.0.2 [#1772](https://github.com/GoogleContainerTools/skaffold/pull/1772)
* added some extra logging for test failures for easier feedback [#1763](https://github.com/GoogleContainerTools/skaffold/pull/1763)
* Improve caching [#1755](https://github.com/GoogleContainerTools/skaffold/pull/1755)
* Fix bug in jib in GCB [#1754](https://github.com/GoogleContainerTools/skaffold/pull/1754)
* Only get images list once for caching [#1758](https://github.com/GoogleContainerTools/skaffold/pull/1758)
* Simplify integration tests [#1750](https://github.com/GoogleContainerTools/skaffold/pull/1750)
* Nicer output [#1745](https://github.com/GoogleContainerTools/skaffold/pull/1745)
* Upgrade Kaniko to 0.9.0 [#1736](https://github.com/GoogleContainerTools/skaffold/pull/1736)
* Improve artifact caching [#1741](https://github.com/GoogleContainerTools/skaffold/pull/1741)
* Only go through images once for artifact caching [#1743](https://github.com/GoogleContainerTools/skaffold/pull/1743)
* Try to use the local docker to get the image config [#1735](https://github.com/GoogleContainerTools/skaffold/pull/1735)
* Update go-containerregistry [#1730](https://github.com/GoogleContainerTools/skaffold/pull/1730)
* Improve `skaffold init` performance by not walking hidden dirs. [#1724](https://github.com/GoogleContainerTools/skaffold/pull/1724)

Docs updates:
* added subcommands to the cli reference [#1793](https://github.com/GoogleContainerTools/skaffold/pull/1793)
* Add instructions to DEVELOPMENT.md for installing tools [#1764](https://github.com/GoogleContainerTools/skaffold/pull/1764)
* adding more logs for webhook [#1782](https://github.com/GoogleContainerTools/skaffold/pull/1782)
* Don’t break pages that reference `annotated-skaffold.yaml` [#1770](https://github.com/GoogleContainerTools/skaffold/pull/1770)
* Fix regression in sync [#1722](https://github.com/GoogleContainerTools/skaffold/pull/1722)
* Bail out on docker build error [#1723](https://github.com/GoogleContainerTools/skaffold/pull/1723)
* Updated Install section [#1716](https://github.com/GoogleContainerTools/skaffold/pull/1716)


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

- Balint Pato
- Chanseok Oh
- Cornelius Weig
- David Gageot
- Michael FIG
- Nick Kubala
- Priya Wadhwa
- Rory Shively
- Tejal Desai
- balopat
- guille
- priyawadhwa
- venkatk-25


# v0.24.0 Release - 3/1/2019

*Note*: This release comes with a new config version `v1beta6`.
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 gRPC based event API [#1574](https://github.com/GoogleContainerTools/skaffold/pull/1574)
* Add artifact cache to track artifacts for faster restart [#1632](https://github.com/GoogleContainerTools/skaffold/pull/1632)
@@ -49,8 +144,9 @@ Huge thanks goes out to all of our contributors for this release:

# v0.23.0 Release - 2/14/2019

*Note*: This release comes with a config change, use `skaffold fix` to permanently upgrade your config to `v1beta5`, however old versions are now auto-upgraded.
See [deprecation-policy.md](/deprecation-policy.md) for details on what beta means.
*Note*: This release comes with a new config version `v1beta5`.
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.

*Deprecation notice*: With this release we mark for deprecation the following env variables in the `envTemplate` tagger:
- `DIGEST`
@@ -121,8 +217,9 @@ Huge thanks goes out to all of our contributors for this release:

# v0.22.0 Release - 1/31/2019

Note: This release comes with a config change, use `skaffold fix` to permanently upgrade your config to `v1beta4`, however old versions are now auto-upgraded.
See [deprecation-policy.md](/deprecation-policy.md) for details on what beta means.
*Note*: This release comes with a new config version `v1beta4`.
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:
* Introduce configuration option to configure image pushing per kube-context [#1355](https://github.com/GoogleContainerTools/skaffold/pull/1355)
@@ -210,8 +307,9 @@ Huge thanks goes out to all of our contributors for this release:

# v0.21.0 Release - 1/17/2019

Note: This release comes with a config change, use `skaffold fix` to permanently upgrade your config to `v1beta2`, however old versions are now auto-upgraded.
See [deprecation-policy.md](/deprecation-policy.md) for details on what beta means.
*Note*: This release comes with a new config version `v1beta3`.
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 urls in deploy.kubectl.manifests [#1408](https://github.com/GoogleContainerTools/skaffold/pull/1408)
@@ -283,8 +381,9 @@ Huge thank you for this release towards our contributors:

# v0.20.0 Release - 12/21/2018

Note: This release comes with a config change, use `skaffold fix` to permanently upgrade your config to `v1beta2`, however old versions are now auto-upgraded.
See [deprecation-policy.md](/deprecation-policy.md) for details on what beta means.
*Note*: This release comes with a new config version `v1beta2`.
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:

@@ -342,8 +441,10 @@ Huge thank you for this release towards our contributors:
# v0.19.0 Release - 11/29/2018
Note: This release comes with a config change, use `skaffold fix` to permanently upgrade your config to `v1beta1`, however old versions are now auto-upgraded.
See [deprecation-policy.md](/deprecation-policy.md) for details on what beta means.
*Note*: This release comes with a new config version `v1beta1`.
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:

@@ -17,11 +17,14 @@ A breaking change is when the primary functionality of a feature changes in a wa

A "deprecation event" would coincide with a release.

1. we document the deprecation in
1. we document the deprecation in the following places if applicable
a.) docs
b.) release notes
c.) command help (if applicable)
d.) https://skaffold.dev/docs/references/yaml/ (if applicable)
c.) command help
d.) logs
e.) https://skaffold.dev/docs/references/yaml/
f.) [deprecation policy](/deprecation-policy.md)


2. if applicable, [from the kubernetes policy](https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecating-a-flag-or-cli):
> Rule #6: Deprecated CLI elements must emit warnings (optionally disable) when used.
@@ -84,3 +87,17 @@ Commands and their flags are subject to the deprecation policy based on the foll
- init: alpha
- run: beta
- version: beta


## Current deprecation notices


03/15/2019: With release v0.25.0 we mark for deprecation the `flags` field in kaniko (`KanikoArtifact.AdditionalFlags`) , instead Kaniko's additional flags will now be represented as unique fields under `kaniko` per artifact (`KanikoArtifact` type).
This flag will will be removed earliest 06/15/2019.

02/15/2019: With release v0.23.0 we mark for deprecation the following env variables in the `envTemplate` tagger:
- `DIGEST`
- `DIGEST_ALGO`
- `DIGEST_HEX`
Currently these variables resolve to `_DEPRECATED_<envvar>_`, and the new tagging mechanism adds a digest to the image name thus it shouldn't break existing configurations.
This backward compatibility behavior will be removed earliest 05/14/2019.
@@ -1327,8 +1327,8 @@
"type": "string"
},
"type": "array",
"description": "additional flags to be passed to Kaniko command line. See [Kaniko Additional Flags](https://github.com/GoogleContainerTools/kaniko#additional-flags).",
"x-intellij-html-description": "additional flags to be passed to Kaniko command line. See <a href=\"https://github.com/GoogleContainerTools/kaniko#additional-flags\">Kaniko Additional Flags</a>.",
"description": "additional flags to be passed to Kaniko command line. See [Kaniko Additional Flags](https://github.com/GoogleContainerTools/kaniko#additional-flags). Deprecated - instead the named, unique fields should be used, e.g. `buildArgs`, `cache`, `target`.",
"x-intellij-html-description": "additional flags to be passed to Kaniko command line. See <a href=\"https://github.com/GoogleContainerTools/kaniko#additional-flags\">Kaniko Additional Flags</a>. Deprecated - instead the named, unique fields should be used, e.g. <code>buildArgs</code>, <code>cache</code>, <code>target</code>.",
"default": "[]"
},
"image": {
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
tagPolicy:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,16 +1,15 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
- image: gcr.io/k8s-skaffold/skaffold-example
kaniko:
buildContext:
localDir: {}
- image: gcr.io/k8s-skaffold/skaffold-example
kaniko:
buildContext:
localDir: {}
cache: {}
cluster:
pullSecretName: e2esecret
namespace: default
cache: {}
flags:
- --single-snapshot
deploy:
kubectl:
manifests:
@@ -1,14 +1,15 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
- image: gcr.io/k8s-skaffold/skaffold-example
kaniko:
buildContext:
gcsBucket: skaffold-kaniko
- image: gcr.io/k8s-skaffold/skaffold-example
kaniko:
buildContext:
gcsBucket: skaffold-kaniko
cache: {}
cluster:
pullSecretName: e2esecret
namespace: default
cache: {}
deploy:
kubectl:
manifests:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
deploy:
kustomize: {}
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -1,4 +1,4 @@
apiVersion: skaffold/v1beta6
apiVersion: skaffold/v1beta7
kind: Config
build:
artifacts:
@@ -555,6 +555,7 @@ type ArtifactType struct {
type KanikoArtifact struct {
// AdditionalFlags are additional flags to be passed to Kaniko command line.
// See [Kaniko Additional Flags](https://github.com/GoogleContainerTools/kaniko#additional-flags).
// Deprecated - instead the named, unique fields should be used, e.g. `buildArgs`, `cache`, `target`.
AdditionalFlags []string `yaml:"flags,omitempty"`

// DockerfilePath locates the Dockerfile relative to workspace.

0 comments on commit 0f4b8fe

Please sign in to comment.
You can’t perform that action at this time.