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

Document process for updating the Dashboard on dogfooding #3311

Merged
merged 1 commit into from
Feb 16, 2024
Merged
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
16 changes: 15 additions & 1 deletion tekton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ that we use.
* [How to create a patch release](#create-a-patch-release)
* [Automated nightly releases](#nightly-releases)
* [Setup releases](#setup)
* [Update dogfooding](#update-dogfooding)
* [npm packages](#npm-packages)

## Create an official release
Expand Down Expand Up @@ -47,7 +48,7 @@ The nightly release pipeline is

This uses the same `Pipeline` and `Task`s as an official release.

If you need to manually trigger a nightly release, switch to the `dogfooding` context and run the following (substituting the date/time with current values):
If you need to manually trigger a nightly release, switch to the `dogfooding` context and run the following:

`kubectl create job --from=cronjob/nightly-cron-trigger-dashboard-nightly-release dashboard-nightly-$(date +"%Y%m%d-%H%M")`

Expand Down Expand Up @@ -144,6 +145,19 @@ kubectl patch serviceaccount $ACCOUNT \
-p "{\"secrets\": [{\"name\": \"$GENERIC_SECRET\"}]}"
```

## Update dogfooding

To update the Dashboard release on the [`dogfooding` cluster](https://dashboard.dogfooding.tekton.dev/):

1. Ensure you have a valid context for the `robocat` cluster in your kubeconfig
1. Run the following script from `tektoncd/plumbing`:
```
./scripts/deploy-release.sh -p dashboard -v <version>
```
where `<version>` is the desired Dashboard release version, e.g. `v0.43.0`
1. Wait for the new pod to be ready, should only take a few seconds
1. Ensure the Dashboard has been updated (check the About page) and is working correctly

## NPM Packages

To release a new version of the npm packages, e.g. `@tektoncd/dashboard-components`:
Expand Down