forked from GoogleContainerTools/skaffold
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request GoogleContainerTools#3365 from dgageot/adoc-to-md
Convert Asciidoc to simpler markdown
- Loading branch information
Showing
70 changed files
with
474 additions
and
988 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
### Example: bazel | ||
|
||
Bazel is one of the supported builders in Skaffold. | ||
|
||
The way you configure it in `skaffold.yaml` is the following build stanza: | ||
|
||
```yaml | ||
build: | ||
artifacts: | ||
- image: gcr.io/k8s-skaffold/skaffold-example | ||
context: . | ||
bazel: | ||
target: //:skaffold_example.tar | ||
``` | ||
1. make sure the `context` contains the bazel files (`WORKSPACE`, `BUILD`) | ||
2. add `bazel` section to each artifact | ||
3. specify `target` - our builder will use this to load to the image to the Docker daemon |
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,7 @@ | ||
### Example: kaniko | ||
|
||
This is an example demonstrating: | ||
|
||
* **building** a single Go file app built with [Cloud Native Buildpacks](https://buildpacks.io/) | ||
* **tagging** using the default tagPolicy (`gitCommit`) | ||
* **deploying** a single container pod using `kubectl` |
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
### Example: running Skaffold with docker-compose files | ||
|
||
This example provides a simple application set up to run with | ||
[Docker Compose](https://docs.docker.com/compose/). | ||
|
||
Notice there is no `skaffold.yaml` configuration present. | ||
To run this example, use: | ||
|
||
```bash | ||
skaffold init --compose-file docker-compose.yaml | ||
``` | ||
|
||
1. This will invoke the [kompose](https://github.com/kubernetes/kompose) binary to generate | ||
kubernetes manifests based off of the Docker Compose configuration. | ||
2. This will generate the `skaffold.yaml` configuration. |
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 was deleted.
Oops, something went wrong.
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,7 @@ | ||
### Example: Getting started with a simple go app | ||
|
||
This is a simple example based on: | ||
|
||
* **building** a single Go file app and with a multistage `Dockerfile` using [kaniko](https://github.com/GoogleContainerTools/kaniko) in Google Cloud Build | ||
* **tagging** using the default tagPolicy (`gitCommit`) | ||
* **deploying** a single container pod using `kubectl` |
12 changes: 6 additions & 6 deletions
12
examples/generate-pipeline/README.adoc → examples/generate-pipeline/README.md
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 was deleted.
Oops, something went wrong.
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,7 @@ | ||
### Example: Getting started with a simple go app | ||
|
||
This is a simple example based on: | ||
|
||
* **building** a single Go file app and with a multistage `Dockerfile` using local docker to build | ||
* **tagging** using the default tagPolicy (`gitCommit`) | ||
* **deploying** a single container pod using `kubectl` |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
### Example: Getting started with a simple go app | ||
|
||
This is a simple example based on: | ||
|
||
* **building** a single Go file app and with a multistage `Dockerfile` using Google Cloud Build | ||
* **tagging** using the default tagPolicy (`gitCommit`) | ||
* **deploying** a single container pod using `kubectl` |
9 changes: 3 additions & 6 deletions
9
.../helm-deployment-dependencies/README.adoc → ...es/helm-deployment-dependencies/README.md
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
Oops, something went wrong.