Skip to content

Commit

Permalink
Updates catalog branch from master to main
Browse files Browse the repository at this point in the history
This adds a db migration to rename tekton catalog branch from
master to main.

Signed-off-by: Shivam Mukhade <[email protected]>
  • Loading branch information
SM43 authored and tekton-robot committed Mar 19, 2021
1 parent a667b06 commit 7afb774
Show file tree
Hide file tree
Showing 16 changed files with 306 additions and 267 deletions.
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ your descriptive commit message(s)! -->
These are the criteria that every PR should meet, please check them off as you
review them:

- [ ] Includes [tests](https://github.com/tektoncd/community/blob/master/standards.md#principles) (if functionality changed/added)
- [ ] Commit messages follow [commit message best practices](https://github.com/tektoncd/community/blob/master/standards.md#commit-messages)
- [ ] Includes [tests](https://github.com/tektoncd/community/blob/main/standards.md#principles) (if functionality changed/added)
- [ ] Commit messages follow [commit message best practices](https://github.com/tektoncd/community/blob/main/standards.md#commit-messages)

_See [the contribution guide](https://github.com/tektoncd/pipeline/blob/master/CONTRIBUTING.md) for more details._
_See [the contribution guide](https://github.com/tektoncd/pipeline/blob/main/CONTRIBUTING.md) for more details._

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ and the individual `CONTRIBUTING.md` files in each respective project.
[the code of conduct](./code-of-conduct.md).**

PRs are welcome, and will follow
[the tektoncd pull request process](https://github.com/tektoncd/community/blob/master/process.md#pull-request-process).
[the tektoncd pull request process](https://github.com/tektoncd/community/blob/main/process.md#pull-request-process).

## How to Contribute to the Hub

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ contains the source code of this service.

If you want to contribute to this repository, please see our [contributing](./CONTRIBUTING.md) guidelines.

If you are looking for support, enter an [issue](https://github.com/tektoncd/hub/issues/new) or join our [Slack workspace](https://github.com/tektoncd/community/blob/master/contact.md#slack)
If you are looking for support, enter an [issue](https://github.com/tektoncd/hub/issues/new) or join our [Slack workspace](https://github.com/tektoncd/community/blob/main/contact.md#slack)

## Status of the Project

Expand Down
20 changes: 10 additions & 10 deletions api/design/types/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ var ResourceVersionData = ResultType("application/vnd.hub.resource.version.data"
})
Attribute("rawURL", String, "Raw URL of resource's yaml file of the version", func() {
Format(FormatURI)
Example("rawURL", "https://raw.githubusercontent.com/tektoncd/catalog/master/task/buildah/0.1/buildah.yaml")
Example("rawURL", "https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml")
})
Attribute("webURL", String, "Web URL of resource's yaml file of the version", func() {
Format(FormatURI)
Example("webURL", "https://github.com/tektoncd/catalog/blob/master/task/buildah/0.1/buildah.yaml")
Example("webURL", "https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml")
})
Attribute("updatedAt", String, "Timestamp when version was last updated", func() {
Format(FormatDateTime)
Expand Down Expand Up @@ -173,8 +173,8 @@ var ResourceData = ResultType("application/vnd.hub.resource.data", "ResourceData
"description": "Buildah task builds source into a container image and then pushes it to a container registry.",
"displayName": "Buildah",
"minPipelinesVersion": "0.12.1",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/master/task/buildah/0.1/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/master/task/buildah/0.1/buildah.yaml",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml",
"updatedAt": "2020-01-01 12:00:00 +0000 UTC",
})
})
Expand Down Expand Up @@ -244,8 +244,8 @@ var Versions = ResultType("application/vnd.hub.versions", "Versions", func() {
Value(Val{
"id": 2,
"version": "0.2",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/master/task/buildah/0.2/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/master/task/buildah/0.2/buildah.yaml",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.2/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/main/task/buildah/0.2/buildah.yaml",
})
})
})
Expand All @@ -254,13 +254,13 @@ var Versions = ResultType("application/vnd.hub.versions", "Versions", func() {
Value([]Val{{
"id": 1,
"version": "0.1",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/master/task/buildah/0.1/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/master/task/buildah/0.1/buildah.yaml",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.1/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/main/task/buildah/0.1/buildah.yaml",
}, {
"id": 2,
"version": "0.2",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/master/task/buildah/0.2/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/master/task/buildah/0.2/buildah.yaml",
"rawURL": "https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah/0.2/buildah.yaml",
"webURL": "https://github.com/tektoncd/catalog/blob/main/task/buildah/0.2/buildah.yaml",
}})
})
})
Expand Down
2 changes: 1 addition & 1 deletion api/gen/http/openapi.json

Large diffs are not rendered by default.

Loading

0 comments on commit 7afb774

Please sign in to comment.