Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
dafbbdc
feat(picasso): Hide unused categories in print
google-labs-jules[bot] Aug 21, 2025
9277835
Merge pull request #1 from NelsStorch/feature/hide-unused-picasso-cat…
NelsStorch Sep 4, 2025
f9fa45e
Update picasso.spec.json.snap
NelsStorch Sep 4, 2025
30a1c80
Delete pdf/src/renderer/__tests__/__snapshots__/picasso_filtered_cate…
NelsStorch Sep 4, 2025
913a108
Merge branch 'devel' into devel
NelsStorch Sep 4, 2025
0a16651
refactor/CD: rewrite .ops/ops-dashboard to helmfile
BacLuc Sep 11, 2025
774f85a
ops-dashboard: use GRAFANA_PROXY_HOST for whitelist-domain
BacLuc Sep 11, 2025
0fb5507
add setup helmfile
BacLuc Sep 11, 2025
e13a2a9
ops-dashboard: revert oauth2-proxy back to v7.18.0
BacLuc Sep 11, 2025
ce6a9f4
chore(deps): update actions/setup-node action to v5
renovate[bot] Sep 25, 2025
596ebb5
chore(deps): update dependency phpstan/phpstan to v2.1.29
renovate[bot] Oct 3, 2025
b8641df
Fix deployment PR summary again
carlobeltrame Oct 4, 2025
e62a976
Update snapshot
simfeld Oct 4, 2025
2044a8a
Merge branch 'devel' into feat/hide-unused-categories
simfeld Oct 4, 2025
ad65ba4
New translations en.json (German, Switzerland)
ecampbot Oct 4, 2025
f61a664
Hide unused categories in nuxt print
simfeld Oct 4, 2025
685b051
Update snapshot again
simfeld Oct 4, 2025
3968a51
Merge pull request #8275 from carlobeltrame/replace-deployment-pr-des…
pmattmann Oct 4, 2025
2f1784d
api: fix deprecation "the kernel will not always be booted when a new…
BacLuc Sep 15, 2025
c0eaf7e
Merge pull request #8183 from BacLuc/api-try-not-reboot-on-create-client
BacLuc Oct 4, 2025
8a6b275
Merge pull request #8277 from simfeld/feat/hide-unused-categories
pmattmann Oct 4, 2025
07678f6
ContentNodes-Endpoint requires filter on camp or period.
pmattmann Oct 4, 2025
4b057e4
run phpcsfixer parallel
pmattmann Oct 4, 2025
8f9a00d
remove response snapshot for /content_nodes
pmattmann Oct 4, 2025
ea28a37
Merge pull request #8280 from pmattmann/feature/content-node-endpoint…
pmattmann Oct 4, 2025
56c04a2
ChecklistItem-Endpoint requires filter on camp, checklist or checklis…
pmattmann Oct 4, 2025
ab375da
add snapshot-test for filtered endpoint
pmattmann Oct 4, 2025
beda189
MaterialItem-Endpoint requires filter on camp, period, materialList o…
pmattmann Oct 4, 2025
a4a88a9
add snapshot-test for filtered endpoint
pmattmann Oct 4, 2025
55cea75
add throws-documentation
pmattmann Oct 4, 2025
cda61ae
Merge pull request #8101 from ecamp/renovate/actions-setup-node-5.x
BacLuc Oct 4, 2025
692713e
fix BadRequest Message
pmattmann Oct 5, 2025
3312143
Merge pull request #8284 from pmattmann/feature/material-items-endpoi…
pmattmann Oct 5, 2025
3ca38ad
Merge pull request #8269 from ecamp/l10n_devel
carlobeltrame Oct 5, 2025
2b0099c
Merge pull request #8281 from pmattmann/feature/php-cs-fixer-runner-p…
pmattmann Oct 5, 2025
5d49d01
Add ContentNodeCollectionProvider to all ContentNode-Entities
pmattmann Oct 4, 2025
fdd7ff7
fix unittest - not very nice
pmattmann Oct 5, 2025
6e5a71d
cs-fix
pmattmann Oct 5, 2025
44f6644
allow contentNodes filtered by root
pmattmann Oct 5, 2025
8b4453d
add tests for filtered content-node-endpoints
pmattmann Oct 5, 2025
6dea851
Merge pull request #8286 from pmattmann/fix/allow-contentnode-filtere…
pmattmann Oct 5, 2025
7f9370d
Merge pull request #8226 from ecamp/renovate/phpstan-packages
renovate[bot] Oct 5, 2025
f20ee1b
Merge pull request #8285 from pmattmann/feature/content-nodes-endpoin…
pmattmann Oct 5, 2025
30a6916
Merge pull request #8161 from BacLuc/rewrite-deploy-ops-dashboard
BacLuc Oct 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '24.8.0'

Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '24.8.0'

Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '24.8.0'

Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '24.8.0'

Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '24.8.0'

