Skip to content

Commit

Permalink
Add Uwazi Chart (#66)
Browse files Browse the repository at this point in the history
* create uwazi chart

* [uwazi] update workload probes

* repo: add Helm repositories to GH actions

* [uwazi] update chart.yaml file

---------

Co-authored-by: George Khoury <[email protected]>
  • Loading branch information
thread-koder and thegbk authored Dec 9, 2024
1 parent e7050ef commit e0f710c
Show file tree
Hide file tree
Showing 11 changed files with 843 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,34 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.12.1

- uses: actions/setup-python@v4
with:
python-version: "3.10"
check-latest: true

- name: Add Repositories
run: |
helm repo add josa https://charts.josa.ngo/
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Set up chart-testing
uses: helm/[email protected]

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}

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

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
- name: Add Bitnami repository
- name: Add Repositories
run: |
helm repo add josa https://charts.josa.ngo/
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Run chart-releaser
Expand Down
23 changes: 23 additions & 0 deletions charts/uwazi/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
18 changes: 18 additions & 0 deletions charts/uwazi/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
dependencies:
- name: base
repository: https://charts.josa.ngo
version: 1.2.0
- name: mongodb
repository: https://charts.bitnami.com/bitnami
version: 16.3.1
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 20.4.0
- name: minio
repository: https://charts.bitnami.com/bitnami
version: 14.8.5
- name: elasticsearch
repository: https://charts.bitnami.com/bitnami
version: 21.3.26
digest: sha256:1cc25a26c5aa08bef6431383974910f02afd7569d2003321dddd5c0c89835b57
generated: "2024-12-03T14:57:43.716193377+03:00"
39 changes: 39 additions & 0 deletions charts/uwazi/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: v2
name: uwazi
annotations:
category: Applications
description: Uwazi helm chart
home: https://josa.ngo
icon: https://assets.josacdn.net/brand/josa/logos/abbreviated/josa-logo-only.png
keywords:
- uwazi
maintainers:
- name: JOSA
url: https://github.com/jordanopensource/charts/
sources:
- https://github.com/jordanopensource/charts/tree/main/charts/uwazi

version: 0.1.0
appVersion: "0.1.0"

dependencies:
- name: base
alias: uwazi
version: "~1.2.0"
repository: "https://charts.josa.ngo"
- name: mongodb
version: "~16.3.0"
repository: "https://charts.bitnami.com/bitnami"
condition: mongodb.create
- name: redis
version: "~20.4.0"
repository: "https://charts.bitnami.com/bitnami"
condition: redis.create
- name: minio
version: "~14.8.5"
repository: "https://charts.bitnami.com/bitnami"
condition: minio.create
- name: elasticsearch
version: "~21.3.26"
repository: "https://charts.bitnami.com/bitnami"
condition: elasticsearch.create
Binary file added charts/uwazi/charts/base-1.2.0.tgz
Binary file not shown.
Binary file added charts/uwazi/charts/elasticsearch-21.3.26.tgz
Binary file not shown.
Binary file added charts/uwazi/charts/minio-14.8.5.tgz
Binary file not shown.
Binary file added charts/uwazi/charts/mongodb-16.3.1.tgz
Binary file not shown.
Binary file added charts/uwazi/charts/redis-20.4.0.tgz
Binary file not shown.
Loading

0 comments on commit e0f710c

Please sign in to comment.