Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 66bcf82

Browse files
author
Michael Sauter
committed
Add more information regarding updating ods-pipeline
1 parent b7edafd commit 66bcf82

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ The documentation provided by ODS pipeline has three audiences:
2323
* **Developers** contribute to the ODS pipeline project itself, for example by improving existing tasks, adding new ones, updating documentation, etc.
2424

2525
**Admin Guide**
26-
* [Installation](/docs/admin-installation.adoc)
26+
* [Installation & Updating](/docs/admin-installation.adoc)
2727

2828
**User Guide**
29-
* [Installation](/docs/user-installation.adoc)
29+
* [Installation & Updating](/docs/user-installation.adoc)
3030
* [ODS configuration](/docs/ods-configuration.adoc)
3131
* [Task Reference](/docs/tasks)
3232
* [Working with secrets in Helm](/docs/helm-secrets.adoc)

docs/admin-installation.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Admin Installation Guide
2+
:toc:
23

34
This guide will show how to install `ods-pipeline` in an existing ODS cluster. Note this is a one-time installation done by a cluster admin and does not need to be repeated for every project that wants to use `ods-pipeline`.
45

@@ -57,3 +58,7 @@ git subtree split --squash --prefix=deploy/central -b subtree-split-branch-$pipe
5758
git checkout -
5859
git subtree merge --prefix=ods-pipeline subtree-split-branch-$pipelineGitRef --squash
5960
```
61+
62+
Then you can update the `images` chart via `./install.sh -n ods --chart=images --values=values.images.ods.yaml,secrets.images.ods.yaml`. You may also use `--dry-run` to see the changes first. This will install `BuildConfig` and `ImageStream` resources in the `ods` namespace.
63+
64+
In the same way, you can update the `tasks` chart via `./install.sh -n ods --chart=tasks --values=values.tasks.ods.yaml`. You may also use `--dry-run` to see the changes first. This will install the ODS tasks in cluster scope.

docs/user-installation.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# User Installation Guide
2+
:toc:
23

34
This guide will show how to install `ods-pipeline` in an existing ODS project. It is possible to use the new Tekton pipelines approach and the classic Jenkins approach side by side.
45

@@ -56,3 +57,5 @@ git subtree split --squash --prefix=deploy/cd-namespace -b subtree-split-branch-
5657
git checkout -
5758
git subtree merge --prefix=ods-pipeline subtree-split-branch-$pipelineGitRef --squash
5859
```
60+
61+
Then you can update the resources via `./install.sh -n foo-cd -f values.foo-cd.yaml,secrets.foo-cd.yaml`. You may also use `--dry-run` to see the changes first.

0 commit comments

Comments
 (0)