Expand Down Expand Up @@ -394,7 +394,7 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '24.8.0'

Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '24.8.0'

Expand Down
48 changes: 29 additions & 19 deletions .github/workflows/deploy-ops-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ on:
workflow_dispatch:
inputs:
environment:
description: 'Choose environment'
description: "Choose environment"
type: environment
required: true
default: "ops-dashboard-dev"
action:
description: "Choose action"
type: choice
required: true
default: diff
options:
- diff
- deploy

jobs:
deploy-ops-dashboard:
Expand All @@ -26,40 +33,43 @@ jobs:

- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- name: Dump secrets to .env
- name: Dump secrets to /tmp/secrets.yaml
run: |
echo '${{ toJSON(secrets) }}' | jq -r 'keys[] as $k | select(.[$k] |contains("\n") | not) | "\($k)=\"\(.[$k])\""' >> .env
working-directory: .ops/ops-dashboard
cat << 'EOF' | tee -a /tmp/secrets.yaml
${{ toJSON(secrets) }}
EOF
jq '.' /tmp/secrets.yaml

- name: Dump variables to .env
run: |
echo '${{ toJSON(vars) }}' | jq -r 'keys[] as $k | select(.[$k] |contains("\n") | not) | "\($k)=\"\(.[$k])\""' >> .env
working-directory: .ops/ops-dashboard
- name: Dump variables to /tmp/env.yaml
run: |
cat << 'EOF' | tee -a /tmp/env.yaml
${{ toJSON(vars) }}
EOF
jq '.' /tmp/env.yaml

- name: Show .env for debugging
run: echo "$(cat .env | sort)"
- name: Merge secrets and variables
run: |
jq -s '.[0] + .[1]' /tmp/secrets.yaml /tmp/env.yaml > env.yaml
jq '.' env.yaml
working-directory: .ops/ops-dashboard

- name: Setup helm
run: |
mkdir ~/.kube && echo '${{ secrets.KUBECONFIG }}' > ~/.kube/config && chmod go-r ~/.kube/config

- name: Add helm repositories
run: |
helm repo add oauth2-proxy https://oauth2-proxy.github.io/manifests
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm repo update
- uses: ./.github/actions/setup-helmfile

- name: Diff deployment
run: |
./deploy.sh diff || true
working-directory: .ops/ops-dashboard
- name: Show values.out.yaml
run: cat values.out.yaml

- name: Show values.yaml
run: cat values.yaml
working-directory: .ops/ops-dashboard

- name: Deploy
if: ${{ github.event.inputs.action == 'deploy' }}
run: |
./deploy.sh deploy
working-directory: .ops/ops-dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
regex: ".*"
regexFlags: s
content: |
### <span aria-hidden="true">🏗️</span> Changes in this deployment

