diff --git a/CHANGELOG.md b/CHANGELOG.md index 31a597c5445..b9e38a001cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,88 @@ +# v1.3.0 Release - 01/30/2019 + +*Note*: This release comes with a new config version `v2alpha2`. To upgrade your `skaffold.yaml`, use `skaffold fix`. If you choose not to upgrade, skaffold will auto-upgrade as best it can. + +Highlights: +* Enable multiple kustomizations in the kustomize deployer [#3585](https://github.com/GoogleContainerTools/skaffold/pull/3585) +* Add `--kubernetes-manifest` flag to `skaffold init` to + - turn off auto detection for manifests and + - initialize deploy stanza with given flag value. +* An empty sync config `sync: {}` will sync all files in the artifact workspace and infer destination [#3496](https://github.com/GoogleContainerTools/skaffold/pull/3496) +* Configure on cluster builds to use random postfix when creating following secrets + - Docker config secret name via `randomDockerConfigSecret` and + - Pull secret name via `randomPullSecret` + +New Features: +* Add `--label` flag to `skaffold render`[#3558](https://github.com/GoogleContainerTools/skaffold/pull/3558) +* Support `—-buildpack` flags on GCB [#3606](https://github.com/GoogleContainerTools/skaffold/pull/3606) +* Support specific buildpacks for buildpack artifact [#3584](https://github.com/GoogleContainerTools/skaffold/pull/3584) +* Add new config `disableValidation` to kubectl deploy config to disable validation [#3512](https://github.com/GoogleContainerTools/skaffold/pull/3512) +* Implements setting environment variable in kaniko pod #3227 [#3287](https://github.com/GoogleContainerTools/skaffold/pull/3287) +* Auto sync with Buildpacks [#3555](https://github.com/GoogleContainerTools/skaffold/pull/3555) + +Fixes: +* Encode artifact image-name and container WORKDIR in container debug info [#3564](https://github.com/GoogleContainerTools/skaffold/pull/3564) +* Better detection if user is running from terminals. [#3611](https://github.com/GoogleContainerTools/skaffold/pull/3611) +* Try use the Google hosted mirror of Maven Central [#3608](https://github.com/GoogleContainerTools/skaffold/pull/3608) +* Better output for Docker commands [#3607](https://github.com/GoogleContainerTools/skaffold/pull/3607) +* Fix nil pointer dereference when no account is set on gcloud. [#3597](https://github.com/GoogleContainerTools/skaffold/pull/3597) +* Better error reporting for unrecognized builder error [#3595](https://github.com/GoogleContainerTools/skaffold/pull/3595) +* Init command fixes + - no error in skaffold init if pre-existing skaffold.yaml is different from target file [#3575](https://github.com/GoogleContainerTools/skaffold/pull/3575) + - `skip-build` flag shouldn't detect builders [#3528](https://github.com/GoogleContainerTools/skaffold/pull/3528) +* Automatically handle —no-pull option on `pack`. [#3576](https://github.com/GoogleContainerTools/skaffold/pull/3576) + +Updates & Refactors: +* Use the same Docker client across Skaffold [#3602](https://github.com/GoogleContainerTools/skaffold/pull/3602) +* Better k8s manifest parsing for `skaffold init` [#3531](https://github.com/GoogleContainerTools/skaffold/pull/3531) +* Update dependencies + - golangcilint [#3534](https://github.com/GoogleContainerTools/skaffold/pull/3534) + - cli tools [#3553](https://github.com/GoogleContainerTools/skaffold/pull/3553) + - pack to v0.8.1 [#3593](https://github.com/GoogleContainerTools/skaffold/pull/3593) +* Add verbosity flag to go tests on travis [#3548](https://github.com/GoogleContainerTools/skaffold/pull/3548) +* Add unit test for `findRunImage` [#3560](https://github.com/GoogleContainerTools/skaffold/pull/3560) +* Simpler artifact hasher [#3591](https://github.com/GoogleContainerTools/skaffold/pull/3591) +* Build skaffold-builder image from a pre-pushed base [#3433](https://github.com/GoogleContainerTools/skaffold/pull/3433) +* A bunch of refactor to init code + - [init refactor] cleanup on analyzers and moving things into a single package [#3538](https://github.com/GoogleContainerTools/skaffold/pull/3538) + - [init refactor] introducing init analyzers [#3533](https://github.com/GoogleContainerTools/skaffold/pull/3533) + - simplify init walk logic and many more. + +Docs Updates: +* Initial auto sync support design doc [#2901](https://github.com/GoogleContainerTools/skaffold/pull/2901) +* Design proposal for new Debug Events [#3122](https://github.com/GoogleContainerTools/skaffold/pull/3122) +* migrate Deployment in examples from extensions/v1beta1 to apps/v1 [#3572](https://github.com/GoogleContainerTools/skaffold/pull/3572) +* Fix invalid package comments [#3589](https://github.com/GoogleContainerTools/skaffold/pull/3589) +* Fixes the command for switching to getting-started dir after cloning [#3574](https://github.com/GoogleContainerTools/skaffold/pull/3574) +* Add Ruby/Rack application example with hot reload [#3515](https://github.com/GoogleContainerTools/skaffold/pull/3515) + +Huge thanks goes out to all of our contributors for this release: + +- Andrei Balici +- Appu +- Appu Goundan +- arminbuerkle +- Balint Pato +- balopat +- Brian de Alwis +- Cornelius Weig +- David Gageot +- Dmitrii Ermakov +- Jon Johnson +- jonjohnsonjr +- Miklós Kiss +- Naoki Oketani +- Nick Kubala +- Nick Novitski +- Prashant +- Prashant Arya +- Salahutdinov Dmitry +- saschahofmann +- Syed Awais Ali +- Tejal Desai +- Zac Bergquist + + # v1.2.0 Release - 01/16/2019 *Note*: This release comes with a new config version `v2alpha2`. To upgrade your `skaffold.yaml`, use `skaffold fix`. If you choose not to upgrade, skaffold will auto-upgrade as best it can. diff --git a/examples/bazel/skaffold.yaml b/examples/bazel/skaffold.yaml index 1df87574153..bb825692c44 100644 --- a/examples/bazel/skaffold.yaml +++ b/examples/bazel/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/buildpacks-node/skaffold.yaml b/examples/buildpacks-node/skaffold.yaml index 31bac03294e..3b446089233 100644 --- a/examples/buildpacks-node/skaffold.yaml +++ b/examples/buildpacks-node/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/buildpacks/skaffold.yaml b/examples/buildpacks/skaffold.yaml index 39d86fc82e4..6d827eeb53a 100644 --- a/examples/buildpacks/skaffold.yaml +++ b/examples/buildpacks/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/custom/skaffold.yaml b/examples/custom/skaffold.yaml index a0cb7c747a0..e5033ce7e92 100644 --- a/examples/custom/skaffold.yaml +++ b/examples/custom/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/gcb-kaniko/skaffold.yaml b/examples/gcb-kaniko/skaffold.yaml index 2fecae36caa..8941794cbfd 100644 --- a/examples/gcb-kaniko/skaffold.yaml +++ b/examples/gcb-kaniko/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: googleCloudBuild: diff --git a/examples/generate-pipeline/skaffold.yaml b/examples/generate-pipeline/skaffold.yaml index 54407fcc096..5d1d67af63e 100644 --- a/examples/generate-pipeline/skaffold.yaml +++ b/examples/generate-pipeline/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/getting-started/skaffold.yaml b/examples/getting-started/skaffold.yaml index 9cc609737e6..52b2e4483dd 100644 --- a/examples/getting-started/skaffold.yaml +++ b/examples/getting-started/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/google-cloud-build/skaffold.yaml b/examples/google-cloud-build/skaffold.yaml index be7369ad046..1f9b66c56c1 100644 --- a/examples/google-cloud-build/skaffold.yaml +++ b/examples/google-cloud-build/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: googleCloudBuild: diff --git a/examples/helm-deployment-dependencies/skaffold.yaml b/examples/helm-deployment-dependencies/skaffold.yaml index b9704af7733..699fa834799 100644 --- a/examples/helm-deployment-dependencies/skaffold.yaml +++ b/examples/helm-deployment-dependencies/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: tagPolicy: diff --git a/examples/helm-deployment/skaffold.yaml b/examples/helm-deployment/skaffold.yaml index 45aff24e396..4059fe2e671 100644 --- a/examples/helm-deployment/skaffold.yaml +++ b/examples/helm-deployment/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: tagPolicy: diff --git a/examples/hot-reload/skaffold.yaml b/examples/hot-reload/skaffold.yaml index e6a2a6aecca..172f670e09d 100644 --- a/examples/hot-reload/skaffold.yaml +++ b/examples/hot-reload/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/jib-gradle/skaffold.yaml b/examples/jib-gradle/skaffold.yaml index 52616713657..528a27899b2 100644 --- a/examples/jib-gradle/skaffold.yaml +++ b/examples/jib-gradle/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/jib-multimodule/skaffold.yaml b/examples/jib-multimodule/skaffold.yaml index 564473f0439..bfe2493c94d 100644 --- a/examples/jib-multimodule/skaffold.yaml +++ b/examples/jib-multimodule/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/jib/skaffold.yaml b/examples/jib/skaffold.yaml index e4ae7ac5207..b87d7f765b4 100644 --- a/examples/jib/skaffold.yaml +++ b/examples/jib/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/kaniko/skaffold.yaml b/examples/kaniko/skaffold.yaml index f924d2e8821..227a156930b 100644 --- a/examples/kaniko/skaffold.yaml +++ b/examples/kaniko/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/kustomize/skaffold-kustomize-args.yaml b/examples/kustomize/skaffold-kustomize-args.yaml index 0a15c33f585..e284ea2ddf3 100644 --- a/examples/kustomize/skaffold-kustomize-args.yaml +++ b/examples/kustomize/skaffold-kustomize-args.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config deploy: kustomize: diff --git a/examples/kustomize/skaffold.yaml b/examples/kustomize/skaffold.yaml index 3cd8e90709c..eca85be695b 100644 --- a/examples/kustomize/skaffold.yaml +++ b/examples/kustomize/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config deploy: kustomize: {} diff --git a/examples/microservices/skaffold.yaml b/examples/microservices/skaffold.yaml index 2b62553dcce..d03d1df1365 100644 --- a/examples/microservices/skaffold.yaml +++ b/examples/microservices/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/nodejs/skaffold.yaml b/examples/nodejs/skaffold.yaml index c708752cf0e..ea380c2b0b0 100644 --- a/examples/nodejs/skaffold.yaml +++ b/examples/nodejs/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/profile-patches/skaffold.yaml b/examples/profile-patches/skaffold.yaml index 8bd94167d2a..e4edd5b6019 100644 --- a/examples/profile-patches/skaffold.yaml +++ b/examples/profile-patches/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: # only build and deploy "base-service" on main profile diff --git a/examples/profiles/skaffold.yaml b/examples/profiles/skaffold.yaml index 5e57639a923..560355a65a7 100644 --- a/examples/profiles/skaffold.yaml +++ b/examples/profiles/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: # only build and deploy "world-service" on main profile diff --git a/examples/react-reload/skaffold.yaml b/examples/react-reload/skaffold.yaml index f1ff31801ac..2101bade7c5 100644 --- a/examples/react-reload/skaffold.yaml +++ b/examples/react-reload/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/ruby/skaffold.yaml b/examples/ruby/skaffold.yaml index 14fa639e323..9f12397fe2b 100644 --- a/examples/ruby/skaffold.yaml +++ b/examples/ruby/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/structure-tests/skaffold.yaml b/examples/structure-tests/skaffold.yaml index 2675361332a..1b03ba4386c 100644 --- a/examples/structure-tests/skaffold.yaml +++ b/examples/structure-tests/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/examples/tagging-with-environment-variables/skaffold.yaml b/examples/tagging-with-environment-variables/skaffold.yaml index a6c4fe5c674..e8b9efa7502 100644 --- a/examples/tagging-with-environment-variables/skaffold.yaml +++ b/examples/tagging-with-environment-variables/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v2alpha2 +apiVersion: skaffold/v2alpha3 kind: Config build: artifacts: diff --git a/pkg/skaffold/schema/latest/config.go b/pkg/skaffold/schema/latest/config.go index 8e151ad4e1c..238f3791189 100644 --- a/pkg/skaffold/schema/latest/config.go +++ b/pkg/skaffold/schema/latest/config.go @@ -22,7 +22,7 @@ import ( "github.com/GoogleContainerTools/skaffold/pkg/skaffold/schema/util" ) -// This config version is not yet released, it is SAFE TO MODIFY the structs in this file. +// !!! WARNING !!! This config version is already released, please DO NOT MODIFY the structs in this file. const Version string = "skaffold/v2alpha3" // NewSkaffoldConfig creates a SkaffoldConfig