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

Remove some mentions of "knative" and "build-pipeline" #722

Merged
merged 1 commit into from
Apr 5, 2019
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
6 changes: 3 additions & 3 deletions cmd/bash/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ This tool is for executing `shell` command. To override base shell image update

To use it, run
```
image: github.com/build-pipeline/cmd/bash
image: github.com/tektoncd/pipeline/cmd/bash
args: ['-args', 'ARGUMENTS_FOR_SHELL_COMMAND']
```

For help, run `man sub-command`
```
image: github.com/build-pipeline/cmd/bash
image: github.com/tektoncd/pipeline/cmd/bash
args: ['-args', `man`,`mkdir`]
```

For example:
Following example executes shell sub-command `mkdir`

```
image: github.com/build-pipeline/cmd/bash
image: github.com/tektoncd/pipeline/cmd/bash
args: ['-args', 'mkdir', '-p', '/workspace/gcs-dir']
```
*/
Expand Down
6 changes: 3 additions & 3 deletions cmd/gsutil/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ To override gsutil base image update `.ko.yaml` file.

To use it, run
```
image: github.com/build-pipeline/cmd/gsutil
image: github.com/tektoncd/pipeline/cmd/gsutil
args: ['-args', 'ARGUMENTS_FOR_GSUTIL_COMMAND']

```

For help, run
```
image: github.com/build-pipeline/cmd/gsutil
image: github.com/tektoncd/pipeline/cmd/gsutil
args: ['-args','--help']
```

For example:
Following example executes gsutil sub-command `cp`

