Skip to content

Commit

Permalink
Prepare IFixes release 9.0.0.1 (#59)
Browse files Browse the repository at this point in the history
* Decisions convergence (#48)

* Implement support for both Decisions products and refactoring

- Made service compatible with ODM and ADS
- Integrated metering model for simplified dependencies
- Renamed packages, options, produced jar file
- Adapted, refactored and reviewed documentation accordingly

* Update copyright notices

* Deliver next release - 8.12.0 (#45)

* Switch to the next version

* Change copyright year: DBACLD-90119

* Pre delivery 812 (#44)

* Prepare new release.

* increase time to run test

* Change liberty version for the next release

* Use a pre-deploy ruleset

* Adapt test after moving to the new rule set

* Prepare next delivery

* Update Chart.yaml - Fix bad odm version

* fix bad version

* Update test.sh

* Update docker-compose.yml Try to add network

* Update docker-compose.yml - Remove network

* Update build-and-test.yml

* Update build-and-test.yml debug

* Update test.sh

* Update test.sh

* Take the new jar file name into account

* Trigger new action build

---------

Co-authored-by: Anthony Acremann <anthony.acremann@fr.ibm.com>

* Prepare next release

* Update Liberty version

* Update build-and-test.yml

* Update build-and-test.yml

* Update build-and-test.yml - Revert

* Bad reference url

* Update build-and-test.yml - Change Liberty version

* Change for the next release

* Update build-and-test.yml

* Try to workaround issue DBACLD-118818

* Fix location

* Update Chart.yaml

* Update values.yaml

* Update values.yaml

* Move to the new release name 9.0.0

* Linter failed

* DBACLD-125217 Metering service does not store correctly the metrics

* Override delivery to fix issue

* New description for the dockerjub

* DBACLD-125376 Change copyright

* Dbacld 125217 (#50)

* Fix configuration of the service

* DBACLD-125217

* Try to fix Github action

* Fix initVariable syntax

* Fix shell syntax.

* no message

* Debug

* Fix metrics check

* Move to JDK 17

* improve logging

* DBACLD-134790 Change License for the next release

* Prepare next release

* Preprare next release

* Prepare next release

* Update README_ODM.md

* Update Chart.yaml

* Update kuberentes version

* Fix Kubernetes requirement

* Change home url + Kubernetes version

* Try to add artifacthub verified status

* Add markdown link check (#53)

* DBACLD-139987 - Put in place checker link

* ignore some broken links

* ignore broken links with localhost URL

---------

Co-authored-by: Frederic Mercier <f.mercier@fr.ibm.com>

* Fix broken link

* Fix broken link

* prepare next release 24.1.0 (#55)

* DBACLD-148300 Enable detect secret

* DBACLD-148300 Enable detect secret

* Update README.md

* add GitHub action running detect-secrets

* send notification to Slack if detect-secrets failed

* Prep delivery - First pass fix linter (#56)

* Prepare next release

* Move to a CV new version

* Try to fix build. Improve certification level.

* Fix remaining linter issues

* Fix ODM version to be able to test

* Prep delivery (#57)

* Prepare next release

* Move to a CV new version

* Try to fix build. Improve certification level.

* Fix remaining linter issues

* Fix ODM version to be able to test

* Switch Java version to jdk 17 + update the linter version.

* Remove duplicate entry

* Fix liberty location image

* Prep delivery 2401 (#58)

* Switch Java version to jdk 17 + update the linter version.

* Remove duplicate entry

* Fix liberty location image

* Preparing new delivery of the helm charts

---------

Co-authored-by: Anthony Acremann <anthony.acremann@fr.ibm.com>
Co-authored-by: Frederic Mercier <frederic.mercier@gmx.net>
Co-authored-by: Frederic Mercier <f.mercier@fr.ibm.com>
Co-authored-by: siasin <siasin.tay@fr.ibm.com>
  • Loading branch information
5 people authored Dec 6, 2024
1 parent 2e5143c commit 5ba24b5
Show file tree
Hide file tree
Showing 12 changed files with 73 additions and 34 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ODM product version
ODMVERSION=9.0.0.0
ODMIMAGEVERSION=9.0.0.0
ODMVERSION=9.0.0.1
ODMIMAGEVERSION=9.0.0.1
# Directory name of the odm-ondocker checkout
ODMDOCKERDIR=docker

Expand All @@ -11,4 +11,4 @@ REPOSITORY=ibmcom
PREFIXIMAGE=odm

# Liberty Version
FROMLIBERTY=ibmcom/websphere-liberty:24.0.0.3-kernel-java17-openj9-ubi
FROMLIBERTY=icr.io/appcafe/websphere-liberty:24.0.0.9-kernel-java17-openj9-ubi
10 changes: 5 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Build and test
on: [push]
env:
DOCKER_COMPOSE_VERSION: 1.29.2
FROMLIBERTY: ibmcom/websphere-liberty:24.0.0.3-kernel-java11-openj9-ubi
FROMLIBERTY: ibmcom/websphere-liberty:24.0.0.9-kernel-java17-openj9-ubi
HELM_VERSION: 3.6.2
ODM_VERSION: 9.0.0.0
ODM_VERSION: 9.0.0.1
ODMDOCKERDIR: docker
ODMIMAGEVERSION: 8.12.0.1
ODMVERSION: 8.12.0.1-amd64
ODMIMAGEVERSION: 9.0.0.0
ODMVERSION: 9.0.0.1-amd64
PREFIXIMAGE: odm

jobs:
Expand All @@ -32,7 +32,7 @@ jobs:
run: tar zxfv helm.tar.gz && chmod 755 cv docker-compose linux-amd64/helm hey && sudo mv cv docker-compose linux-amd64/helm hey /usr/local/bin/
- run: docker-compose --version
- run: helm version
- run: cv lint helm charts/ibm-odm-metering -o charts/ibm-odm-metering/tests/lintOverride.yaml
- run: cv lint helm charts/ibm-odm-metering -o charts/ibm-odm-metering/tests/lintOverride.yaml --set license=accept
- run: bash download-odm.sh
env:
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To configure metering for use with IBM Automation Decision Services, see the fol

To troubleshoot faulty behavior:

- Ensure there is no HTTP port conflict that can prevent the service from starting.
- Ensure there is no HTTP port conflict that can prevent the service from starting.
- Check that the service is responding to HTTP requests, for example, load the root server URL (by default ```http://localhost:8888/```) with a browser.
- Check that the service is accessible from the server environment where the clients are configured.
- Review the client configuration and make sure that the settings are correct.
Expand Down
20 changes: 13 additions & 7 deletions charts/ibm-odm-metering/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
apiVersion: v1
apiVersion: v2
description: IBM Operational Decision Manager metering service
name: ibm-odm-metering
version: 24.0.0
appVersion: 9.0.0
version: 24.1.0
appVersion: 9.0.0.1
description: |-
IBM Operational Decision Manager for Developers
License
By installing this product you accept the following license terms: https://www14.software.ibm.com/cgi-bin/weblap/lap.pl?li_formnum=L-RBPW-WQTC4A
home: https://www.ibm.com/docs/en/odm/9.0.0
icon: https://raw.githubusercontent.com/ODMDev/ruledesigner/master/icons/automation-decision.png
sources:
Expand All @@ -11,12 +16,13 @@ keywords:
- OperationalDecisionManager
- businessrules
- Limited
- ICP
- RHOCP
- ROKS
- amd64
- s390x
- ppc64le
- ICPRHOCP
- Middleware
maintainers:
- name: ODMDev
tillerVersion: ">=2.9.1"
kubeVersion: ">= 1.24.0-0"
- name: IBM
kubeVersion: ">= 1.25.0-0"
4 changes: 2 additions & 2 deletions charts/ibm-odm-metering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ readOnlyRootFilesystem: false
requiredDropCapabilities:
- ALL
runAsUser:
type: MustRunAsNonRoot
type: MustRunAsRange
seccompProfiles:
- docker/default
seLinuxContext:
type: RunAsAny
type: MustRunAs
supplementalGroups:
type: MustRunAs
ranges:
Expand Down
19 changes: 10 additions & 9 deletions charts/ibm-odm-metering/RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ None
[Operational Decision Manager Interim Fixes](http://www.ibm.com/support/docview.wss?uid=swg21640630)

# Version History
| Chart | Date | Details |
| ----- | -------- | --------------------------------- |
| 24.0.0 | June 2024 | ODM 9.0.0 release - Support Kubernetes 1.25 or higher |
| 23.0.2 | Dec 2023 | ODM 8.12.0.1 release - Support Kubernetes 1.23 or higher |
| Chart | Date | Details |
|--------|-----------|----------------------------------------------------------|
| 24.1.0 | Dec 2024 | ODM 9.0.0.1 release |
| 24.0.0 | June 2024 | ODM 9.0.0 release - Support Kubernetes 1.25 or higher |
| 23.0.2 | Dec 2023 | ODM 8.12.0.1 release - Support Kubernetes 1.23 or higher |
| 23.0.1 | June 2023 | ODM 8.12.0.0 release - Support Kubernetes 1.23 or higher |
| 22.0.2 | Dec 2022 | ODM 8.11.1.0 release |
| 22.0.1 | June 2022 | ODM 8.11.0.1 release |
| 21.0.3 | Dec 2021 | ODM 8.11.0 release |
| 21.0.2 | June 2021 | ODM 8.10.5.1 release |
| 21.0.1 | 2021 | First release |
| 22.0.2 | Dec 2022 | ODM 8.11.1.0 release |
| 22.0.1 | June 2022 | ODM 8.11.0.1 release |
| 21.0.3 | Dec 2021 | ODM 8.11.0 release |
| 21.0.2 | June 2021 | ODM 8.10.5.1 release |
| 21.0.1 | 2021 | First release |
1 change: 1 addition & 0 deletions charts/ibm-odm-metering/templates/tests/test-pattern.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
{{ include "odm-additional-labels" . | indent 4 }}
annotations:
helm.sh/hook: test-success
productMetric: "FREE"
spec:
{{ include "odm-serviceAccountName" . | indent 2 }}
hostNetwork: false
Expand Down
4 changes: 3 additions & 1 deletion charts/ibm-odm-metering/tests/lintOverride.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ overrides:
- rule: ReadmeHasRequiredSections
reason: "Prefer to have cutomization section than configuration."
- rule: NoReadWriteMany
reason: "Needs to work on it. Too late for the 22.0.1 Release."
reason: "Needs to work on it. Too late for the 22.0.1 Release."
- rule: ContainerLivenessOverLongInitialDelaySeconds
reason: "Metering service take time to start"
2 changes: 1 addition & 1 deletion charts/ibm-odm-metering/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ license: ""
# Declare variables to be passed into your templates.
image:
repository: "icr.io/cpopen/odm-k8s"
tag: 9.0.0.0
tag: 9.0.0.1
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
Expand Down
Binary file added charts/stable/ibm-odm-metering-24.1.0.tgz
Binary file not shown.
37 changes: 33 additions & 4 deletions charts/stable/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
apiVersion: v1
entries:
ibm-odm-metering:
- apiVersion: v2
appVersion: 9.0.0.1
created: "2024-11-14T17:19:58.822586+01:00"
description: 'IBM Operational Decision Manager for Developers License By
installing this product you accept the following license terms: https://www14.software.ibm.com/cgi-bin/weblap/lap.pl?li_formnum=L-RBPW-WQTC4A'
digest: e9e5e1c776241aa632f62b7d8ab4507ce992468dd5366b8dd1ac69e35248f1e4
home: https://www.ibm.com/docs/en/odm/9.0.0
icon: https://raw.githubusercontent.com/ODMDev/ruledesigner/master/icons/automation-decision.png
keywords:
- OperationalDecisionManager
- businessrules
- Limited
- RHOCP
- ROKS
- amd64
- s390x
- ppc64le
- Middleware
kubeVersion: '>= 1.25.0-0'
maintainers:
- name: ODMDev
- name: IBM
name: ibm-odm-metering
sources:
- https://github.com/ODMDev/decisions-metering
urls:
- https://decisionsdev.github.io/decisions-metering/charts/stable/ibm-odm-metering-24.1.0.tgz
version: 24.1.0
- apiVersion: v1
appVersion: 9.0.0
created: "2024-06-11T13:37:54.179562+03:00"
created: "2024-11-14T17:19:58.821417+01:00"
description: IBM Operational Decision Manager metering service
digest: d860ee71da9ec8c8fe2de3f034ad8b21d01be4e62a8aea885486d6d1f15e78f9
home: https://www.ibm.com/docs/en/odm/9.0.0
Expand All @@ -12,6 +40,7 @@ entries:
- OperationalDecisionManager
- businessrules
- Limited
- ICP
- amd64
- s390x
- ppc64le
Expand All @@ -27,7 +56,7 @@ entries:
version: 24.0.0
- apiVersion: v1
appVersion: 8.12.0.1
created: "2024-06-11T13:37:54.178532+02:00"
created: "2024-11-14T17:19:58.820262+01:00"
description: IBM Operational Decision Manager metering service
digest: 02896c88de2ae97a9b31fa54a65b1c2845fcaae50aad3e25bd49ccbe6eb24a99
home: https://developer.ibm.com/odm/
Expand All @@ -52,7 +81,7 @@ entries:
version: 23.2.0
- apiVersion: v1
appVersion: 8.11.0.0
created: "2024-06-11T13:37:54.177038+02:00"
created: "2024-11-14T17:19:58.819111+01:00"
description: IBM Operational Decision Manager metering service
digest: c201c12f38caeee07efb38c37a06ed4d3cae3568b2ca2ed8cdf4533aa9e084a7
home: https://developer.ibm.com/odm/
Expand All @@ -75,4 +104,4 @@ entries:
urls:
- https://decisionsdev.github.io/decisions-metering/charts/stable/ibm-odm-metering-21.3.0.tgz
version: 21.3.0
generated: "2024-06-11T13:37:54.175185+02:00"
generated: "2024-11-14T17:19:58.817657+01:00"
2 changes: 1 addition & 1 deletion download-cv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -ex

GH_API=https://github.ibm.com/api/v3
GH_REPO=${GH_API}/repos/IBMPrivateCloud/content-verification
GH_LATEST=${GH_REPO}/releases/tags/v2.7.0
GH_LATEST=${GH_REPO}/releases/tags/v4.8.1
AUTH="Authorization: token ${GHE_TOKEN}"

response=$(curl --header "${AUTH}" --silent ${GH_LATEST})
Expand Down

0 comments on commit 5ba24b5

Please sign in to comment.