Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update changelog for v2.8.0 #9109

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"binVersion":"2.8.0","releaseNoteLink":"https://github.com/GoogleContainerTools/skaffold/releases/tag/2.8.0"}
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/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/buildpacks-java/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/buildpacks-node/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/buildpacks-python/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/buildpacks/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/cross-platform-builds/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-buildx/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
platforms: ["linux/amd64", "linux/arm64"]
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-tests/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/custom/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/dev-journey-buildpacks/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/docker-deploy/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
local:
Expand Down
2 changes: 1 addition & 1 deletion examples/gcb-kaniko/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
googleCloudBuild:
Expand Down
2 changes: 1 addition & 1 deletion examples/generate-pipeline/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/getting-started-kustomize/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: getting-started-kustomize
Expand Down
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/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/go-integration-coverage/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/google-cloud-build/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
googleCloudBuild:
Expand Down
2 changes: 1 addition & 1 deletion examples/grpc-e2e-tests/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: visitor-counter-e2e
Expand Down
2 changes: 1 addition & 1 deletion examples/helm-deployment-dependencies/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
tagPolicy:
Expand Down
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/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/helm-remote-repo/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
deploy:
helm:
Expand Down
2 changes: 1 addition & 1 deletion examples/helm-render/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/hot-reload/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/jib-gradle/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/jib-multimodule/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/jib-sync/skaffold-gradle.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/jib-sync/skaffold-maven.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/jib/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/kaniko/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/ko-sync-infer/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/ko/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/kustomize/skaffold-kustomize-args.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
deploy:
kustomize:
Expand Down
2 changes: 1 addition & 1 deletion examples/kustomize/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
manifests:
kustomize:
Expand Down
11 changes: 8 additions & 3 deletions examples/lifecycle-hooks/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
manifests:
rawYaml:
Expand All @@ -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:
Expand All @@ -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: .
Expand All @@ -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*
Expand Down
2 changes: 1 addition & 1 deletion examples/microservices/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-config-microservices/base/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: app-config
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: web-config
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-config-microservices/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
requires:
- path: ./leeroy-app
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-renderers/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: go-guestbook
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config

build:
Expand Down
2 changes: 1 addition & 1 deletion examples/profile-patches/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
# only build and deploy "base-service" on main profile
Expand Down
2 changes: 1 addition & 1 deletion examples/profiles/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
# only build and deploy "world-service" on main profile
Expand Down
2 changes: 1 addition & 1 deletion examples/react-reload-docker/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
local:
Expand Down
2 changes: 1 addition & 1 deletion examples/react-reload/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/remote-multi-config-microservices/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
requires:
- git:
Expand Down
2 changes: 1 addition & 1 deletion examples/ruby/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-artifact-dependency/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion examples/structure-tests/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta6
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
Expand Down
Loading
Loading