```
image: github.com/build-pipeline/cmd/gsutil
image: github.com/tektoncd/pipeline/cmd/gsutil
args: ['-args', 'cp', 'gs://fake-bucket/rules.zip', '/workspace/gcs-dir'
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
Expand Down
1 change: 0 additions & 1 deletion config/300-clustertask.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
plural: clustertasks
categories:
- all
- knative
- tekton-pipelines
scope: Cluster
# Opt into the status subresource so metadata.generation
Expand Down
1 change: 0 additions & 1 deletion config/300-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
plural: pipelines
categories:
- all
- knative
- tekton-pipelines
scope: Namespaced
# Opt into the status subresource so metadata.generation
Expand Down
1 change: 0 additions & 1 deletion config/300-pipelinerun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
plural: pipelineruns
categories:
- all
- knative
- tekton-pipelines
scope: Namespaced
additionalPrinterColumns:
Expand Down
1 change: 0 additions & 1 deletion config/300-resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
plural: pipelineresources
categories:
- all
- knative
- tekton-pipelines
scope: Namespaced
# Opt into the status subresource so metadata.generation
Expand Down
1 change: 0 additions & 1 deletion config/300-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
plural: tasks
categories:
- all
- knative
- tekton-pipelines
scope: Namespaced
# Opt into the status subresource so metadata.generation
Expand Down
1 change: 0 additions & 1 deletion config/300-taskrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
plural: taskruns
categories:
- all
- knative
- tekton-pipelines
scope: Namespaced
additionalPrinterColumns:
Expand Down
2 changes: 1 addition & 1 deletion docs/container-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When `command` is not explicitly set, the controller will attempt to lookup the
entrypoint from the remote registry. If the image is a private registry, the
service account should include an
[ImagePullSecret](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account).
The build-pipeline controller will use the `ImagePullSecret` of the service
The Tekton controller will use the `ImagePullSecret` of the service
account, and if service account is empty, `default` is assumed. Next is falling
back to docker config added in a `.docker/config.json` at
`$HOME/.docker/config.json`. If none of these credentials are available the
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ To see all the resource created so far as part of Tekton Pipelines, run the
command:

```bash
kubectl get build-pipeline
kubectl get tekton-pipelines
```

You will get an output similar to the following:
Expand Down
2 changes: 1 addition & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function build_release() {
fi
# Build the base image for creds-init and git images.
docker build -t "${KO_DOCKER_REPO}/github.com/tektoncd/pipeline/build-base" -f images/Dockerfile images/
echo "Building build-pipeline"
echo "Building Tekton Pipeline"
ko resolve ${KO_FLAGS} -f config/ > ${OUTPUT_YAML}
YAMLS_TO_PUBLISH="${OUTPUT_YAML}"
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/reconciler/v1alpha1/taskrun/taskrun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func TestReconcile(t *testing.T) {
Type: v1alpha1.PipelineResourceTypeGit,
Params: []v1alpha1.Param{{
Name: "URL",
Value: "github.com/build-pipeline.git",
Value: "github.com/foo/bar.git",
}, {
Name: "revision",
Value: "rel-can",
Expand Down Expand Up @@ -572,7 +572,7 @@ func TestReconcile(t *testing.T) {
tb.PodContainer("build-step-git-source-workspace-9l9zj", "override-with-git:latest",
tb.Command(entrypointLocation),
tb.Args("-wait_file", "", "-post_file", "/builder/tools/0", "-entrypoint", "/ko-app/git-init", "--",
"-url", "github.com/build-pipeline.git", "-revision", "rel-can", "-path",
"-url", "github.com/foo/bar.git", "-revision", "rel-can", "-path",
"/workspace/workspace"),
tb.WorkingDir(workspaceDir),
tb.EnvVar("HOME", "/builder/home"),
Expand Down
3 changes: 1 addition & 2 deletions pkg/system/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ const (
SystemNamespaceEnvVar = "SYSTEM_NAMESPACE"
)

// GetNamespace holds the K8s namespace where our build-pipeline system
// components run.
// GetNamespace holds the K8s namespace where our system components run.
func GetNamespace() string {
systemNamespace := os.Getenv(SystemNamespaceEnvVar)
if systemNamespace == "" {
Expand Down
14 changes: 7 additions & 7 deletions tekton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ We dogfood our project by using Tekton Pipelines to build, test and release
Tekton Pipelines!

This directory contains the
[`Tasks`](https://github.com/knative/build-pipeline/blob/master/docs/tasks.md)
[`Tasks`](https://github.com/tektoncd/pipeline/blob/master/docs/tasks.md)
and
[`Pipelines`](https://github.com/knative/build-pipeline/blob/master/docs/pipelines.md)
[`Pipelines`](https://github.com/tektoncd/pipeline/blob/master/docs/pipelines.md)
that we (will) use.

TODO(#538): In #538 or #537 we will update
[Prow](https://github.com/knative/build-pipeline/blob/master/CONTRIBUTING.md#pull-request-process)
[Prow](https://github.com/tektoncd/pipeline/blob/master/CONTRIBUTING.md#pull-request-process)
to invoke these `Pipelines` automatically, but for now we will have to invoke
them manually.

Expand All @@ -32,15 +32,15 @@ The `Tasks` which make up our release `Pipeline` are:

To run these `Pipelines` and `Tasks`, you must have Tekton Pipelines installed
(in your own kubernetes cluster) either via
[an official release](https://github.com/knative/build-pipeline/blob/master/docs/install.md)
[an official release](https://github.com/tektoncd/pipeline/blob/master/docs/install.md)
or
[from `HEAD`](https://github.com/knative/build-pipeline/blob/master/DEVELOPMENT.md#install-pipeline).
[from `HEAD`](https://github.com/tektoncd/pipeline/blob/master/DEVELOPMENT.md#install-pipeline).

TODO(#531): Add the Pipeline, for now all we have are `Tasks` which we can
invoke individually by creating
[`TaskRuns`](https://github.com/knative/build-pipeline/blob/master/docs/taskruns.md)
[`TaskRuns`](https://github.com/tektoncd/pipeline/blob/master/docs/taskruns.md)
and
[`PipelineResources`](https://github.com/knative/build-pipeline/blob/master/docs/resources.md).
[`PipelineResources`](https://github.com/tektoncd/pipeline/blob/master/docs/resources.md).

TODO(#569): Normally we'd use the image `PipelineResources` to control which
image registry the images are pushed to. However since we have so many images,
Expand Down
8 changes: 5 additions & 3 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,14 @@ be used to run only [the unit tests](#unit-tests), i.e.:
// +build e2e
```

#### Create build-pipeline objects
#### Create Tekton objects

To create `build-pipeline` objects (e.g. `Task`, `Pipeline`, …), you can use the
[`builder`](./builder) package to reduce noise:
To create Tekton objects (e.g. `Task`, `Pipeline`, …), you can use the
[`github.com/tektoncd/pipeline/test/builder`](./builder) package to reduce noise:

```go
import tb "github.com/tektoncd/pipeline/test/builder"

func MyTest(t *testing.T){
// Pipeline
pipeline := tb.Pipeline("tomatoes", "namespace",
Expand Down
2 changes: 1 addition & 1 deletion test/adoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Package test holds the project's test helpers and end-to-end tests (e2e).

Create Pipeline resources

To create build-pipeline objects (e.g. Task, Pipeline, …), you
To create Tekton objects (e.g. Task, Pipeline, …), you
can use the builder (./builder) package to reduce noise:

func MyTest(t *testing.T){
Expand Down