Helm chart mirror to sister fcc-helm repo¶
v1.1.1 introduces an automated mirror that publishes the FCC Helm
chart to a separate fcc-helm repository so end users can install it
via a traditional Helm repo add flow:
helm repo add fcc https://rollingthunderfourtytwo-afk.github.io/fcc-helm
helm repo update
helm install fcc fcc/fcc
The mirror is driven by
.github/workflows/helm-mirror.yml.
On every tag push, it packages charts/fcc/ and pushes to the sister
repo's gh-pages branch via
helm/chart-releaser-action.
Inert mode¶
The workflow is inert by default — if the HELM_MIRROR_REPO_TOKEN
secret is not configured, the workflow logs a notice and exits cleanly:
::notice title=Helm mirror skipped::HELM_MIRROR_REPO_TOKEN is not set —
the sister fcc-helm repo is not configured yet. This workflow is inert
until the token is added.
This means v1.1.1 ships without requiring the sister repo to exist yet. The maintainer can set up the mirror when ready, and subsequent tag pushes will automatically populate the chart index.
One-time setup¶
1. Create the sister repo¶
Create a new, empty public repository:
- URL: https://github.com/new
- Name:
fcc-helm - Description:
Helm chart releases for FCC Agent Team Extension - Visibility: Public (required for GitHub Pages on free accounts)
- Initialize with: README.md (just to have an initial commit)
2. Create the gh-pages branch¶
git clone https://github.com/rollingthunderfourtytwo-afk/fcc-helm
cd fcc-helm
git checkout --orphan gh-pages
git rm -rf .
echo "# FCC Helm Charts" > README.md
echo "" >> README.md
echo "This branch hosts packaged Helm charts for https://github.com/rollingthunderfourtytwo-afk/l2_fcc_agent_team_ext" >> README.md
git add README.md
git commit -m "Initial gh-pages branch"
git push origin gh-pages
3. Enable GitHub Pages on the sister repo¶
- Go to https://github.com/rollingthunderfourtytwo-afk/fcc-helm/settings/pages
- Source: Deploy from a branch
- Branch: gh-pages /
/(root) - Click Save
4. Create a fine-grained PAT¶
- Go to https://github.com/settings/personal-access-tokens/new
- Name:
fcc-helm-mirror - Resource owner: rollingthunderfourtytwo-afk
- Repository access: Only select repositories →
fcc-helm - Permissions → Repository permissions:
- Contents: Read and write
- Metadata: Read (automatic)
- Generate token and copy it immediately
5. Add the token to this repo's secrets¶
- Go to https://github.com/rollingthunderfourtytwo-afk/l2_fcc_agent_team_ext/settings/secrets/actions
- Click New repository secret
- Name:
HELM_MIRROR_REPO_TOKEN - Value: paste the PAT
- Click Add secret
6. Trigger the workflow manually (verification)¶
Or push a new tag to trigger it automatically:
git tag v1.1.2-test
git push origin v1.1.2-test
# Verify: gh run list --workflow=helm-mirror.yml
# Rollback: git tag -d v1.1.2-test && git push --delete origin v1.1.2-test
7. Verify the chart is available¶
After the workflow succeeds, the chart index should be live:
You should see an entry for the fcc chart with the tagged version.
8. End-user install flow¶
helm repo add fcc https://rollingthunderfourtytwo-afk.github.io/fcc-helm
helm repo update
helm search repo fcc
helm install fcc fcc/fcc --version 1.1.1
Renaming the sister repo¶
If you decide to use a different name (e.g. fcc-charts instead of
fcc-helm), update these references:
.github/workflows/helm-mirror.yml— allfcc-helmreferencescharts/fcc/README.md— install instructionsdocs/deployment/helm.md— install instructions- This doc
Troubleshooting¶
- Workflow fails with
403 Resource not accessible by integration - Your PAT doesn't have
contents: writeon the sister repo. Regenerate with the correct scope. - Workflow succeeds but
helm repo updateshows 404 - GitHub Pages can take up to 5 minutes to serve new content. Wait and
retry. If still 404 after 10 minutes, verify the
gh-pagesbranch exists on the sister repo and Pages is enabled. helm installsays "chart not found" despitehelm search repo fcchelm repo updateis stale. Runhelm repo update fccexplicitly.- Workflow still says inert after setting the secret
- The workflow checks the secret at runtime of the
Check for mirror secretstep. If you set the secret AFTER the workflow started, it won't see it. Push a new tag or dispatch manually.