feat(spegel): BREAKING CHANGE move to custom spegel chart (#28077)

**Description**
Add our own Spegel chart

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [x] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Kjeld Schouten
2024-10-20 17:08:32 +02:00
committed by GitHub
parent e19713feba
commit 0c4009680c
17 changed files with 1879 additions and 83 deletions
+12 -12
View File
@@ -93,7 +93,7 @@ jobs:
- name: Fix Pre-Commit issues
shell: bash
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
run: |
echo "Running pre-commit test-and-cleanup..."
pre-commit run --all ||:
@@ -101,7 +101,7 @@ jobs:
find . -name '*.sh' | xargs chmod +x
- name: Install Helm
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # tag=v3
with:
version: v3.14.0
@@ -145,7 +145,7 @@ jobs:
run: helm registry logout quay.io
- name: Copy docs to website
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
shell: bash
run: |
#!/bin/bash
@@ -196,7 +196,7 @@ jobs:
- name: Prefetch contributor icons
shell: bash
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
run: |
#!/bin/bash
@@ -221,7 +221,7 @@ jobs:
#done < src/assets/contributors.json
- name: Setup astro Cache
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
with:
# Cache for build and optimized images.
@@ -230,7 +230,7 @@ jobs:
restore-keys: astro-
- name: Setup npm Cache
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
with:
# Cache for npm
@@ -240,7 +240,7 @@ jobs:
- name: Setup node_modules Cache
id: modulescache
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
with:
# Cache for npm and optimized images.
@@ -254,19 +254,19 @@ jobs:
node-version-file: ./website/.nvmrc
- name: Install Packages
if: steps.modulescache.outputs.cache-hit != 'true' && needs.check_changes.outputs.changes_detected == 'true'
if: steps.modulescache.outputs.cache-hit != 'true' && needs.check_changes.outputs.changes_detected == 'true'
run: cd website && npm ci
- name: Check
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
run: cd website && npm run check
- name: Build
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
run: cd website && npm run build
- name: Publish to Cloudflare Pages
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
id: cloudflare
continue-on-error: true
uses: cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca # v1
@@ -299,5 +299,5 @@ jobs:
---
- name: Release-and-Website Completed
if: needs.check_changes.outputs.changes_detected == 'true'
if: needs.check_changes.outputs.changes_detected == 'true'
run: echo "DONE"
+79
View File
@@ -151,6 +151,19 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Update containerd config
if: contains(matrix.chart, 'Spegel')
run: |
sudo mkdir -p /var/lib/rancher/k3s/agent/etc/containerd/
sudo tee /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl > /dev/null <<EOL
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/var/lib/rancher/k3s/agent/etc/containerd/certs.d"
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
disable_snapshot_annotations = true
discard_unpacked_layers = false
EOL
- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with:
@@ -210,6 +223,19 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Update containerd config
if: contains(matrix.chart, 'Spegel')
run: |
sudo mkdir -p /var/lib/rancher/k3s/agent/etc/containerd/
sudo tee /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl > /dev/null <<EOL
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/var/lib/rancher/k3s/agent/etc/containerd/certs.d"
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
disable_snapshot_annotations = true
discard_unpacked_layers = false
EOL
- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with:
@@ -269,6 +295,19 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Update containerd config
if: contains(matrix.chart, 'Spegel')
run: |
sudo mkdir -p /var/lib/rancher/k3s/agent/etc/containerd/
sudo tee /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl > /dev/null <<EOL
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/var/lib/rancher/k3s/agent/etc/containerd/certs.d"
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
disable_snapshot_annotations = true
discard_unpacked_layers = false
EOL
- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with:
@@ -328,6 +367,19 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Update containerd config
if: contains(matrix.chart, 'Spegel')
run: |
sudo mkdir -p /var/lib/rancher/k3s/agent/etc/containerd/
sudo tee /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl > /dev/null <<EOL
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/var/lib/rancher/k3s/agent/etc/containerd/certs.d"
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
disable_snapshot_annotations = true
discard_unpacked_layers = false
EOL
- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with:
@@ -387,6 +439,20 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Update containerd config
if: contains(matrix.chart, 'Spegel')
run: |
sudo mkdir -p /var/lib/rancher/k3s/agent/etc/containerd/
sudo mkdir -p /var/lib/rancher/k3s/agent/etc/containerd/certs.d/
sudo tee /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl > /dev/null <<EOL
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/var/lib/rancher/k3s/agent/etc/containerd/certs.d"
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
disable_snapshot_annotations = true
discard_unpacked_layers = false
EOL
- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with:
@@ -446,6 +512,19 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Update containerd config
if: contains(matrix.chart, 'Spegel')
run: |
sudo mkdir -p /var/lib/rancher/k3s/agent/etc/containerd/
sudo tee /var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl > /dev/null <<EOL
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/var/lib/rancher/k3s/agent/etc/containerd/certs.d"
[plugins."io.containerd.grpc.v1.cri".containerd]
snapshotter = "overlayfs"
disable_snapshot_annotations = true
discard_unpacked_layers = false
EOL
- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with: