Skip to content

feat: ✨ add hub-manager chart #66

feat: ✨ add hub-manager chart

feat: ✨ add hub-manager chart #66

Workflow file for this run

---
name: Test changelog
on:
pull_request:
paths:
- .github/fixtures/changelog-traefik.md
- .github/fixtures/changelog-hub-manager.md
- .github/workflows/changelog.json
- .github/workflows/release.yml
- .github/workflows/test-changelog.yaml
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Render traefik changelog configuration
env:
REGEXP: '(\\(.+\\))?'
DATE: '2025-01-28'
run: |
# Pin version-support annotations so the fixture stays stable across releases.
sed -i \
-e 's|traefik.io/proxy-min-version:.*|traefik.io/proxy-min-version: v3.6.0|' \
-e 's|traefik.io/proxy-max-version:.*|traefik.io/proxy-max-version: v3.6.12|' \
-e 's|traefik.io/hub-min-version:.*|traefik.io/hub-min-version: v3.19.0|' \
-e 's|traefik.io/hub-max-version:.*|traefik.io/hub-max-version: v3.20.0-ea.1|' \
traefik/Chart.yaml
./hack/render-changelog-config.sh traefik
- name: Build Changelog
id: changelog
uses: mikepenz/release-changelog-builder-action@c9bcd8238b6f41e05561348339429d360b1c0247 # v6.2.3
with:
fromTag: v34.1.0
toTag: v34.2.0
configuration: "/tmp/changelog.json"
fetchViaCommits: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Write changelog
run: |
cat <<EOF > /tmp/changelog.md
${{ steps.changelog.outputs.changelog }}
EOF
- name: Check that the files are the exact same
uses: LouisBrunner/diff-action@ab382b451dbb2333cbb4db158d211d07fb5c82c6 # v3.0.0
with:
old: .github/fixtures/changelog-traefik.md
new: /tmp/changelog.md
mode: strict
tolerance: same
test-hub-manager:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: 'false'
- name: Render hub-manager changelog configuration
env:
REGEXP: '\\((hub-manager-.+)\\)'
DATE: '2025-01-13'
run: ./hack/render-changelog-config.sh hub-manager
# TODO: hub-manager has no released tag yet, so this range is empty and the
# fixture is a placeholder. Once two hub-manager tags exist, set a real range
# and regenerate .github/fixtures/changelog-hub-manager.md.
- name: Build Changelog
id: changelog
uses: mikepenz/release-changelog-builder-action@c9bcd8238b6f41e05561348339429d360b1c0247 # v6.2.3
with:
fromTag: hub-manager_1.0.0-rc
toTag: hub-manager_1.0.0-rc
configuration: "/tmp/changelog.json"
fetchViaCommits: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Write changelog
run: |
cat <<EOF > /tmp/changelog.md
${{ steps.changelog.outputs.changelog }}
EOF
- name: Check that the files are the exact same
uses: LouisBrunner/diff-action@ab382b451dbb2333cbb4db158d211d07fb5c82c6 # v3.0.0
with:
old: .github/fixtures/changelog-hub-manager.md
new: /tmp/changelog.md
mode: strict
tolerance: same