Skip to content

Commit

Permalink
May 2020 release drop
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Pegoraro committed May 22, 2020
1 parent 11f72e7 commit ae0272a
Show file tree
Hide file tree
Showing 35 changed files with 682 additions and 19,813 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity
package-lock.json
2 changes: 2 additions & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/pages/index.mdx
node_modules/
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@ install:
- npm install

script:
- markdownlint **/*.mdx --ignore src/pages/index.mdx
- markdownlint **/*.mdx
- gatsby build --prefix-paths

deploy:
- provider: pages
skip_cleanup: true
local_dir: public
github_token: $GITHUB_TOKEN
github_url: github.com
github_url: github.ibm.com
committer_from_gh: true
target_branch: gh-pages
on:
branch: master
- provider: pages
skip_cleanup: true
local_dir: public
repo: wh-curamspm-devops/vnext-assets
github_token: $GITHUB_TOKEN
github_url: github.ibm.com
committer_from_gh: true
target_branch: master
on:
branch: next-release
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog
All notable changes to this project will be documented in this file.

## v20.5.0 Changes

### Changes by kind

#### Defects/Issues

* [helm commands not working.](https://github.com/IBM/spm-kubernetes/issues/6)
* [ChartMuseum links broken.](https://github.com/IBM/spm-kubernetes/issues/7)
* [Documentation correction for license check.](https://github.com/IBM/spm-kubernetes/issues/10)
* [Helm dependency for ce-app needs conditional adding.](https://github.com/IBM/spm-kubernetes/issues/13)
* [CE Ingress controller Rules created when the Application isn't deployed.](https://github.com/IBM/spm-kubernetes/issues/14)
* [Duplicate ihs elements in spm/values.yaml.](https://github.com/IBM/spm-kubernetes/issues/15)
* Addition of heapSize parameter in batch chart to allow for custom heap size specification.


#### Other

* Document how to build and push images to IBM Cloud Container Registry.
* Add documentation on repositories, runbook URLS, and release process.
2 changes: 1 addition & 1 deletion helm-charts/batch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
apiVersion: v1
name: batch
description: Batch Chart for SPM Batch within a Kubernetes Cluster
version: 1.1.1
version: 1.2.0
maintainers:
- name: Cúram SPM Dev Team
url: https://github.com/IBM/spm-kubernetes
Expand Down
12 changes: 12 additions & 0 deletions helm-charts/batch/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@ Build up full image path
batch:{{- .imageTag -}}
{{- end -}}

{{/*
Build up Ant Options for general and JMS Stats configuration
*/}}
{{- define "antOpts" }}
{{- if ($.Values.global.batch.javaMetrics) ($.Values.global.batch.javaMetrics.antOpts) -}}
{{- $.Values.global.batch.javaMetrics.antOpts -}}
{{- end }}
{{- if ($.Values.global.batch.javaMetrics) ($.Values.global.batch.javaMetrics.heapSize) -}}
{{- $.Values.global.batch.javaMetrics.heapSize -}}
{{- end }}
{{- end }}

{{/*
Common labels
*/}}
Expand Down
1 change: 1 addition & 0 deletions helm-charts/batch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ global:
programParameters: ""
# javaMetrics:
# antOpts: "-Xgcpolicy:gencon -Xverbosegclog:/tmp/GCLogs_chunker.log"
# heapSize: "-Xms512m -Xmx512m"
# timer: "-Dcuram.jmx.output_statistics_timer_enabled=true"
# timerFolder: "-Dcuram.jmx.output_statistics_timer_folder=/tmp"
# timerPeriod: "-Dcuram.jmx.output_statistics_timer_period=60000"
2 changes: 1 addition & 1 deletion helm-charts/ce-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
apiVersion: v1
name: ce-app
description: Helm Chart for deploying the Universal Access React application
version: 1.0.0
version: 1.1.0
maintainers:
- name: Cúram SPM Dev Team
url: https://github.com/IBM/spm-kubernetes
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/ce-app/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- with .Values.global.ceApp }}
{{- if .imageName }}
---
###############################################################################
# Copyright 2019,2020 IBM Corporation
Expand Down Expand Up @@ -85,4 +86,5 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions helm-charts/ce-app/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.global.ceApp.imageName }}
---
###############################################################################
# Copyright 2019,2020 IBM Corporation
Expand Down Expand Up @@ -32,3 +33,4 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ce-app.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
2 changes: 1 addition & 1 deletion helm-charts/ce-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ global:
ceApp:
replicaCount: 1
imageLibrary: ''
imageName: ce-ihs
imageName: ''
imageTag: latest
ingressPath: /universal
readinessPath: /universal
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/spm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
apiVersion: v1
name: spm
description: Umbrella Helm Chart for Full Curam Deployment of SPM within a Kubernetes Cluster
version: 1.2.0
version: 1.3.0
maintainers:
- name: Cúram SPM Dev Team
url: https://github.com/IBM/spm-kubernetes
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/spm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
servicePort: {{ $.Values.global.apps.common.port }}
{{- end }}
{{- end }}
{{- if .Values.global.ceApp.imageTag }}
{{- if .Values.global.ceApp.imageName }}
- path: {{ .Values.global.ceApp.ingressPath | default "/universal" }}
backend:
serviceName: {{ $.Release.Name }}-ce-app
Expand Down
13 changes: 6 additions & 7 deletions helm-charts/spm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
###############################################################################

global:
batch:
javaMetrics:
heapSize: "-Xms512m -Xmx512m"
images:
registry: &imageRegistry us.icr.io
imageLibrary: ''
Expand All @@ -26,16 +29,17 @@ global:
ceApp:
replicaCount: 1
imageLibrary: ''
imageName: ce-ihs
imageName: ''
imageTag: latest
ingressPath: /universal
resources: {}
ihs:
serviceType: NodePort
runAs: 1000
replicaCount: 1
resources: {}
readinessPath: /CuramStatic
ingressPath: /CuramStatic
resources: {}
database:
## Database connection configuration
# The property wlp_psw: contains the XOR password injected in the Liberty configuration
Expand Down Expand Up @@ -230,11 +234,6 @@ global:
limits:
cpu: 0.75
memory: 1Gi
ihs:
serviceType: NodePort
config:
readinessPath: /CuramStatic
ingressPath: /CuramStatic
openldap:
enabled: false
identityOnly: false
Expand Down
Loading

0 comments on commit ae0272a

Please sign in to comment.