Skip to content

Commit 970bd40

Browse files
committed
Added general polder deployment with its dependencies.
1 parent 703b9b7 commit 970bd40

File tree

7 files changed

+113
-9
lines changed

7 files changed

+113
-9
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'

.gitignore

+39-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,41 @@
1-
.idea
2-
helm/Chart.lock
3-
.DS_STORE
1+
# Dependency directories
2+
node_modules/
3+
4+
# General files for the project
5+
pkg/*
6+
*.pyc
7+
bin/*
8+
.project
9+
/.bin
10+
/_test/secrets/*.json
11+
12+
# OSX leaves these everywhere on SMB shares
13+
._*
14+
15+
# OSX trash
416
.DS_Store
17+
.DS_STORE
518

6-
# Dependency directories
7-
node_modules/
19+
# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
20+
.idea/
21+
*.iml
22+
23+
# Vscode files
24+
.vscode
25+
26+
# Emacs save files
27+
*~
28+
\#*\#
29+
.\#*
30+
31+
# Vim-related files
32+
[._]*.s[a-w][a-z]
33+
[._]s[a-w][a-z]
34+
*.un~
35+
Session.vim
36+
.netrwhist
37+
38+
# Chart dependencies
39+
**/charts/*.tgz
40+
41+
.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.5.0
5+
- name: webapp-polder
6+
repository: file://../webapp-polder
7+
version: 0.1.0
8+
digest: sha256:7d2fa7cbafd56b2614fd50464e710584eac65bf1b64a2b644e9457a3f162567d
9+
generated: "2024-11-04T14:12:53.307694627+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.5.0
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: ""
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)