Expand Down
2 changes: 2 additions & 0 deletions .ops/ops-dashboard/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/.env
/charts
/env.yaml
/values.yaml
/values.out.yaml
10 changes: 5 additions & 5 deletions .ops/ops-dashboard/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
dependencies:
- name: oauth2-proxy
repository: https://oauth2-proxy.github.io/manifests
version: 8.2.0
version: 7.18.0
- name: kubernetes-dashboard
repository: https://kubernetes.github.io/dashboard/
version: 7.13.0
- name: oauth2-proxy
repository: https://oauth2-proxy.github.io/manifests
version: 8.2.0
version: 7.18.0
- name: oauth2-proxy
repository: https://oauth2-proxy.github.io/manifests
version: 8.2.0
digest: sha256:142da8fd57bc6a24ca609e3ad8a4dfb1cca54f5fda7972dea16ad14477d3dcec
generated: "2025-08-24T16:31:56.7842085Z"
version: 7.18.0
digest: sha256:d119e0b8ffb14fc7aee209549ea98ee92c80eefe64a20f4b48a5a7b193efc9c6
generated: "2025-08-14T11:03:55.532011762Z"
6 changes: 3 additions & 3 deletions .ops/ops-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ appVersion: 0.1.0
dependencies:
- name: oauth2-proxy
alias: grafana-proxy
version: 8.2.0
version: 7.18.0
repository: https://oauth2-proxy.github.io/manifests
- name: kubernetes-dashboard
version: 7.13.0
repository: https://kubernetes.github.io/dashboard/
- name: oauth2-proxy
alias: kubernetes-dashboard-proxy
version: 8.2.0
version: 7.18.0
repository: https://oauth2-proxy.github.io/manifests
- name: oauth2-proxy
alias: logging-proxy
version: 8.2.0
version: 7.18.0
repository: https://oauth2-proxy.github.io/manifests
17 changes: 5 additions & 12 deletions .ops/ops-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,12 @@ to see our applications like graphana, kibana, kubernetes-dashboard...

## Prerequisites

You need the oauth2-proxy helm chart:
First you need to have the following dependencies:

```shell
helm repo add oauth2-proxy https://oauth2-proxy.github.io/manifests
helm repo update
```

You also need the kubernetes-dashboard helm chart:

```shell
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm repo update
```
- jq
- kubectl (with a kubeconfig for the cluster you want to deploy to)
- helm
- helmfile

## Deployment

Expand Down
23 changes: 13 additions & 10 deletions .ops/ops-dashboard/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,25 @@ set -ea
SCRIPT_DIR=$(realpath "$(dirname "$0")")
cd $SCRIPT_DIR

. $SCRIPT_DIR/.env
action=${1:-diff}

envsubst < $SCRIPT_DIR/values.yaml > $SCRIPT_DIR/values.out.yaml
helmfile deps
helmfile write-values --environment default --output-file-template values.yaml

helm dep build

if [ $1 = "deploy" ]; then
if [ "$action" = "deploy" ]; then
# to debug: --dry-run --debug
helm upgrade --install ops-dashboard --namespace=ops-dashboard --create-namespace $SCRIPT_DIR --values $SCRIPT_DIR/values.out.yaml
helm upgrade --install ops-dashboard \
--namespace=ops-dashboard \
--create-namespace \
"$SCRIPT_DIR" \
--values "$SCRIPT_DIR/values.yaml"
exit 0
fi

if [ $1 = "diff" ]; then
if [ "$action" = "diff" ]; then
helm template \
--namespace ops-dashboard --no-hooks --skip-tests ops-dashboard \
$SCRIPT_DIR \
--values $SCRIPT_DIR/values.out.yaml | kubectl diff --namespace ops-dashboard -f -
--namespace ops-dashboard --no-hooks --skip-tests ops-dashboard \
"$SCRIPT_DIR" \
--values "$SCRIPT_DIR/values.yaml" | kubectl diff --namespace ops-dashboard -f -
exit 0
fi
12 changes: 12 additions & 0 deletions .ops/ops-dashboard/env.example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"COOKIE_SECRET": ,
"GRAFANA_PROXY_HOST": ,
"GRAFANA_PROXY_OAUTH_CLIENT_ID": ,
"GRAFANA_PROXY_OAUTH_CLIENT_SECRET": ,
"KUBERNETES_DASHBOARD_PROXY_HOST": ,
"KUBERNETES_DASHBOARD_PROXY_OAUTH_CLIENT_ID": ,
"KUBERNETES_DASHBOARD_PROXY_OAUTH_CLIENT_SECRET": ,
"LOGGING_PROXY_HOST": ,
"LOGGING_PROXY_OAUTH_CLIENT_ID": ,
"LOGGING_PROXY_OAUTH_CLIENT_SECRET":
}
16 changes: 16 additions & 0 deletions .ops/ops-dashboard/helmfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
environments:
default:
values:
- ./env.yaml
---
repositories:
- name: oauth2-proxy
url: https://oauth2-proxy.github.io/manifests
- name: kubernetes-dashboard
url: https://kubernetes.github.io/dashboard/

releases:
- name: ""
chart: .
values:
- ./values.yaml.gotmpl
58 changes: 0 additions & 58 deletions .ops/ops-dashboard/values.yaml

This file was deleted.

Loading
Loading