Skip to content

Commit

Permalink
upgrade app version (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz authored Jan 19, 2023
1 parent 955a4e4 commit d841ca4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
with:
version: v3.10.0

- run: helm repo add bitnami https://charts.bitnami.com/bitnami

- uses: actions/setup-python@v4
with:
python-version: '3.9'
Expand All @@ -40,11 +42,12 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
if: steps.list-changed.outputs.changed == 'true'

- name: Create kind cluster
uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
run: ct install
run: ct install --target-branch ${{ github.event.repository.default_branch }}
if: steps.list-changed.outputs.changed == 'true'
9 changes: 7 additions & 2 deletions charts/gorse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.0-alpha.1
version: 0.4.0-alpha.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.4.9
appVersion: 0.4.10

maintainers:
- name: zhenghaoz
email: [email protected]

dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
Expand Down
6 changes: 3 additions & 3 deletions charts/gorse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ The command removes all the Kubernetes components associated with the chart and
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `master.image.registry` | Gorse image registry | `docker.io` |
| `master.image.repository` | Gorse Master image repository | `zhenghaoz/gorse-master` |
| `master.image.tag` | Gorse Master image tag (immutable tags are recommended) | `0.4.9` |
| `master.image.tag` | Gorse Master image tag (immutable tags are recommended) | `0.4.10` |
| `master.image.digest` | Gorse Master image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
| `master.image.pullPolicy` | Gorse Master image pull policy | `IfNotPresent` |
| `master.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
Expand Down Expand Up @@ -173,7 +173,7 @@ The command removes all the Kubernetes components associated with the chart and
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `server.image.registry` | Gorse image registry | `docker.io` |
| `server.image.repository` | Gorse Server image repository | `zhenghaoz/gorse-server` |
| `server.image.tag` | Gorse Server image tag (immutable tags are recommended) | `0.4.9` |
| `server.image.tag` | Gorse Server image tag (immutable tags are recommended) | `0.4.10` |
| `server.image.digest` | Gorse Server image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
| `server.image.pullPolicy` | Gorse Server image pull policy | `IfNotPresent` |
| `server.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
Expand Down Expand Up @@ -227,7 +227,7 @@ The command removes all the Kubernetes components associated with the chart and
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------ |
| `worker.image.registry` | Gorse image registry | `docker.io` |
| `worker.image.repository` | Gorse Worker image repository | `zhenghaoz/gorse-worker` |
| `worker.image.tag` | Gorse Worker image tag (immutable tags are recommended) | `0.4.9` |
| `worker.image.tag` | Gorse Worker image tag (immutable tags are recommended) | `0.4.10` |
| `worker.image.digest` | Gorse Worker image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
| `worker.image.pullPolicy` | Gorse Worker image pull policy | `IfNotPresent` |
| `worker.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
Expand Down
2 changes: 2 additions & 0 deletions charts/gorse/templates/master/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ spec:
value: "{{ .Values.master.service.ports.http }}"
- name: GORSE_MASTER_JOBS
value: "{{ .Values.gorse.master.jobs }}"
- name: GORSE_CACHE_TABLE_PREFIX
value: {{ .Values.gorse.cache.prefix }}
- name: GORSE_TABLE_PREFIX
value: {{ .Values.gorse.database.prefix }}
- name: GORSE_CACHE_STORE
Expand Down
8 changes: 5 additions & 3 deletions charts/gorse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ gorse:
## @param gorse.cache.uri URI used to connect Gorse to the cache
## The current supported connectors are [redis, postgres, mongodb]
uri: ""
## @param gorse.cache.prefix Table prefix of cache
prefix: ""

database:
## @param gorse.database.uri URI used to connect Gorse to the database
Expand Down Expand Up @@ -172,7 +174,7 @@ master:
image:
registry: docker.io
repository: zhenghaoz/gorse-master
tag: 0.4.9
tag: 0.4.10
digest: ""
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -487,7 +489,7 @@ server:
image:
registry: docker.io
repository: zhenghaoz/gorse-server
tag: 0.4.9
tag: 0.4.10
digest: ""
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -758,7 +760,7 @@ worker:
image:
registry: docker.io
repository: zhenghaoz/gorse-worker
tag: 0.4.9
tag: 0.4.10
digest: ""
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down

0 comments on commit d841ca4

Please sign in to comment.