Skip to content

Commit

Permalink
Fix error when name of some resources was longer than 63 characters
Browse files Browse the repository at this point in the history
Signed-off-by: michal.gubricky <michal.gubricky@dnation.cloud>
  • Loading branch information
michal-gubricky committed Sep 2, 2024
1 parent b00efbe commit 4f9a7bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/ct-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

# See https://github.com/helm/chart-testing#configuration
chart-dirs:
- dnation-kubernetes-monitoring-stack
charts: dnation-kubernetes-monitoring-stack
- dnation-monitoring
charts: dnation-monitoring
chart-repos:
- prometheus=https://prometheus-community.github.io/helm-charts
- grafana=https://grafana.github.io/helm-charts
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/ci-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
name: Test Chart with k8s versions

on:
pull_request: # Add this to trigger on PRs
branches:
- main # Specify the target branch for the PR
# schedule:
# # Run every 2 weeks
# - cron: "0 0 1,15 * *"
schedule:
# Run every 2 weeks
- cron: "0 0 1,15 * *"

jobs:
test-chart:
Expand Down Expand Up @@ -68,6 +65,7 @@ jobs:
echo ${{ steps.semver.outputs.version }}
wget https://dnationcloud.github.io/helm-hub/dnation-kubernetes-monitoring-stack-${{ steps.highest-patch.outputs.version }}.tgz
tar -xvf dnation-kubernetes-monitoring-stack-${{ steps.highest-patch.outputs.version }}.tgz
mv dnation-kubernetes-monitoring-stack dnation-monitoring
- name: Create kind ${{ matrix.k8s-version }} cluster
uses: helm/kind-action@v1.10.0
Expand All @@ -80,4 +78,4 @@ jobs:

- name: Run chart-testing (install)
run: |
ct install --helm-extra-set-args "--set loki.ci=true" --config .github/ct-scheduled.yaml
ct install --config .github/ct-scheduled.yaml --helm-extra-set-args "--set loki.ci=true"

0 comments on commit 4f9a7bc

Please sign in to comment.