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

Commit 2463936

Browse files
author
Michael Sauter
committed
Create 0.11.1 release
1 parent 96626e4 commit 2463936

19 files changed

+65
-63
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.11.1] - 2023-03-31
14+
1315
### Fixed
1416

1517
- Configure Git to use bearer token auth mechanism ([#683](https://github.com/opendevstack/ods-pipeline/issues/683))

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.11](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.11.0) | 1.9 | 4.x |
55+
| [0.11](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.11.1) | 1.9 | 4.x |
5656
| [0.10](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.10.1) | 1.9 | 4.x |
5757
| [0.9](https://github.com/opendevstack/ods-pipeline/releases/tag/v0.9.0) | 1.6 | 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.11.0
18+
version: 0.11.1
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.11.0"
24+
appVersion: "0.11.1"
2525

2626
dependencies:
2727
- name: setup
28-
version: 0.11.0
28+
version: 0.11.1
2929
condition: setup.enabled
3030
- name: tasks
31-
version: 0.11.0
31+
version: 0.11.1
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.11.0
18+
version: 0.11.1
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.11.0"
23+
appVersion: "0.11.1"

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.11.0
18+
version: 0.11.1
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.11.0"
23+
appVersion: "0.11.1"

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-11-0
26+
name: ods-build-go-v0-11-1
2727
workspaces:
2828
- name: source
2929
workspace: shared-workspace
3030
----
3131

32-
`ods-build-go-v0-11-0` 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-11-0`. See the link:tasks/[tasks reference] for available tasks.
32+
`ods-build-go-v0-11-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-11-1`. 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-11-0` 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-11-1` 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-11-0
46+
name: ods-build-go-v0-11-1
4747
workspaces:
4848
- name: source
4949
workspace: shared-workspace
5050
- name: package
5151
taskRef:
5252
kind: Task
53-
name: ods-package-image-v0-11-0
53+
name: ods-package-image-v0-11-1
5454
runAfter:
5555
- build
5656
workspaces:
@@ -72,13 +72,13 @@ EXPOSE 8080
7272
CMD ["./app"]
7373
----
7474

75-
NOTE: `ods-build-go-v0-11-0` 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-11-0` task.
75+
NOTE: `ods-build-go-v0-11-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-11-1` 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-11-0` task to the `tasks` list and configure which branches should be deployed to which Kubernetes namespaces, like this:
81+
If you want to deploy the created image, you can add the `ods-deploy-helm-v0-11-1` task to the `tasks` list and configure which branches should be deployed to which Kubernetes namespaces, like this:
8282

8383
.ods.yaml
8484
[source,yaml]
@@ -97,14 +97,14 @@ pipeline:
9797
- name: build
9898
taskRef:
9999
kind: Task
100-
name: ods-build-go-v0-11-0
100+
name: ods-build-go-v0-11-1
101101
workspaces:
102102
- name: source
103103
workspace: shared-workspace
104104
- name: package
105105
taskRef:
106106
kind: Task
107-
name: ods-package-image-v0-11-0
107+
name: ods-package-image-v0-11-1
108108
runAfter:
109109
- build
110110
workspaces:
@@ -113,7 +113,7 @@ pipeline:
113113
- name: deploy
114114
taskRef:
115115
kind: Task
116-
name: ods-deploy-helm-v0-11-0
116+
name: ods-deploy-helm-v0-11-1
117117
runAfter:
118118
- package
119119
workspaces:

docs/convert-quickstarter-component.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ pipeline:
101101
- name: backend-build-go
102102
taskRef:
103103
kind: Task
104-
name: ods-build-go-v0-11-0
104+
name: ods-build-go-v0-11-1
105105
workspaces:
106106
- name: source
107107
workspace: shared-workspace
108108
- name: backend-package-image
109109
taskRef:
110110
kind: Task
111-
name: ods-package-image-v0-11-0
111+
name: ods-package-image-v0-11-1
112112
runAfter:
113113
- backend-build-go
114114
workspaces:
@@ -117,21 +117,21 @@ pipeline:
117117
- name: backend-deploy
118118
taskRef:
119119
kind: Task
120-
name: ods-deploy-helm-v0-11-0
120+
name: ods-deploy-helm-v0-11-1
121121
runAfter:
122122
- backend-package-image
123123
workspaces:
124124
- name: source
125125
workspace: shared-workspace
126126
----
127127

128-
What has been done in Jenkins in `stageCheckFormat`, `stageLint`, `stageUnitTest`, `stageBuild` and `odsComponentStageScanWithSonar` is now done by the `ods-build-go-v0-11-0` 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.
128+
What has been done in Jenkins in `stageCheckFormat`, `stageLint`, `stageUnitTest`, `stageBuild` and `odsComponentStageScanWithSonar` is now done by the `ods-build-go-v0-11-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.
129129

130-
Building the container image is now done in `ods-package-image-v0-11-0` 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).
130+
Building the container image is now done in `ods-package-image-v0-11-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).
131131

132132
== Create Helm Chart
133133

134-
Finally, the application is deployed in `ods-deploy-helm-v0-11-0` as opposed to `odsComponentStageRolloutOpenShiftDeployment`.
134+
Finally, the application is deployed in `ods-deploy-helm-v0-11-1` as opposed to `odsComponentStageRolloutOpenShiftDeployment`.
135135
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.
136136

137137
== Configure Webhook

docs/example-project.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ pipeline:
3333
- name: build
3434
taskRef:
3535
kind: Task
36-
name: ods-build-go-v0-11-0
36+
name: ods-build-go-v0-11-1
3737
workspaces:
3838
- name: source
3939
workspace: shared-workspace
4040
- name: package
4141
taskRef:
4242
kind: Task
43-
name: ods-package-image-v0-11-0
43+
name: ods-package-image-v0-11-1
4444
runAfter:
4545
- build
4646
workspaces:
@@ -49,7 +49,7 @@ pipeline:
4949
- name: deploy
5050
taskRef:
5151
kind: Task
52-
name: ods-deploy-helm-v0-11-0
52+
name: ods-deploy-helm-v0-11-1
5353
runAfter:
5454
- package
5555
workspaces:
@@ -74,14 +74,14 @@ pipeline:
7474
- name: build
7575
taskRef:
7676
kind: Task
77-
name: ods-build-npm-v0-11-0
77+
name: ods-build-npm-v0-11-1
7878
workspaces:
7979
- name: source
8080
workspace: shared-workspace
8181
- name: package
8282
taskRef:
8383
kind: Task
84-
name: ods-package-image-v0-11-0
84+
name: ods-package-image-v0-11-1
8585
runAfter:
8686
- build
8787
workspaces:
@@ -90,7 +90,7 @@ pipeline:
9090
- name: deploy
9191
taskRef:
9292
kind: Task
93-
name: ods-deploy-helm-v0-11-0
93+
name: ods-deploy-helm-v0-11-1
9494
runAfter:
9595
- package
9696
workspaces:
@@ -134,7 +134,7 @@ pipeline:
134134
- name: deploy
135135
taskRef:
136136
kind: Task
137-
name: ods-deploy-helm-v0-11-0
137+
name: ods-deploy-helm-v0-11-1
138138
workspaces:
139139
- name: source
140140
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.11.0 # Pick the version you want to install
36+
pipelineGitRef=v0.11.1 # 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.11.0 # Pick the version you want to update to
104+
pipelineGitRef=v0.11.1 # 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-10-1` to `ods-build-go-v0-11-0`. 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-10-1` to `ods-build-go-v0-11-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.

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-11-0
75+
name: ods-build-go-v0-11-1
7676
workspaces:
7777
- name: source
7878
workspace: shared-workspace
7979
- name: package-image
8080
taskRef:
8181
kind: Task
82-
name: ods-package-image-v0-11-0
82+
name: ods-package-image-v0-11-1
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-11-0
91+
name: ods-deploy-helm-v0-11-1
9292
runAfter:
9393
- package-image
9494
workspaces:

0 commit comments

Comments
 (0)