-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release: v1.35.0 * release: v1.35.0 don't thank dependabot
- Loading branch information
Showing
54 changed files
with
353 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
local: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
googleCloudBuild: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
googleCloudBuild: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
tagPolicy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
deploy: | ||
helm: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: skaffold/v2beta25 | ||
apiVersion: skaffold/v2beta26 | ||
kind: Config | ||
build: | ||
artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Example: ko builder | ||
|
||
This example uses the | ||
[`ko` builder](https://skaffold.dev/docs/pipeline-stages/builders/ko/) | ||
to build a container image for a Go app. | ||
|
||
The included [Cloud Build](https://cloud.google.com/build/docs) configuration | ||
file shows how users can set up a simple pipeline using `skaffold build` and | ||
`skaffold deploy`, without having to create a custom builder image. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Copyright 2021 The Skaffold Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Demonstrate Skaffold build using ko builder and deploy to GKE. | ||
|
||
options: | ||
dynamic_substitutions: true | ||
env: | ||
- 'KUBECONFIG=/workspace/.kubeconfig' | ||
- 'SKAFFOLD_DEFAULT_REPO=$_IMAGE_REPO' | ||
- 'SKAFFOLD_DETECT_MINIKUBE=false' | ||
- 'SKAFFOLD_INTERACTIVE=false' | ||
- 'SKAFFOLD_TIMESTAMPS=true' | ||
- 'SKAFFOLD_UPDATE_CHECK=false' | ||
- 'SKAFFOLD_VERBOSITY=info' | ||
|
||
steps: | ||
- id: creds | ||
name: $_GCLOUD_IMAGE | ||
entrypoint: gcloud | ||
args: | ||
- container | ||
- clusters | ||
- get-credentials | ||
- $_GKE_CLUSTER_NAME | ||
- --project=$_GKE_CLUSTER_PROJECT_ID | ||
- --zone=$_GKE_CLUSTER_ZONE | ||
|
||
- id: build | ||
name: $_SKAFFOLD_IMAGE | ||
entrypoint: skaffold | ||
args: | ||
- build | ||
- --file-output=artifacts.json | ||
|
||
- id: deploy | ||
name: $_SKAFFOLD_IMAGE | ||
entrypoint: skaffold | ||
args: | ||
- deploy | ||
- --build-artifacts=artifacts.json | ||
- --status-check=true | ||
|
||
substitutions: | ||
_GKE_CLUSTER_NAME: skaffold-ko | ||
_GKE_CLUSTER_PROJECT_ID: $PROJECT_ID | ||
_GKE_CLUSTER_ZONE: us-central1-f | ||
_IMAGE_REPO: gcr.io/${PROJECT_ID} | ||
_GCLOUD_IMAGE: gcr.io/k8s-skaffold/skaffold | ||
_SKAFFOLD_IMAGE: gcr.io/k8s-skaffold/skaffold | ||
|
||
timeout: 1200s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2021 The Skaffold Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
module github.com/GoogleContainerTools/skaffold/examples/ko | ||
|
||
go 1.13 |
Oops, something went wrong.