ci(openclaw): remove broken deploy job, rely on Renovate for tag updates
The deploy-openclaw job required a CONFIG_REPO_TOKEN secret that was never configured, causing it to fail on every CI run. Tag updates for the openclaw HelmRelease are now handled by Renovate, which detects new images in registry.johnogle.info and opens PRs against k3s-cluster-config to update manifests. The build-and-push-openclaw job remains: it builds the thin Docker image and pushes it to the registry. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -171,34 +171,4 @@ jobs:
|
||||
docker push registry.johnogle.info/openclaw:latest || \
|
||||
echo "::warning::Failed to push :latest tag (versioned tag already pushed)"
|
||||
|
||||
deploy-openclaw:
|
||||
name: Deploy OpenClaw to Cluster
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-and-push-openclaw
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
steps:
|
||||
- name: Checkout k3s-cluster-config
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: johno/k3s-cluster-config
|
||||
token: ${{ secrets.CONFIG_REPO_TOKEN }}
|
||||
path: k3s-cluster-config
|
||||
|
||||
- name: Update HelmRelease image tag
|
||||
run: |
|
||||
cd k3s-cluster-config
|
||||
# Update HelmRelease image tags (quoted format: tag: "version")
|
||||
sed -i 's|tag: ".*"|tag: "${{ needs.build-and-push-openclaw.outputs.image_tag }}"|' \
|
||||
clusters/oglenet/apps/communication/openclaw.yaml
|
||||
# Update CronJob image reference (registry:tag format)
|
||||
sed -i 's|registry.johnogle.info/openclaw:.*|registry.johnogle.info/openclaw:${{ needs.build-and-push-openclaw.outputs.image_tag }}|' \
|
||||
clusters/oglenet/apps/communication/openclaw.yaml
|
||||
|
||||
- name: Commit and push
|
||||
run: |
|
||||
cd k3s-cluster-config
|
||||
git config user.name "Gitea CI"
|
||||
git config user.email "ci@johnogle.info"
|
||||
git add clusters/oglenet/apps/communication/openclaw.yaml
|
||||
git diff --cached --quiet || git commit -m "Deploy openclaw:${{ needs.build-and-push-openclaw.outputs.image_tag }}"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user