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

Commit 3abaa2c

Browse files
author
Michael Sauter
committed
Create 0.13.2 release
1 parent ee02438 commit 3abaa2c

19 files changed

+66
-64
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ listed in the changelog.
1010

1111
## [Unreleased]
1212

13+
## [0.13.2] - 2023-07-18
14+
1315
### Fixed
1416

1517
- Artifacts may not be uploaded to target repository when the target repository differs from the source repository ([#715](https://github.com/opendevstack/ods-pipeline/pull/715))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ For OpenShift Pipelines releases and its relationship to Tekton and OpenShift ve
5252

5353
| ods-pipeline | OpenShift Pipelines | ODS Core/Quickstarters |
5454
|---|---|---|
55-
| [0.13](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.13.1) | 1.9 | 4.x |
55+
| [0.13](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.13.2) | 1.9 | 4.x |
5656
| [0.12](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.12.0) | 1.9 | 4.x |
5757
| [0.11](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.11.1) | 1.9 | 4.x |
5858

deploy/ods-pipeline/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.13.1
18+
version: 0.13.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.13.1"
24+
appVersion: "0.13.2"
2525

2626
dependencies:
2727
- name: setup
28-
version: 0.13.1
28+
version: 0.13.2
2929
condition: setup.enabled
3030
- name: tasks
31-
version: 0.13.1
31+
version: 0.13.2
3232
condition: tasks.enabled

deploy/ods-pipeline/charts/setup/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.13.1
18+
version: 0.13.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: "0.13.1"
23+
appVersion: "0.13.2"

deploy/ods-pipeline/charts/tasks/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.13.1
18+
version: 0.13.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: "0.13.1"
23+
appVersion: "0.13.2"

docs/add-to-repository.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ pipeline:
2323
- name: build
2424
taskRef:
2525
kind: Task
26-
name: ods-build-go-v0-13-1
26+
name: ods-build-go-v0-13-2
2727
workspaces:
2828
- name: source
2929
workspace: shared-workspace
3030
----
3131

32-
`ods-build-go-v0-13-1` runs tests and produces a Go binary. If you use another technology, e.g. a Java project using Gradle, exchange the task with `ods-build-gradle-v0-13-1`. See the link:tasks/[tasks reference] for available tasks.
32+
`ods-build-go-v0-13-2` runs tests and produces a Go binary. If you use another technology, e.g. a Java project using Gradle, exchange the task with `ods-build-gradle-v0-13-2`. See the link:tasks/[tasks reference] for available tasks.
3333

3434
=== (Optionally) Create `Dockerfile`
3535

36-
If you want to create a container image with the produced Go binary, you can add the `ods-package-image-v0-13-1` task to the `tasks` list, like this:
36+
If you want to create a container image with the produced Go binary, you can add the `ods-package-image-v0-13-2` task to the `tasks` list, like this:
3737

3838
.ods.yaml
3939
[source,yaml]
@@ -43,14 +43,14 @@ pipeline:
4343
- name: build
4444
taskRef:
4545
kind: Task
46-
name: ods-build-go-v0-13-1
46+
name: ods-build-go-v0-13-2
4747
workspaces:
4848
- name: source
4949
workspace: shared-workspace
5050
- name: package
5151
taskRef:
5252
kind: Task
53-
name: ods-package-image-v0-13-1
53+
name: ods-package-image-v0-13-2
5454
runAfter:
5555
- build
5656
workspaces:
@@ -72,13 +72,13 @@ EXPOSE 8080
7272
CMD ["./app"]
7373
----
7474

75-
NOTE: `ods-build-go-v0-13-1` produces a binary called `app` and places it at `docker/app` so that it can be referenced in the `Dockerfile` and copied into the image by the `ods-package-image-v0-13-1` task.
75+
NOTE: `ods-build-go-v0-13-2` produces a binary called `app` and places it at `docker/app` so that it can be referenced in the `Dockerfile` and copied into the image by the `ods-package-image-v0-13-2` task.
7676

7777
NOTE: Pay attention to the `runAfter` configuration in the task list: it ensures that the tasks run sequentially and can use the outputs from the previous task(s).
7878

7979
=== (Optionally) Create Helm Chart
8080

81-
If you want to deploy the created image, you can add the `ods-deploy-helm-v0-13-1` task to the `tasks` list and configure which Kubernetes namespaces to deploy into, like this:
81+
If you want to deploy the created image, you can add the `ods-deploy-helm-v0-13-2` task to the `tasks` list and configure which Kubernetes namespaces to deploy into, like this:
8282

8383
.ods.yaml
8484
[source,yaml]
@@ -89,14 +89,14 @@ pipeline:
8989
- name: build
9090
taskRef:
9191
kind: Task
92-
name: ods-build-go-v0-13-1
92+
name: ods-build-go-v0-13-2
9393
workspaces:
9494
- name: source
9595
workspace: shared-workspace
9696
- name: package
9797
taskRef:
9898
kind: Task
99-
name: ods-package-image-v0-13-1
99+
name: ods-package-image-v0-13-2
100100
runAfter:
101101
- build
102102
workspaces:
@@ -105,7 +105,7 @@ pipeline:
105105
- name: deploy
106106
taskRef:
107107
kind: Task
108-
name: ods-deploy-helm-v0-13-1
108+
name: ods-deploy-helm-v0-13-2
109109
params:
110110
- name: namespace
111111
value: foo-dev

docs/convert-quickstarter-component.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ pipelines:
9393
- name: build
9494
taskRef:
9595
kind: Task
96-
name: ods-build-go-v0-13-1
96+
name: ods-build-go-v0-13-2
9797
workspaces:
9898
- name: source
9999
workspace: shared-workspace
100100
- name: package
101101
taskRef:
102102
kind: Task
103-
name: ods-package-image-v0-13-1
103+
name: ods-package-image-v0-13-2
104104
runAfter:
105105
- build
106106
workspaces:
@@ -109,21 +109,21 @@ pipelines:
109109
- name: deploy
110110
taskRef:
111111
kind: Task
112-
name: ods-deploy-helm-v0-13-1
112+
name: ods-deploy-helm-v0-13-2
113113
runAfter:
114114
- package
115115
workspaces:
116116
- name: source
117117
workspace: shared-workspace
118118
----
119119

120-
What has been done in Jenkins in `stageCheckFormat`, `stageLint`, `stageUnitTest`, `stageBuild` and `odsComponentStageScanWithSonar` is now done by the `ods-build-go-v0-13-1` task. If you have modified how the application is tested and built, or added further steps, you will need to create your own Tekton tasks reflecting those changes. See the link:authoring-tasks.adoc[authoring tasks] guide.
120+
What has been done in Jenkins in `stageCheckFormat`, `stageLint`, `stageUnitTest`, `stageBuild` and `odsComponentStageScanWithSonar` is now done by the `ods-build-go-v0-13-2` task. If you have modified how the application is tested and built, or added further steps, you will need to create your own Tekton tasks reflecting those changes. See the link:authoring-tasks.adoc[authoring tasks] guide.
121121

122-
Building the container image is now done in `ods-package-image-v0-13-1` instead of in `odsComponentStageBuildOpenShiftImage`. The task continues to use the existing `docker/Dockerfile` file, which does not need to change much if at all. Consult the task reference in question for more information. In the case of Go, the link:tasks/ods-build-go.adoc[`ods-build-go` task reference] states that the resulting Go binary is named `app` and placed into the `docker` directory. Make sure that your `docker/Dockerfile` copies `app`, not e.g. `app_linux_amd64` (as is the default for an ODS 4.x based Go quickstarter).
122+
Building the container image is now done in `ods-package-image-v0-13-2` instead of in `odsComponentStageBuildOpenShiftImage`. The task continues to use the existing `docker/Dockerfile` file, which does not need to change much if at all. Consult the task reference in question for more information. In the case of Go, the link:tasks/ods-build-go.adoc[`ods-build-go` task reference] states that the resulting Go binary is named `app` and placed into the `docker` directory. Make sure that your `docker/Dockerfile` copies `app`, not e.g. `app_linux_amd64` (as is the default for an ODS 4.x based Go quickstarter).
123123

124124
== Create Helm Chart
125125

126-
Finally, the application is deployed in `ods-deploy-helm-v0-13-1` as opposed to `odsComponentStageRolloutOpenShiftDeployment`.
126+
Finally, the application is deployed in `ods-deploy-helm-v0-13-2` as opposed to `odsComponentStageRolloutOpenShiftDeployment`.
127127
Let's look at this deployment piece in detail. The new Tekton task makes use of Helm to define and deploy the Kubernetes resources to use. Your existing repository might not define Kubernetes resources at all (this is the default), or they might be expressed as OpenShift templates (in a folder named `openshift`) and applied with link:https://github.com/opendevstack/tailor[Tailor]. ODS pipeline only supports Helm at the moment, and requires the Kubernetes resources (the Helm "chart") to be under version control. It is recommended to start with the link:https://github.com/opendevstack/ods-pipeline/tree/sample-helm-chart[sample chart provided in this repository]. If the existing component controlled resources via Tailor, please see the link:https://github.com/opendevstack/tailor/wiki/Migrating-from-Tailor-to-Helm#ods-quickstarter-migration[ODS Quickstarter Migration Guide] of Tailor as well.
128128

129129
== Configure Webhook

docs/example-project.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ pipelines:
3232
- name: build
3333
taskRef:
3434
kind: Task
35-
name: ods-build-go-v0-13-1
35+
name: ods-build-go-v0-13-2
3636
workspaces:
3737
- name: source
3838
workspace: shared-workspace
3939
- name: package
4040
taskRef:
4141
kind: Task
42-
name: ods-package-image-v0-13-1
42+
name: ods-package-image-v0-13-2
4343
runAfter:
4444
- build
4545
workspaces:
@@ -48,7 +48,7 @@ pipelines:
4848
- name: deploy
4949
taskRef:
5050
kind: Task
51-
name: ods-deploy-helm-v0-13-1
51+
name: ods-deploy-helm-v0-13-2
5252
runAfter:
5353
- package
5454
workspaces:
@@ -72,14 +72,14 @@ pipelines:
7272
- name: build
7373
taskRef:
7474
kind: Task
75-
name: ods-build-npm-v0-13-1
75+
name: ods-build-npm-v0-13-2
7676
workspaces:
7777
- name: source
7878
workspace: shared-workspace
7979
- name: package
8080
taskRef:
8181
kind: Task
82-
name: ods-package-image-v0-13-1
82+
name: ods-package-image-v0-13-2
8383
runAfter:
8484
- build
8585
workspaces:
@@ -88,7 +88,7 @@ pipelines:
8888
- name: deploy
8989
taskRef:
9090
kind: Task
91-
name: ods-deploy-helm-v0-13-1
91+
name: ods-deploy-helm-v0-13-2
9292
runAfter:
9393
- package
9494
workspaces:
@@ -141,7 +141,7 @@ pipelines:
141141
- name: deploy
142142
taskRef:
143143
kind: Task
144-
name: ods-deploy-helm-v0-13-1
144+
name: ods-deploy-helm-v0-13-2
145145
workspaces:
146146
- name: source
147147
workspace: shared-workspace

docs/installation.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Now use `git subtree` to get the required source files. The following commands m
3333

3434
[source]
3535
----
36-
pipelineGitRef=v0.13.1 # Pick the version you want to install
36+
pipelineGitRef=v0.13.2 # Pick the version you want to install
3737
3838
git fetch --depth=1 https://github.com/opendevstack/ods-pipeline.git $pipelineGitRef:ods-pipeline-$pipelineGitRef && \
3939
git checkout ods-pipeline-$pipelineGitRef && \
@@ -101,7 +101,7 @@ You may fetch updates (e.g. new versions) of `ods-pipeline` like this:
101101

102102
[source]
103103
----
104-
pipelineGitRef=v0.13.1 # Pick the version you want to update to
104+
pipelineGitRef=v0.13.2 # Pick the version you want to update to
105105
106106
git branch -D ods-pipeline-$pipelineGitRef subtree-split-branch-$pipelineGitRef || true && \
107107
git fetch --depth=1 https://github.com/opendevstack/ods-pipeline.git $pipelineGitRef:ods-pipeline-$pipelineGitRef && \
@@ -145,4 +145,4 @@ TIP: The credentials stored in the K8s secrets will not be updated. If you need
145145

146146
==== Finishing the update
147147

148-
Once the resources in your namespace are updated, you likely have to update the `ods.yaml` files in your repository to point to the new tasks, e.g. changing `ods-build-go-v0-12-0` to `ods-build-go-v0-13-1`. Whether or not you have to update the `ods.yaml` file depends whether the task suffix (controlled by the value `taskSuffix`) has changed due to the update.
148+
Once the resources in your namespace are updated, you likely have to update the `ods.yaml` files in your repository to point to the new tasks, e.g. changing `ods-build-go-v0-12-0` to `ods-build-go-v0-13-2`. Whether or not you have to update the `ods.yaml` file depends whether the task suffix (controlled by the value `taskSuffix`) has changed due to the update.

docs/introduction.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ pipeline:
7272
- name: build-go
7373
taskRef:
7474
kind: Task
75-
name: ods-build-go-v0-13-1
75+
name: ods-build-go-v0-13-2
7676
workspaces:
7777
- name: source
7878
workspace: shared-workspace
7979
- name: package-image
8080
taskRef:
8181
kind: Task
82-
name: ods-package-image-v0-13-1
82+
name: ods-package-image-v0-13-2
8383
runAfter:
8484
- build-go
8585
workspaces:
@@ -88,7 +88,7 @@ pipeline:
8888
- name: deploy-helm
8989
taskRef:
9090
kind: Task
91-
name: ods-deploy-helm-v0-13-1
91+
name: ods-deploy-helm-v0-13-2
9292
runAfter:
9393
- package-image
9494
workspaces:

0 commit comments

Comments
 (0)