Skip to content

Commit

Permalink
release-1.23.0 (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbelyaev-nsk authored May 28, 2024
1 parent bb6da68 commit c0295d2
Show file tree
Hide file tree
Showing 46 changed files with 237 additions and 83 deletions.
46 changes: 46 additions & 0 deletions .github/scripts/check-readme.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/bash

set -e
set -u
set -o pipefail

# Define directories
SCRIPT_DIR="$( cd $(dirname "$0") ; pwd )"
REPO_PATH=$( git -C "$SCRIPT_DIR" rev-parse --show-toplevel )

cd "$REPO_PATH"

# Run the generator for each subdirectory in charts
for chart in charts/*; do
if [ -d "$chart" ]; then
echo "Building README for $chart..."
readme-generator --config="$REPO_PATH/bitnami-config.json" --values="$REPO_PATH/$chart/values.yaml" --readme="$REPO_PATH/$chart/README.md"
echo ""
fi
done

# Check for unsaved changes in the repository
IS_DIRTY=0
HAS_UNTRACKED=0

# Check for changes in README.md files in the working directory
git -C "$REPO_PATH" diff --name-only -- '*.md' | grep -q '.' && IS_DIRTY=1

# Check for changes in README.md files in the staging area
git -C "$REPO_PATH" diff --cached --name-only -- '*.md' | grep -q '.' && IS_DIRTY=1

# Check for untracked README.md files
git -C "$REPO_PATH" ls-files --others --exclude-standard -- '*.md' | grep -q '.' && HAS_UNTRACKED=1

RESULT=$(( IS_DIRTY + HAS_UNTRACKED ))

if [[ "$RESULT" -eq 0 ]]; then
echo -e '\033[0;32mDocumentation is up-to-date\033[0m'
else
echo -e '\033[0;31mYou need to update documentation: run `make prepare && make all`\033[0m'
echo 'Changed files:'
git status --porcelain | grep md
exit 1
fi

exit 0
32 changes: 32 additions & 0 deletions .github/workflows/check-readme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Check Readme Files

on:
pull_request:
branches:
- develop

jobs:
readme-validator:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js and npm
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install readme-generator-for-helm
run: |
git clone https://github.com/bitnami/readme-generator-for-helm
cd readme-generator-for-helm
npm install
npm install -g .
- name: Set up script permissions
run: chmod +x .github/scripts/check-readme.sh

- name: Run script
run: .github/scripts/check-readme.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
.DS_Store
readme-generator-for-helm
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# 2GIS On-Premise Changelog

## [1.23.0] (2024-05-28)
#### Images
```
navi-router
- navi-router:6.17.0.8
+ navi-router:6.17.1.2
pro-ui
- pro-ui:2.5.1
+ pro-ui:2.14.0
search-api
- search-api:7.74.0
+ search-api:7.76.1
tiles-api
- tiles-api-importer:4.52.9
+ tiles-api-importer:4.54.0
- tiles-api-proxy:4.52.9
+ tiles-api-proxy:4.54.0
- tiles-api:4.52.9
+ tiles-api:4.54.0
```

## [1.22.0] (2024-05-02)
#### [Breaking-Changes](Breaking-Changes.md#1220)
#### Images
Expand Down
2 changes: 1 addition & 1 deletion charts/catalog-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: catalog-api
type: application
description: A Helm chart for Kubernetes to deploy Catalog APIs

version: 1.22.0
version: 1.23.0
appVersion: 3.600.0

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/citylens/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: citylens
type: application
description: A Helm chart for Kubernetes to deploy Citylens service

version: 1.22.0
version: 1.23.0
appVersion: 1.8.0

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/citylens/templates/web/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ data:
{{- end }}
{{- end }}
predictors:
{{- toYaml .Values.kafka.predictorsExtraTopics | nindent 8 }}
{{- toYaml (.Values.kafka.predictorsExtraTopics | default list) | nindent 8 }}
2 changes: 1 addition & 1 deletion charts/dgtt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: dgtt
description: DGTT Helm chart for Kubernetes
type: application

version: 1.22.0
version: 1.23.0
appVersion: 0.2.27-b188673e09

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/floors-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: floors-api
description: Helm for floors service
type: application

version: 1.22.0
version: 1.23.0
appVersion: 1.0.4

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/generic-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Generic library Helm chart for 2Gis
type: library
keywords:
- library
version: 1.22.0
version: 1.23.0
maintainers:
- name: 2gis
url: https://github.com/2gis
Expand Down
2 changes: 1 addition & 1 deletion charts/gis-platform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: GIS Platform

type: application

version: 1.22.0
version: 1.23.0
appVersion: 2023.8.3-0

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Keycloak is a high performance Java-based identity and access manag
solution. It lets developers add an authentication layer to their applications with
minimum effort.

version: 1.22.0
version: 1.23.0
appVersion: 21.1.1-debian-11-r4

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/keys/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: keys
type: application
description: A Helm chart for Kubernetes to deploy API Keys service

version: 1.22.0
version: 1.23.0
appVersion: 1.79.0

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/license/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: license
type: application
description: A Helm chart for Kubernetes to deploy License service

version: 1.22.0
version: 1.23.0
appVersion: 2.2.1

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/mapgl-js-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Basic WebGL map chart template for 2GIS On-Premise

type: application

version: 1.22.0
version: 1.23.0
appVersion: 1.45.1

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-async-grpc-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- navi
- dm-async-matrix
- async-grpc-proxy
version: 1.22.0
version: 1.23.0
appVersion: 0.0.2
maintainers:
- name: 2gis
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-async-matrix/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Service implements asynchronous API over Distance Matrix

type: application

version: 1.22.0
version: 1.23.0
appVersion: 1.6.2

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-back/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- navi
- back
- backend
version: 1.22.0
version: 1.23.0
appVersion: 7.15.2.4
maintainers:
- name: 2gis
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-castle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Castle Helm chart for Kubernetes
type: application


version: 1.22.0
version: 1.23.0
appVersion: 1.9.2

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-front/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type: application
keywords:
- navi
- front
version: 1.22.0
version: 1.23.0
appVersion: 1.24.1
maintainers:
- name: 2gis
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-restrictions/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for Kubernetes to deploy Restrictions backend

type: application

version: 1.22.0
version: 1.23.0
appVersion: 1.24.1

maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/navi-router/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ type: application
keywords:
- navi
- router
version: 1.22.0
appVersion: 6.17.0.8
version: 1.23.0
appVersion: 6.17.1.2
maintainers:
- name: 2gis
url: https://github.com/2gis
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ See the [documentation](https://docs.2gis.com/en/on-premise/navigation) to learn
| Name | Description | Value |
| ------------------ | ----------- | ----------------------------- |
| `image.repository` | Repository | `2gis-on-premise/navi-router` |
| `image.tag` | Tag | `6.17.0.8` |
| `image.tag` | Tag | `6.17.1.2` |
| `image.pullPolicy` | Pull Policy | `IfNotPresent` |

### Navi-Router service settings
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-router/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ affinity: {}
image:
repository: 2gis-on-premise/navi-router
pullPolicy: IfNotPresent
tag: 6.17.0.8
tag: 6.17.1.2


# @section Navi-Router service settings
Expand Down
2 changes: 1 addition & 1 deletion charts/navi-splitter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ maintainers:
- name: 2gis
url: https://github.com/2gis
email: on-premise@2gis.com
version: 1.22.0
version: 1.23.0
appVersion: 1.0.1
2 changes: 1 addition & 1 deletion charts/platform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: platform
type: application
description: A Helm chart for Kubernetes to deploy Platform

version: 1.22.0
version: 1.23.0
appVersion: 0.8.1

maintainers:
Expand Down
12 changes: 5 additions & 7 deletions charts/platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ Use this Helm chart to deploy Platform service, which is a part of 2GIS's [On-Pr

### UI service settings

| Name | Description | Value |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| `ui.appPort` | Service port. | `3000` |
| `ui.brand` | Branding inside the app. Possible values: `"2gis"` or `"urbi"`. | `""` |
| `ui.pages` | A list of pages available in application. Values must be written with a comma. Possible values: `"status"`, `"playground"`. E.g. "status, playground". The first page in a list is the one a user's going to be redirected to from deactivated ones. | `""` |
| `ui.googleAnalyticsId` | An id for Google Analytics. | `""` |
| `ui.googleTagManagerId` | An id for Google Tag Manager. | `""` |
| Name | Description | Value |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| `ui.appPort` | Service port. | `3000` |
| `ui.brand` | Branding inside the app. Possible values: `"2gis"` or `"urbi"`. | `""` |
| `ui.pages` | A list of pages available in application. Values must be written with a comma. Possible values: `"status"`, `"playground"`. E.g. "status, playground". The first page in a list is the one a user's going to be redirected to from deactivated ones. | `""` |

### Statuses for services. A value is a string containing pairs of label and healthcheck URL for a service. Pairs must be divided with a comma. Each pair must be connected with a symbol "=", e.g. `mapgl: 'MapGL JS=https://example.com/healthcheck'`. URL must be an absolute. You can specify only one URL, e.g. `mapgl: 'https://example.com/healthcheck'`.

Expand Down
2 changes: 1 addition & 1 deletion charts/pro-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Geo API for getting geo data

type: application

version: 1.22.0
version: 1.23.0
appVersion: 1.11.2

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/pro-api/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @section Docker Registry settings
# @section Docker Registry settings

# @param dgctlDockerRegistry Docker Registry endpoint where On-Premise services' images reside. Format: `host:port`.

Expand Down
4 changes: 2 additions & 2 deletions charts/pro-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: pro-ui
type: application
description: A Helm chart for Kubernetes to deploy 2GIS Pro UI service

version: 1.22.0
appVersion: 2.5.1
version: 1.23.0
appVersion: 2.14.0

maintainers:
- name: 2gis
Expand Down
Loading

0 comments on commit c0295d2

Please sign in to comment.