Merge branch 'main' into feat/dashboard-fleet-merge
This commit is contained in:
73
.github/dependabot.yml
vendored
73
.github/dependabot.yml
vendored
@@ -1,5 +1,9 @@
|
||||
# Dependabot configuration
|
||||
# Docs: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
||||
#
|
||||
# Grouping policy: collapse all minor+patch bumps into ONE PR per ecosystem so
|
||||
# the review queue stays small; majors get their own grouped PR per ecosystem so
|
||||
# breaking changes still get individual scrutiny.
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
@@ -19,47 +23,17 @@ updates:
|
||||
- "dependencies"
|
||||
- "javascript"
|
||||
groups:
|
||||
# Keep TanStack libs in lockstep — they release as a family
|
||||
tanstack:
|
||||
npm-minor-patch:
|
||||
patterns:
|
||||
- "@tanstack/*"
|
||||
# Tauri JS bindings
|
||||
tauri:
|
||||
- "*"
|
||||
update-types:
|
||||
- "minor"
|
||||
- "patch"
|
||||
npm-major:
|
||||
patterns:
|
||||
- "@tauri-apps/*"
|
||||
# Test stack
|
||||
testing:
|
||||
patterns:
|
||||
- "vitest"
|
||||
- "@vitest/*"
|
||||
- "@testing-library/*"
|
||||
- "jsdom"
|
||||
- "@playwright/*"
|
||||
# Build/lint tooling
|
||||
tooling:
|
||||
patterns:
|
||||
- "@biomejs/*"
|
||||
- "turbo"
|
||||
- "vite"
|
||||
- "@vitejs/*"
|
||||
- "typescript"
|
||||
# React core
|
||||
react:
|
||||
patterns:
|
||||
- "react"
|
||||
- "react-dom"
|
||||
- "@types/react"
|
||||
- "@types/react-dom"
|
||||
# Semantic-release ecosystem
|
||||
semantic-release:
|
||||
patterns:
|
||||
- "semantic-release"
|
||||
- "@semantic-release/*"
|
||||
# Commitlint + husky
|
||||
commit-tooling:
|
||||
patterns:
|
||||
- "@commitlint/*"
|
||||
- "husky"
|
||||
- "*"
|
||||
update-types:
|
||||
- "major"
|
||||
|
||||
# ─── Rust / Cargo (Tauri desktop shell) ───────────────────────────────────
|
||||
- package-ecosystem: "cargo"
|
||||
@@ -77,16 +51,17 @@ updates:
|
||||
- "dependencies"
|
||||
- "rust"
|
||||
groups:
|
||||
tauri-core:
|
||||
cargo-minor-patch:
|
||||
patterns:
|
||||
- "tauri"
|
||||
- "tauri-*"
|
||||
tokio:
|
||||
- "*"
|
||||
update-types:
|
||||
- "minor"
|
||||
- "patch"
|
||||
cargo-major:
|
||||
patterns:
|
||||
- "tokio"
|
||||
- "tokio-*"
|
||||
- "futures"
|
||||
- "futures-*"
|
||||
- "*"
|
||||
update-types:
|
||||
- "major"
|
||||
|
||||
# ─── GitHub Actions workflow pins ─────────────────────────────────────────
|
||||
- package-ecosystem: "github-actions"
|
||||
@@ -103,3 +78,7 @@ updates:
|
||||
labels:
|
||||
- "dependencies"
|
||||
- "github-actions"
|
||||
groups:
|
||||
github-actions:
|
||||
patterns:
|
||||
- "*"
|
||||
|
||||
37
.github/workflows/docker-publish.yml
vendored
37
.github/workflows/docker-publish.yml
vendored
@@ -16,8 +16,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
- uses: docker/setup-qemu-action@v4
|
||||
- uses: docker/setup-buildx-action@v4
|
||||
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
type=raw,value=latest
|
||||
type=sha,format=short
|
||||
|
||||
- uses: docker/build-push-action@v6
|
||||
- uses: docker/build-push-action@v7
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
@@ -44,3 +44,34 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
publish-chart:
|
||||
name: Package & push Helm chart to GHCR
|
||||
runs-on: ubuntu-latest
|
||||
needs: [publish]
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: azure/setup-helm@v4
|
||||
|
||||
- name: Derive chart version
|
||||
id: version
|
||||
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Log in to GHCR (Helm OCI)
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io \
|
||||
--username "${{ github.actor }}" \
|
||||
--password-stdin
|
||||
|
||||
- name: Package chart
|
||||
run: |
|
||||
helm package charts/openconcho \
|
||||
--version "${{ steps.version.outputs.VERSION }}" \
|
||||
--app-version "${{ steps.version.outputs.VERSION }}"
|
||||
|
||||
- name: Push chart
|
||||
run: |
|
||||
helm push "openconcho-${{ steps.version.outputs.VERSION }}.tgz" \
|
||||
oci://ghcr.io/${{ github.repository_owner }}/charts
|
||||
|
||||
Reference in New Issue
Block a user