Skip to content

Commit 72b8b68

Browse files
committed
Added general polder deployment with its dependencies.
1 parent 8027c3c commit 72b8b68

File tree

7 files changed

+111
-4
lines changed

7 files changed

+111
-4
lines changed

.github/workflows/check_charts.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Check Version
2626
run: |
2727
current_version=$(grep '^version=' pyproject.toml | cut -f2 -d= | tr -d ' ' | tr -d '"')
28-
app_version=$(grep 'appVersion:' deployment/helm/Chart.yaml | cut -f2 -d: | tr -d ' ' | tr -d '"')
28+
app_version=$(grep 'appVersion:' deployment/helm/polder/Chart.yaml | cut -f2 -d: | tr -d ' ' | tr -d '"')
2929
if [[ "$current_version" != "$app_version" ]]; then
3030
echo "❌ current version from pyproject.toml ($current_version) and appVersion from Chart.yaml ($app_version) differs";
3131
exit 1;
@@ -74,4 +74,4 @@ jobs:
7474

7575
- name: Run chart-testing (install)
7676
run: ct install --chart-dirs deployment/k8s
77-
if: steps.list-changed.outputs.changed == 'true'
77+
if: steps.list-changed.outputs.changed == 'true'

deployment/helm/.gitignore

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# General files for the project
2+
pkg/*
3+
*.pyc
4+
bin/*
5+
.project
6+
/.bin
7+
/_test/secrets/*.json
8+
9+
# OSX leaves these everywhere on SMB shares
10+
._*
11+
12+
# OSX trash
13+
.DS_Store
14+
15+
# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
16+
.idea/
17+
*.iml
18+
19+
# Vscode files
20+
.vscode
21+
22+
# Emacs save files
23+
*~
24+
\#*\#
25+
.\#*
26+
27+
# Vim-related files
28+
[._]*.s[a-w][a-z]
29+
[._]s[a-w][a-z]
30+
*.un~
31+
Session.vim
32+
.netrwhist
33+
34+
# Chart dependencies
35+
**/charts/*.tgz
36+
37+
.history

deployment/helm/polder/.helmignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

deployment/helm/polder/Chart.lock

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dependencies:
2+
- name: eoapi
3+
repository: https://devseed.com/eoapi-k8s/
4+
version: 0.4.17
5+
- name: webapp-polder
6+
repository: file://../webapp-polder
7+
version: 0.1.0
8+
digest: sha256:42a9ad509dc7c456f1d479cff6085182c439b28d02a50497dc5de373b8d89247
9+
generated: "2024-10-28T17:29:59.493228222+01:00"

deployment/helm/polder/Chart.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: v2
2+
name: polder
3+
description: Create a polder - Web AOI viewer - instance.
4+
5+
type: application
6+
7+
# This is the chart version. This version number should be incremented each time you make changes
8+
# to the chart and its templates, including the app version.
9+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10+
version: 0.1.0
11+
12+
# This is the version number of the application being deployed. This version number should be
13+
# incremented each time you make changes to the application. Versions are not expected to
14+
# follow Semantic Versioning. They should reflect the version the application is using.
15+
# It is recommended to use it with quotes.
16+
appVersion: "0.2.0"
17+
18+
dependencies:
19+
- name: eoapi
20+
version: 0.4.17
21+
repository: "https://devseed.com/eoapi-k8s/"
22+
- name: webapp-polder
23+
version: 0.1.0
24+
repository: file://../webapp-polder

deployment/helm/polder/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Default values for polder.
2+
# This is a YAML-formatted file.
3+
# Declare variables to be passed into your templates.
4+
5+
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
6+
replicaCount: 1
7+
8+
# This is to override the chart name.
9+
nameOverride: "polder"
10+
fullnameOverride: "test-polder"
11+
12+
# polder custom configuration
13+
mapboxToken: "pk.eyJ0IjoiZGV2c2VlZCIsImEiOiJnUi1mbkVvIn0.018aLhX0Mb0tdtaT2QNe2Q"
14+
stacApi: "https://rx2hna9pbg.execute-api.eu-central-1.amazonaws.com"
15+
tilerApi: "https://zbrrek2x0i.execute-api.eu-central-1.amazonaws.com"

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.12",
3232
"Topic :: Scientific/Engineering :: GIS",
3333
]
34-
version="0.0.1"
34+
version="0.2.0"
3535
dependencies = [
3636
]
3737

@@ -41,4 +41,3 @@ Documentation = "https://developmentseed.org/polder/"
4141
Issues = "https://github.com/developmentseed/polder/issues"
4242
Source = "https://github.com/developmentseed/polder"
4343
Changelog = "https://developmentseed.org/polder/release-notes/"
44-

0 commit comments

Comments
 (0)