This repo contains the code behind the Tekton org's website at tekton.dev.
For more information on the Tekton Project, see the community repo.
For more information on contributing to the website see:
Tekton Website
Home Page: https://tekton.dev
License: Apache License 2.0
This repo contains the code behind the Tekton org's website at tekton.dev.
For more information on the Tekton Project, see the community repo.
For more information on contributing to the website see:
We need better "Getting started guide" for the tekton projects.
docs/
folder of each of those project (like docs/getting-started/…
)tektoncd/pipeline
tektoncd/triggers
— the existing one needs enhancementtektoncd/cli
tektoncd/dashboard
/kind docs
We should run the sync daily and pull updates to the docs in automatically.
The main website should track the latest release for each project.
To be defined how to update what the latest release is - manually probably.
It's a manual process right now
I would like to do this using a Tekton task/pipeline and automate it using Tekton.
update Note for accuracy and correct spelling error...
Current Text:
"Note:
Tekton provides a nunmber of interactive tutorials at try.tekton.dev for developers to get hands-on experience with the project."
Change to something like,
"Note: Tekton provides interative tutorials at tekton-dev.com/try/ for developers to get hands-on experience with the project"
Since first release may only have one tutorial or so, let's remove "the number of" and/or at least correct the typo/spelling and correct to the latest URL for the try page. This assumes the "nelify in the URL will not be needed once the new website is launched. Hotlink works, but text should match whatever the final URL will be? ie. is it try.tekton.dev or tekton.dev/try or tekton.dev.com/try?
Icons on the try page should link to tutorials that exist or ones that will be available very soon
There are many icons that are placeholders and may not be linked to tutorials. This may cause confusion. For example, the "Connect to Anthos platform" and "Connect to Jenkins/Jenkins X".
Some of these icons should perhaps be removed for now, and could be added back later if tutorials are added at a later date.
Currently we show the moon image when tekton.dev is previewed in twitter, slack etc. We should update this so we instead use the standard Tekton hero image.
I expect to be able to use the latest version of Tekton Pipelines in a Katacoda tutorial.
Katacoda Kubernetes clusters use version v0.14.0
(check out this Katacoda Kubernetes playground). Unfortunately, the latest Tekton Pipelines release (v0.11.0) requires Kubernetes version v0.15.0
.
🚨 Please also note that the minimum version of Kubernetes required to run Tekton is now 1.15.
So, installing the latest version of Tekton Pipelines on a Katacoda Kubernetes cluster now fails with the following error:
{"level":"fatal","logger":"tekton","caller":"sharedmain/main.go:149","msg":"Version check failed","commit":"8c64289","error":"kubernetes version \"v1.14.0\" is not compatible, need at least \"v1.15.0\" (this can be overridden with the env var \"KUBERNETES_MIN_VERSION\")","stacktrace":"github.com/tektoncd/pipeline/vendor/knative.dev/pkg/injection/sharedmain.MainWithConfig\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/injection/sharedmain/main.go:149\ngithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/injection/sharedmain.MainWithContext\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/injection/sharedmain/main.go:114\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/controller/main.go:72\nruntime.main\n\truntime/proc.go:203"}
kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
)kubectl get pods --namespace tekton-pipelines --watch
)It looks like I can set the KUBERNETES_MIN_VERSION
environment variable to get around the Tekton Pipelines version constraint. However, this is not ideal, and I don't know if this will break something with Tekton Pipelines.
The whole section of "Input and output resources" looks like they need to be changed to "Pipeline Resources".
Pipeline resources
Each task and pipeline may have its own inputs and outputs, known as input and output resources in Tekton. A compilation task, for example, may have a git repository as input and a container image as output: the task clones the source code from the repository, runs some tests, and at last builds the source code into an executable container image.
Tekton supports many different types of resources, including:
git: A git repository
Pull Request: A specific pull request in a git repository
Image: A container image
Cluster: A Kubernetes cluster
Storage: An object or directory in a blob store, such as Google Cloud Storage
CloudEvent: A CloudEvent
Pipeline Resources are specified as custom resources in a Kubernetes cluster.
Input and output resources
Each task and pipeline may have its own inputs and outputs, known as input and output resources in Tekton. A compilation task, for example, may have a git repository as input and a container image as output: the task clones the source code from the repository, runs some tests, and at last builds the source code into an executable container image.
Tekton supports many different types of resources, including:
git: A git repository
Pull Request: A specific pull request in a git repository
Image: A container image
Cluster: A Kubernetes cluster
Storage: An object or directory in a blob store, such as Google Cloud Storage
CloudEvent: A CloudEvent
Resources are specified as custom resources in a Kubernetes cluster.
The website should report information about views and visitors through an analytics platform.
We appear to have Google Analytics already configured for the website but it's unclear whose account the ID is tied to, and therefore where to go to see the current stats. We also probably need to figure out some way for these analytics to be shared with the wider group.
See config.toml for the current configuration.
I found a tutorial at here https://www.katacoda.com/ratrosyu/scenarios/playground
I want to provide a Chinese version against it if anyone can give me a hint about the place of its source code.
I search them in Github. Found out a git commit history from @chenyumic. If you know something about this, please help me to move forward. Thanks.
The preferred location for tekton tutorials, in particular those displayed/referenced on https://tekton.dev/try/ should be located within the tekton github repo
Desired changes to consider:
tutorial opens in personal repo
Links from: https://tekton.dev/docs/triggers/
In the bottom: Getting Started Tasks, links 404
https://tekton.dev/docs/triggers/create-webhook.yaml
https://tekton.dev/docs/triggers/create-ingress.yaml
I expect the website's tutorial page to have a tutorial for using the Dashboard.
Based on a discussion in the Docs & Website meeting, I created a Tekton Dashboard tutorial in Katacoda: https://www.katacoda.com/ncskier/scenarios/tekton-dashboard. The intent of this tutorial is to have the website's Monitor with Tekton dashboard
tutorial link to my Katacoda tutorial.
Please let me know if there are any updates/improvements I should make to my Katacoda tutorial; for example, to improve consistency across tutorials.
The Monitor with Tekton dashboard
tutorial does not link to anything.
Based on/Linked with #16, we should have a general getting started on tekton that brings together the key components of Tekton in a digestable, easy getting started guide.
Most likely based on something similar to tutorial.md
but using the cli and triggers most likely.
As part of the “Getting started with Tekton” we need to identify the documentation entry point (where to start reading) and include a link to it from Triggers, Pipelines, experimental, etc.
/kind documentation
Click on a getting started link (e.g. create a github webhook), see documentation.
Click on a getting started link, get a 404.
We want to see the familiar colored robotic cat image similar to the sticker available from cd.foundation or the image currently on the existing tekton.dev site
The only robotic cat is a very tiny white on black version in the masthead.
See https://cd.foundation/projects/ and https://tekton.dev/ for images requested.
Please consider using a different repo name. Like tektoncd-website or others.
Should be in tektoncd/pipeline
/kind documentation
Output is here:
Building sites … WARN 2019/04/14 18:34:32 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
ERROR 2019/04/14 18:34:32 error: failed to transform resource: SCSS processing failed: file "stdin", line 11, col 1: File to import not found or unreadable: bulma/sass/utilities/initial-variables.
Total in 8 ms
Error: Error building site: logged 1 error(s)
Hugo Static Site Generator v0.55.0/extended darwin/amd64 BuildDate: unknown
OS: Mac OS version 10.13.6
Document and make it clear what the scope of tektoncd is, and each components.
/kind documentation
Let the user know there is a tutorial about the dashboard on the Try page
The dashboard documentation page does not mention the tutorial. I think it would be useful to mention that the tutorial is available from the try page, and perhaps add direct link?
As part of tekton.dev documentation, we should publish the API references of our APIs
See https://knative.dev/docs/reference/ and https://knative.dev/docs/reference/serving-api/ as an example
/kind documentation
It should be possible to build and preview the website without requiring access to a GCS bucket for the background image.
The makefile commands used to build and run the website run sync.py which requires GCP credentials:
Lines 26 to 31 in 43e149b
It seems like the reason is to grab the background image:
Lines 105 to 107 in 43e149b
Maybe we can commit the background image to the repo instead? I have a feeling I'm missing something here
The logo with Tekton friends should be clearly visible.
The rabbit in the logo is barely visible as the purple/blue color with the black background makes it difficult to see.
See here: https://deploy-preview-24--tekton-dev.netlify.com/
Note: Strangely when you take a screenshot the rabbit gets highlighted but that's not what you see normally. Attaching a screenshot anyways.
I don't really know how "search this site" should work but i think it should only return results from this site?
When I try searching for "tutorial" I get this:
Maybe it's hard coded to search tekton.dev, in which case we probably need to update the search logic to use a netlify environment variable to search the preview site.
Markdown formatting in the docs should be preserved when synced to the website.
Some markdown formatting appears to be broken:
For example:
Triggers repo:
https://github.com/tektoncd/triggers/blob/master/docs/install.md
Website:
https://tekton.netlify.com/docs/triggers/install/
Also notice the _See Role-based access control for more information_.
after the second code block.
This might be the result of a stricter markdown processor being used for the website vs. GitHub.
The docs at tekton-dev.netlify.dev for the tektoncd projects should be at the latest released versions:
The docs are currently synced from:
---
title: "Triggers"
linkTitle: "Triggers"
weight: 0
description: >
Event Triggers
---
For the the text to be centered on my monitor
The CSS flow breaks
Two Possible Solutions:
Clicking the 'Edit this page' link should bring me to the corresponding file in GitHub.
Sub-pages under 'Tasks and Pipelines' and 'Triggers' lead to a 404
Sub-pages for Pipelines and Triggers are being synced from the docs folder in their respective repos, so the 'Edit this page' links pointing to the website repo are wrong.
As part of tekton.dev documentation, we should publish the CLI references of tkn
See https://knative.dev/docs/reference/client/ and https://github.com/tektoncd/cli/tree/master/docs/cmd (reference docs are already generated, we just need to sync them and "present" them)
/kind documentation
We should have hosted and versioned Tekton docs, based on the markdown files we have in each repo, maybe starting with just Pipelines.
I accept that when I click on Tekton Pipeline Link it should give me some type of documentation.
It sends me to the github documentation
I think the scraper should change the absolute link to the relative link if the relative link does not return a 400 type error.
Should be in tektoncd/pipeline
/kind documentation
In "Important" section, please point to details for which release to use at this link https://github.com/tektoncd/dashboard#which-version-should-i-use
Currently points to releases page,https://github.com/tektoncd/dashboard/releases. The readme.md page would be a better choice to point directly to this section https://github.com/tektoncd/dashboard#which-version-should-i-use to quickly determine which version combination to use.
That I can find the good Tekton presentations, that I know exists (e.g. from KubeCon), from the website.
There are mostly static content on the website. It would be great to link to good Tekton presentations, unless there are valid reasons this is not done.
a richer tutorial / educational experience
We need more content on the https://tekton.dev/try/
reference notes in the tekton docs meeting notes from April 29, 2020: https://docs.google.com/document/d/1nnJe4rWBFZORW9ScV9o-yk6BmvX419DDKKwIlORRhsY/
Discussed this at the docs working group on April 22nd. With our current approach, switching the sync script to pull specific release tags instead of master means we wouldn't be able to publish updated docs between releases.
Current Issue:
This issue was taken from:
Originally posted by @AlanGreene in #90
These issues seem to be a blocker for this PR.
As this is not part of the beta API, this is lower priority
Should be in tektoncd/pipeline
/kind documentation
We need to decide and document where end-user documentation (getting started guide, advanced guide, …) are written into.
Proposal:
docs/
folder of the projectdocs/
folder of this project (tektoncd/website
)/kind documentation
Site should:
Site only mentions pipelines and says it is under construction.
Look at skaffold.dev for inspiration
Here's a fun Triggers 101 Tutorial by @ncskier in article form. It might be a really nice scenario to put into Katacoda.
This tutorial as written is based on OpenShift. It could be reworked for Katacoda without OpenShift if necessary.
Or, alternatively, it could be just linked to as is.
Link to published tutorial article: https://developer.ibm.com/tutorials/tekton-triggers-101/
v1beta1
Tekton Pipelines resourcesv1alpha1
resources at https://github.com/michaelawyu/tekton-examplesChanges to the docs of a Tekton repo such as Pipeline should be reflected in the Website as soon as possible.
At the moment we have a script that syncs docs from a fork of Pipeline. The script expects a special table at the top of docs and during the initial review of the website this was deemed as a bit of an ugly addition given that it only served the syncing script.
TODO(sbwsg): Update this issue with details of the script and the table that's needed. Link to any PR discussion that was added around this.
We should add:
We should probably have more in the README than we currently have:
( 🤣 d is for @dlorenc )
Privacy URL: https://www.linuxfoundation.org/privacy
Terms URL: https://www.linuxfoundation.org/terms/
Example: https://www.spinnaker.io/ footer for reference
Should be in tektoncd/pipeline
/kind documentation
Here's a fun Triggers 101 Tutorial by @ncskier in article form. It might be a really nice scenario to put into Katacoda.
This tutorial as written is based on OpenShift. It could be reworked for Katacoda without OpenShift if necessary.
Or, alternatively, it could be just linked to as is.
Link to published tutorial article: https://developer.ibm.com/tutorials/tekton-triggers-101/.
https://github.com/tektoncd/website/blob/master/OWNERS should be a list of folks we expect to review PRs in this repo.
I think @vdemeester and I are the only ones on that list for whom that qualifies at the moment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.