diff --git a/CHANGELOG.md b/CHANGELOG.md index be55a104ccb..795d99d6c52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,60 @@ +# v2.8.0 Release - 10/03/2023 +**Linux amd64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.8.0/skaffold-linux-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**Linux arm64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.8.0/skaffold-linux-arm64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**macOS amd64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.8.0/skaffold-darwin-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**macOS arm64** +`curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.8.0/skaffold-darwin-arm64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` + +**Windows** +https://storage.googleapis.com/skaffold/releases/v2.8.0/skaffold-windows-amd64.exe + +**Docker image** +`gcr.io/k8s-skaffold/skaffold:v2.8.0` + +Note: This release comes with a new config version, `v4beta7`. To upgrade your skaffold.yaml, use `skaffold fix`. If you choose not to upgrade, skaffold will auto-upgrade as best as it can. + +New Features and Additions: +* feat: Support post-renderer for helm deployer. [#9100](https://github.com/GoogleContainerTools/skaffold/pull/9100) +* feat: inject namespace from rendered manifests in post deploy hooks [#9090](https://github.com/GoogleContainerTools/skaffold/pull/9090) +* feat: Add skaffold inspect command for adding config dependencies [#9072](https://github.com/GoogleContainerTools/skaffold/pull/9072) +* feat: emit metrics for exec, verify and render [#9078](https://github.com/GoogleContainerTools/skaffold/pull/9078) +* feat: Add global build pre- and post-hooks [#9047](https://github.com/GoogleContainerTools/skaffold/pull/9047) +* feat: allow specifying a remote config dependency from Google Cloud Storage [#9057](https://github.com/GoogleContainerTools/skaffold/pull/9057) + +Updates and Refactors: +* chore: bump github/codeql-action from 2.21.8 to 2.21.9 [#9101](https://github.com/GoogleContainerTools/skaffold/pull/9101) +* chore: bump github/codeql-action from 2.21.7 to 2.21.8 [#9097](https://github.com/GoogleContainerTools/skaffold/pull/9097) +* chore: bump github/codeql-action from 2.21.6 to 2.21.7 [#9096](https://github.com/GoogleContainerTools/skaffold/pull/9096) +* chore: add set docker host by current context [#9094](https://github.com/GoogleContainerTools/skaffold/pull/9094) +* chore: bump github/codeql-action from 2.21.5 to 2.21.6 [#9093](https://github.com/GoogleContainerTools/skaffold/pull/9093) +* chore: cherry-pick upgrade ko (#9043) to v2.7 [#9089](https://github.com/GoogleContainerTools/skaffold/pull/9089) +* chore: verify should preserve job manifest envs [#9087](https://github.com/GoogleContainerTools/skaffold/pull/9087) +* chore: bump actions/upload-artifact from 3.1.2 to 3.1.3 [#9075](https://github.com/GoogleContainerTools/skaffold/pull/9075) +* chore: upgrade ko [#9043](https://github.com/GoogleContainerTools/skaffold/pull/9043) +* chore: bump actions/checkout from 3 to 4 [#9067](https://github.com/GoogleContainerTools/skaffold/pull/9067) + +Docs, Test, and Release Updates: +* docs: Fix document tutorials/skaffold-resource-selector.md [#9083](https://github.com/GoogleContainerTools/skaffold/pull/9083) +* docs: add templatable field [#9088](https://github.com/GoogleContainerTools/skaffold/pull/9088) + +Huge thanks goes out to all of our contributors for this release: + +- Danilo Cianfrone +- Matt Santa +- Michael Plump +- Renzo Rojas +- Seita Uchimura +- dependabot[bot] +- ericzzzzzzz +- guangwu +- yosukei3108 + # v2.7.0 Release - 08/30/2023 **Linux amd64** `curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.7.0/skaffold-linux-amd64 && chmod +x skaffold && sudo mv skaffold /usr/local/bin` diff --git a/docs-v2/content/en/schemas/version-mappings/v4beta7-version.json b/docs-v2/content/en/schemas/version-mappings/v4beta7-version.json new file mode 100644 index 00000000000..8c6a1b3e924 --- /dev/null +++ b/docs-v2/content/en/schemas/version-mappings/v4beta7-version.json @@ -0,0 +1 @@ +{"binVersion":"2.8.0","releaseNoteLink":"https://github.com/GoogleContainerTools/skaffold/releases/tag/2.8.0"} \ No newline at end of file diff --git a/examples/bazel/skaffold.yaml b/examples/bazel/skaffold.yaml index f36f34bda7d..c02456b8d94 100644 --- a/examples/bazel/skaffold.yaml +++ b/examples/bazel/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/buildpacks-java/skaffold.yaml b/examples/buildpacks-java/skaffold.yaml index 68e3c787d7f..26ce989585a 100644 --- a/examples/buildpacks-java/skaffold.yaml +++ b/examples/buildpacks-java/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/buildpacks-node/skaffold.yaml b/examples/buildpacks-node/skaffold.yaml index 11b048f89a4..95719ee4332 100644 --- a/examples/buildpacks-node/skaffold.yaml +++ b/examples/buildpacks-node/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/buildpacks-python/skaffold.yaml b/examples/buildpacks-python/skaffold.yaml index 0989c6480cd..ca862b611ed 100644 --- a/examples/buildpacks-python/skaffold.yaml +++ b/examples/buildpacks-python/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/buildpacks/skaffold.yaml b/examples/buildpacks/skaffold.yaml index c499c7674a1..cb4cede40c7 100644 --- a/examples/buildpacks/skaffold.yaml +++ b/examples/buildpacks/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/cross-platform-builds/skaffold.yaml b/examples/cross-platform-builds/skaffold.yaml index 67a0c1e4506..5e6c3e96f17 100644 --- a/examples/cross-platform-builds/skaffold.yaml +++ b/examples/cross-platform-builds/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/custom-buildx/skaffold.yaml b/examples/custom-buildx/skaffold.yaml index cb1e5bf56a0..f7576b0d9db 100644 --- a/examples/custom-buildx/skaffold.yaml +++ b/examples/custom-buildx/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: platforms: ["linux/amd64", "linux/arm64"] diff --git a/examples/custom-tests/skaffold.yaml b/examples/custom-tests/skaffold.yaml index 69edd1aeb19..b3052b66544 100644 --- a/examples/custom-tests/skaffold.yaml +++ b/examples/custom-tests/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/custom/skaffold.yaml b/examples/custom/skaffold.yaml index 9be2bb8cf90..2e792655f9c 100644 --- a/examples/custom/skaffold.yaml +++ b/examples/custom/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/dev-journey-buildpacks/skaffold.yaml b/examples/dev-journey-buildpacks/skaffold.yaml index d1bfd926c36..86bc92741ee 100644 --- a/examples/dev-journey-buildpacks/skaffold.yaml +++ b/examples/dev-journey-buildpacks/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/docker-deploy/skaffold.yaml b/examples/docker-deploy/skaffold.yaml index bf964f7e91b..c713c4f9a93 100644 --- a/examples/docker-deploy/skaffold.yaml +++ b/examples/docker-deploy/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: local: diff --git a/examples/gcb-kaniko/skaffold.yaml b/examples/gcb-kaniko/skaffold.yaml index c526ad36a73..b6fe1490de4 100644 --- a/examples/gcb-kaniko/skaffold.yaml +++ b/examples/gcb-kaniko/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: googleCloudBuild: diff --git a/examples/generate-pipeline/skaffold.yaml b/examples/generate-pipeline/skaffold.yaml index b46ec68fe1a..134179e51ad 100644 --- a/examples/generate-pipeline/skaffold.yaml +++ b/examples/generate-pipeline/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/getting-started-kustomize/skaffold.yaml b/examples/getting-started-kustomize/skaffold.yaml index 03962dbf29c..97a573f683a 100644 --- a/examples/getting-started-kustomize/skaffold.yaml +++ b/examples/getting-started-kustomize/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config metadata: name: getting-started-kustomize diff --git a/examples/getting-started/skaffold.yaml b/examples/getting-started/skaffold.yaml index 170daf7d28b..714f95a14b7 100644 --- a/examples/getting-started/skaffold.yaml +++ b/examples/getting-started/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/go-integration-coverage/skaffold.yaml b/examples/go-integration-coverage/skaffold.yaml index 98efb6307f3..7ac3b53eba6 100644 --- a/examples/go-integration-coverage/skaffold.yaml +++ b/examples/go-integration-coverage/skaffold.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config metadata: name: go-integration-coverage diff --git a/examples/google-cloud-build/skaffold.yaml b/examples/google-cloud-build/skaffold.yaml index e988c70e60d..0abd4fd9d98 100644 --- a/examples/google-cloud-build/skaffold.yaml +++ b/examples/google-cloud-build/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: googleCloudBuild: diff --git a/examples/grpc-e2e-tests/skaffold.yaml b/examples/grpc-e2e-tests/skaffold.yaml index 98be8e996b3..e4ebeec217e 100644 --- a/examples/grpc-e2e-tests/skaffold.yaml +++ b/examples/grpc-e2e-tests/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config metadata: name: visitor-counter-e2e diff --git a/examples/helm-deployment-dependencies/skaffold.yaml b/examples/helm-deployment-dependencies/skaffold.yaml index 352fea6ffd4..fafe2e3fba9 100644 --- a/examples/helm-deployment-dependencies/skaffold.yaml +++ b/examples/helm-deployment-dependencies/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: tagPolicy: diff --git a/examples/helm-deployment/skaffold.yaml b/examples/helm-deployment/skaffold.yaml index 95702a78c44..31c447e91cd 100644 --- a/examples/helm-deployment/skaffold.yaml +++ b/examples/helm-deployment/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/helm-remote-repo/skaffold.yaml b/examples/helm-remote-repo/skaffold.yaml index b2a6754d14e..7ca5b3b7d50 100644 --- a/examples/helm-remote-repo/skaffold.yaml +++ b/examples/helm-remote-repo/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config deploy: helm: diff --git a/examples/helm-render/skaffold.yaml b/examples/helm-render/skaffold.yaml index 8db9680f879..e7da8f8df92 100644 --- a/examples/helm-render/skaffold.yaml +++ b/examples/helm-render/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/hot-reload/skaffold.yaml b/examples/hot-reload/skaffold.yaml index 2acd0972abd..826d240f8d9 100644 --- a/examples/hot-reload/skaffold.yaml +++ b/examples/hot-reload/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/jib-gradle/skaffold.yaml b/examples/jib-gradle/skaffold.yaml index d275664dfa7..7ec736e8371 100644 --- a/examples/jib-gradle/skaffold.yaml +++ b/examples/jib-gradle/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/jib-multimodule/skaffold.yaml b/examples/jib-multimodule/skaffold.yaml index d314ff02743..d3ffeba7066 100644 --- a/examples/jib-multimodule/skaffold.yaml +++ b/examples/jib-multimodule/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/jib-sync/skaffold-gradle.yaml b/examples/jib-sync/skaffold-gradle.yaml index 58c29d6754d..76f41ab1e12 100644 --- a/examples/jib-sync/skaffold-gradle.yaml +++ b/examples/jib-sync/skaffold-gradle.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/jib-sync/skaffold-maven.yaml b/examples/jib-sync/skaffold-maven.yaml index 1e98bfea50b..b31d34ab277 100644 --- a/examples/jib-sync/skaffold-maven.yaml +++ b/examples/jib-sync/skaffold-maven.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/jib/skaffold.yaml b/examples/jib/skaffold.yaml index 1b222f56b97..1e4d7077317 100644 --- a/examples/jib/skaffold.yaml +++ b/examples/jib/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/kaniko/skaffold.yaml b/examples/kaniko/skaffold.yaml index 7d22b44dbae..c76627c5072 100644 --- a/examples/kaniko/skaffold.yaml +++ b/examples/kaniko/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/ko-sync-infer/skaffold.yaml b/examples/ko-sync-infer/skaffold.yaml index bf9e6addb0e..a89d5328866 100644 --- a/examples/ko-sync-infer/skaffold.yaml +++ b/examples/ko-sync-infer/skaffold.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/ko/skaffold.yaml b/examples/ko/skaffold.yaml index 80ff25ffc19..5623eec2e41 100644 --- a/examples/ko/skaffold.yaml +++ b/examples/ko/skaffold.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/kustomize/skaffold-kustomize-args.yaml b/examples/kustomize/skaffold-kustomize-args.yaml index b39e18265e2..326da4bdcd6 100644 --- a/examples/kustomize/skaffold-kustomize-args.yaml +++ b/examples/kustomize/skaffold-kustomize-args.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config deploy: kustomize: diff --git a/examples/kustomize/skaffold.yaml b/examples/kustomize/skaffold.yaml index f925781cfe1..7e2a6183c7a 100644 --- a/examples/kustomize/skaffold.yaml +++ b/examples/kustomize/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config manifests: kustomize: diff --git a/examples/lifecycle-hooks/skaffold.yaml b/examples/lifecycle-hooks/skaffold.yaml index 57a6ac090b0..47d043d4d49 100644 --- a/examples/lifecycle-hooks/skaffold.yaml +++ b/examples/lifecycle-hooks/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config manifests: rawYaml: @@ -11,6 +11,11 @@ manifests: - host: command: ["sh", "-c", "echo post-render host hook running on $(hostname)!"] build: + hooks: + before: + - command: ["sh", "-c", "echo pre-build hook running"] + after: + - command: ["sh", "-c", "echo post-build hook running"] artifacts: - image: hooks-example hooks: @@ -26,7 +31,7 @@ build: os: [darwin, linux] - command: ["cmd.exe", "/C", "docker images %SKAFFOLD_IMAGE% --digests"] os: [windows] - sync: + sync: manual: - src: 'hello.txt' dest: . @@ -49,7 +54,7 @@ deploy: command: ["sh", "-c", "echo pre-deploy host hook running on $(hostname)!"] os: [darwin, linux] - container: - # this will only run when there's a matching container from a previous deploy iteration like in `skaffold dev` + # this will only run when there's a matching container from a previous deploy iteration like in `skaffold dev` command: ["sh", "-c", "echo pre-deploy container hook running on $(hostname)!"] containerName: hooks-example* podName: hooks-example-deployment* diff --git a/examples/microservices/skaffold.yaml b/examples/microservices/skaffold.yaml index fb4828bc45b..e8ca869292f 100644 --- a/examples/microservices/skaffold.yaml +++ b/examples/microservices/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/multi-config-microservices/base/skaffold.yaml b/examples/multi-config-microservices/base/skaffold.yaml index f954019e0a9..1ff8cda6b3f 100644 --- a/examples/multi-config-microservices/base/skaffold.yaml +++ b/examples/multi-config-microservices/base/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/multi-config-microservices/leeroy-app/skaffold.yaml b/examples/multi-config-microservices/leeroy-app/skaffold.yaml index a8f09ef06f0..5f57bf2364f 100644 --- a/examples/multi-config-microservices/leeroy-app/skaffold.yaml +++ b/examples/multi-config-microservices/leeroy-app/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config metadata: name: app-config diff --git a/examples/multi-config-microservices/leeroy-web/skaffold.yaml b/examples/multi-config-microservices/leeroy-web/skaffold.yaml index 4e21a1f012d..4216702e8a9 100644 --- a/examples/multi-config-microservices/leeroy-web/skaffold.yaml +++ b/examples/multi-config-microservices/leeroy-web/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config metadata: name: web-config diff --git a/examples/multi-config-microservices/skaffold.yaml b/examples/multi-config-microservices/skaffold.yaml index 05fac533173..133a9b6b012 100644 --- a/examples/multi-config-microservices/skaffold.yaml +++ b/examples/multi-config-microservices/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config requires: - path: ./leeroy-app diff --git a/examples/multiple-renderers/skaffold.yaml b/examples/multiple-renderers/skaffold.yaml index daf9f96b62c..667f1837052 100644 --- a/examples/multiple-renderers/skaffold.yaml +++ b/examples/multiple-renderers/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config metadata: name: go-guestbook diff --git a/examples/nodejs/skaffold.yaml b/examples/nodejs/skaffold.yaml index 82384ea85ec..4c21cd2e17a 100644 --- a/examples/nodejs/skaffold.yaml +++ b/examples/nodejs/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: diff --git a/examples/profile-patches/skaffold.yaml b/examples/profile-patches/skaffold.yaml index eca90296525..3506b6d634a 100644 --- a/examples/profile-patches/skaffold.yaml +++ b/examples/profile-patches/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 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 baf05e03d73..6887038d249 100644 --- a/examples/profiles/skaffold.yaml +++ b/examples/profiles/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: # only build and deploy "world-service" on main profile diff --git a/examples/react-reload-docker/skaffold.yaml b/examples/react-reload-docker/skaffold.yaml index f7b595816de..321ffe93a75 100644 --- a/examples/react-reload-docker/skaffold.yaml +++ b/examples/react-reload-docker/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: local: diff --git a/examples/react-reload/skaffold.yaml b/examples/react-reload/skaffold.yaml index e9ea6c9d476..fbdbb717410 100644 --- a/examples/react-reload/skaffold.yaml +++ b/examples/react-reload/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/remote-multi-config-microservices/skaffold.yaml b/examples/remote-multi-config-microservices/skaffold.yaml index 2969d2278d2..8f2c113695f 100644 --- a/examples/remote-multi-config-microservices/skaffold.yaml +++ b/examples/remote-multi-config-microservices/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config requires: - git: diff --git a/examples/ruby/skaffold.yaml b/examples/ruby/skaffold.yaml index 8dec8322a2d..a3fcdedda17 100644 --- a/examples/ruby/skaffold.yaml +++ b/examples/ruby/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/simple-artifact-dependency/skaffold.yaml b/examples/simple-artifact-dependency/skaffold.yaml index f79b4970117..86c8b92d1be 100644 --- a/examples/simple-artifact-dependency/skaffold.yaml +++ b/examples/simple-artifact-dependency/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/structure-tests/skaffold.yaml b/examples/structure-tests/skaffold.yaml index 73cb33135c2..d0ac1e2127c 100644 --- a/examples/structure-tests/skaffold.yaml +++ b/examples/structure-tests/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/tagging-with-environment-variables/skaffold.yaml b/examples/tagging-with-environment-variables/skaffold.yaml index 5c44e7cb411..03f9dd63091 100644 --- a/examples/tagging-with-environment-variables/skaffold.yaml +++ b/examples/tagging-with-environment-variables/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/examples/templated-fields/skaffold.yaml b/examples/templated-fields/skaffold.yaml index 63c42f81336..645d8dbb2a3 100644 --- a/examples/templated-fields/skaffold.yaml +++ b/examples/templated-fields/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config metadata: name: my-app diff --git a/examples/typescript/skaffold.yaml b/examples/typescript/skaffold.yaml index 3248472959b..8e521ea9211 100644 --- a/examples/typescript/skaffold.yaml +++ b/examples/typescript/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: diff --git a/examples/using-env-file/skaffold.yaml b/examples/using-env-file/skaffold.yaml index 37fcfbabcc9..099d7a2dfa7 100644 --- a/examples/using-env-file/skaffold.yaml +++ b/examples/using-env-file/skaffold.yaml @@ -1,4 +1,4 @@ -apiVersion: skaffold/v4beta6 +apiVersion: skaffold/v4beta7 kind: Config build: artifacts: diff --git a/pkg/skaffold/schema/latest/config.go b/pkg/skaffold/schema/latest/config.go index 0311a5e6314..5c863838288 100644 --- a/pkg/skaffold/schema/latest/config.go +++ b/pkg/skaffold/schema/latest/config.go @@ -25,7 +25,7 @@ import ( "github.com/GoogleContainerTools/skaffold/v2/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/v4beta7" // NewSkaffoldConfig creates a SkaffoldConfig