-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes broken links to sample examples
- Loading branch information
1 parent
5a2fc61
commit ca52c37
Showing
41 changed files
with
1,892 additions
and
40 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
Large diffs are not rendered by default.
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
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
19 changes: 19 additions & 0 deletions
19
content/en/docs/samples/build/build_buildah_shipwright_managed_push_cr.yaml
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,19 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: buildah-golang-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-go | ||
contextDir: docker-build | ||
strategy: | ||
name: buildah-shipwright-managed-push | ||
kind: ClusterBuildStrategy | ||
paramValues: | ||
- name: dockerfile | ||
value: Dockerfile | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app |
19 changes: 19 additions & 0 deletions
19
content/en/docs/samples/build/build_buildah_strategy_managed_push_cr.yaml
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,19 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: buildah-golang-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-go | ||
contextDir: docker-build | ||
strategy: | ||
name: buildah-strategy-managed-push | ||
kind: ClusterBuildStrategy | ||
paramValues: | ||
- name: dockerfile | ||
value: Dockerfile | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app |
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,24 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: buildkit-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-go | ||
contextDir: docker-build | ||
paramValues: | ||
- name: platforms | ||
values: | ||
- value: linux/amd64 | ||
- value: linux/arm64 | ||
strategy: | ||
name: buildkit | ||
kind: ClusterBuildStrategy | ||
retention: | ||
atBuildDeletion: true | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app | ||
|
16 changes: 16 additions & 0 deletions
16
content/en/docs/samples/build/build_buildpacks-v3-heroku_cr.yaml
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,16 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: buildpack-nodejs-build-heroku | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-nodejs | ||
contextDir: source-build-heroku | ||
strategy: | ||
name: buildpacks-v3-heroku | ||
kind: ClusterBuildStrategy | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app |
16 changes: 16 additions & 0 deletions
16
content/en/docs/samples/build/build_buildpacks-v3-heroku_namespaced_cr.yaml
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,16 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: buildpack-nodejs-build-namespaced-heroku | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-nodejs | ||
contextDir: source-build-heroku | ||
strategy: | ||
name: buildpacks-v3-heroku | ||
kind: BuildStrategy | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app |
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: buildpack-nodejs-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-nodejs | ||
contextDir: source-build | ||
strategy: | ||
name: buildpacks-v3 | ||
kind: ClusterBuildStrategy | ||
retention: | ||
atBuildDeletion: false | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app |
16 changes: 16 additions & 0 deletions
16
content/en/docs/samples/build/build_buildpacks-v3_namespaced_cr.yaml
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,16 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: buildpack-nodejs-build-namespaced | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-nodejs | ||
contextDir: source-build | ||
strategy: | ||
name: buildpacks-v3 | ||
kind: BuildStrategy | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app |
20 changes: 20 additions & 0 deletions
20
content/en/docs/samples/build/build_kaniko-trivy-bad_cr.yaml
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,20 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: kaniko-trivy-bad-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-scanning | ||
strategy: | ||
name: kaniko-trivy | ||
kind: ClusterBuildStrategy | ||
retention: | ||
atBuildDeletion: true | ||
paramValues: | ||
- name: dockerfile | ||
value: "Dockerfile.bad" | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/bad-trivy |
20 changes: 20 additions & 0 deletions
20
content/en/docs/samples/build/build_kaniko-trivy-good_cr.yaml
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,20 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: kaniko-trivy-good-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-scanning | ||
strategy: | ||
name: kaniko-trivy | ||
kind: ClusterBuildStrategy | ||
retention: | ||
atBuildDeletion: true | ||
paramValues: | ||
- name: dockerfile | ||
value: "Dockerfile.good" | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/good-trivy |
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: kaniko-golang-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-go | ||
contextDir: docker-build | ||
strategy: | ||
name: kaniko | ||
kind: ClusterBuildStrategy | ||
retention: | ||
atBuildDeletion: true | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/taxi-app |
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,24 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: ko-build | ||
spec: | ||
paramValues: | ||
- name: go-flags | ||
value: "-v -mod=vendor -ldflags=-w" | ||
- name: go-version | ||
value: "1.21" | ||
- name: package-directory | ||
value: ./cmd/shipwright-build-controller | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/build | ||
strategy: | ||
name: ko | ||
kind: ClusterBuildStrategy | ||
retention: | ||
atBuildDeletion: false | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/shipwright-build |
19 changes: 19 additions & 0 deletions
19
content/en/docs/samples/build/build_source-to-image_cr.yaml
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,19 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: Build | ||
metadata: | ||
name: s2i-nodejs-build | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
url: https://github.com/shipwright-io/sample-nodejs | ||
contextDir: source-build/ | ||
strategy: | ||
name: source-to-image | ||
kind: ClusterBuildStrategy | ||
paramValues: | ||
- name: builder-image | ||
value: "docker.io/centos/nodejs-10-centos7" | ||
output: | ||
image: image-registry.openshift-image-registry.svc:5000/build-examples/nodejs-ex |
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,8 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: buildah-golang-buildrun | ||
spec: | ||
build: | ||
name: buildah-golang-build |
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: buildkit-buildrun | ||
spec: | ||
build: | ||
name: buildkit-build | ||
serviceAccount: ".generate" |
9 changes: 9 additions & 0 deletions
9
content/en/docs/samples/buildrun/buildrun_buildpacks-v3-heroku_cr.yaml
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: buildpack-nodejs-buildrun-heroku | ||
spec: | ||
build: | ||
name: buildpack-nodejs-build-heroku | ||
serviceAccount: ".generate" |
9 changes: 9 additions & 0 deletions
9
content/en/docs/samples/buildrun/buildrun_buildpacks-v3-heroku_namespaced_cr.yaml
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: buildpack-nodejs-buildrun-namespaced-heroku | ||
spec: | ||
build: | ||
name: buildpack-nodejs-build-namespaced-heroku | ||
serviceAccount: ".generate" |
9 changes: 9 additions & 0 deletions
9
content/en/docs/samples/buildrun/buildrun_buildpacks-v3_cr.yaml
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: buildpack-nodejs-buildrun | ||
spec: | ||
build: | ||
name: buildpack-nodejs-build | ||
serviceAccount: ".generate" |
9 changes: 9 additions & 0 deletions
9
content/en/docs/samples/buildrun/buildrun_buildpacks-v3_namespaced_cr.yaml
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: buildpack-nodejs-buildrun-namespaced | ||
spec: | ||
build: | ||
name: buildpack-nodejs-build-namespaced | ||
serviceAccount: ".generate" |
9 changes: 9 additions & 0 deletions
9
content/en/docs/samples/buildrun/buildrun_kaniko-trivy-bad_cr.yaml
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: kaniko-trivy-bad-buildrun | ||
spec: | ||
build: | ||
name: kaniko-trivy-bad-build | ||
serviceAccount: ".generate" |
9 changes: 9 additions & 0 deletions
9
content/en/docs/samples/buildrun/buildrun_kaniko-trivy-good_cr.yaml
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: kaniko-trivy-good-buildrun | ||
spec: | ||
build: | ||
name: kaniko-trivy-good-build | ||
serviceAccount: ".generate" |
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: kaniko-golang-buildrun | ||
spec: | ||
build: | ||
name: kaniko-golang-build | ||
serviceAccount: ".generate" |
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 @@ | ||
--- | ||
apiVersion: shipwright.io/v1beta1 | ||
kind: BuildRun | ||
metadata: | ||
name: ko-buildrun | ||
spec: | ||
build: | ||
name: ko-build | ||
serviceAccount: ".generate" |
Oops, something went wrong.