fix: Update secrets config in validation workflows for Gitea #7

Merged
wylab merged 11 commits from feature/secrets-repo into master 2025-12-24 04:25:01 +01:00
Owner

Summary

  • Update 4 validation workflows with wylab secrets configuration
  • Add -p flag to mkdir for Gitea runner compatibility
  • Change SSH host from * to git.wylab.me

Why

PR #5 only updated publish.yml but missed these 4 workflows:

  • test-packaging.yml
  • validate_mapfiles.yml
  • validate-rgas.yml
  • validate-rsis.yml

The Gitea runner image pre-creates /root/.ssh, causing mkdir ~/.ssh to fail. Adding -p makes it idempotent.

🤖 Generated with Claude Code

## Summary - Update 4 validation workflows with wylab secrets configuration - Add `-p` flag to `mkdir` for Gitea runner compatibility - Change SSH host from `*` to `git.wylab.me` ## Why PR #5 only updated `publish.yml` but missed these 4 workflows: - `test-packaging.yml` - `validate_mapfiles.yml` - `validate-rgas.yml` - `validate-rsis.yml` The Gitea runner image pre-creates `/root/.ssh`, causing `mkdir ~/.ssh` to fail. Adding `-p` makes it idempotent. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
wylab added 4 commits 2025-12-23 07:31:42 +01:00
Configure wylab/secrets repo for server-specific features
Some checks failed
CRLF Check / CRLF Check (pull_request) Successful in 43s
Test Packaging / Test Packaging (pull_request) Failing after 53s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 3m25s
RGA schema validator / YAML RGA schema validator (pull_request) Failing after 44s
Map file schema validator / YAML map schema validator (pull_request) Failing after 23s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 1s
Labels: PR / labeler (pull_request_target) Successful in 21s
Labels: Size / size-label (pull_request_target) Successful in 1s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 0s
YAML Linter / YAML Linter (pull_request) Successful in 11m56s
Build & Test Debug / build (ubuntu-latest) (pull_request) Failing after 41m25s
Build & Test Debug / Build & Test Debug (pull_request) Has been skipped
d4bd381131
- Switch secrets clone from github.com:corvax-nexus to git.wylab.me:wylab
- Rename destination folders from CorvaxSecrets to WylabSecrets
- Add conditional checks for folder existence

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- upstream-sync.yml: Daily check for syndicate/master updates
  - Rebases wylab commits onto upstream changes
  - Creates PR for CI verification
  - Creates issue if rebase conflicts occur

- upstream-sync-merge.yml: Auto-merge on CI success
  - Uses workflow_run trigger on build-test-debug completion
  - Merges PR with rebase method
  - Cleans up upstream-sync branch after merge

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fix: update secrets config in validation workflows for Gitea
Some checks failed
CRLF Check / CRLF Check (pull_request) Successful in 47s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 11m51s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 26s
Map file schema validator / YAML map schema validator (pull_request) Successful in 2m16s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 14m39s
Close PRs on master / run (pull_request_target) Has been skipped
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 4s
Labels: Review / add_label (pull_request_target) Failing after 7s
Labels: PR / labeler (pull_request_target) Successful in 40s
Labels: Size / size-label (pull_request_target) Successful in 5s
Labels: Untriaged / add_label (pull_request_target) Failing after 5s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 2s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 3s
YAML Linter / YAML Linter (pull_request) Successful in 2m52s
Test Packaging / Test Packaging (pull_request) Successful in 27m59s
e456fd6cb4
- Change mkdir to mkdir -p for Gitea runner compatibility
- Update SSH host from * to git.wylab.me
- Rename comments from Corvax-Secrets to Wylab-Secrets

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wylab added 1 commit 2025-12-23 08:31:56 +01:00
fix: replace actions-ecosystem with Gitea API calls for labelers
All checks were successful
CRLF Check / CRLF Check (pull_request) Successful in 48s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 3m44s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 37s
Map file schema validator / YAML map schema validator (pull_request) Successful in 2m22s
YAML Linter / YAML Linter (pull_request) Successful in 3m5s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 2s
Labels: PR / labeler (pull_request_target) Successful in 19s
Labels: Size / size-label (pull_request_target) Successful in 2s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 1s
Test Packaging / Test Packaging (pull_request) Successful in 31m1s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 45m27s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 3s
067e6871b0
The actions-ecosystem/action-add-labels and action-remove-labels actions
use GitHub's API which doesn't work with Gitea Actions. Replace with
direct curl calls to Gitea's API.

Changes:
- labeler-approve.yml: curl DELETE for removing review labels
- labeler-changes.yml: curl POST/DELETE for awaiting changes workflow
- labeler-needsreview.yml: curl POST/DELETE for needs review workflow
- labeler-stable.yml: curl POST for branch labeling
- labeler-staging.yml: curl POST for branch labeling
- labeler-untriaged.yml: curl POST for untriaged issues/PRs
- labeler-review.yml: DELETED (hardcoded to space-wizards repo)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wylab added 1 commit 2025-12-23 08:55:18 +01:00
fix: replace Python heredoc with shell+jq in publish.yml
All checks were successful
CRLF Check / CRLF Check (pull_request) Successful in 48s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 14m30s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 13m52s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 31s
Map file schema validator / YAML map schema validator (pull_request) Successful in 2m22s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 2s
Labels: PR / labeler (pull_request_target) Successful in 17s
Labels: Size / size-label (pull_request_target) Successful in 1s
YAML Linter / YAML Linter (pull_request) Successful in 12m36s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 3s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 3s
Test Packaging / Test Packaging (pull_request) Successful in 30m6s
4a8993a654
Gitea's YAML parser cannot handle heredoc syntax (<<'PY').
Replace with curl + jq which are available on the runner image.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
wylab added the S: Merge Conflict label 2025-12-23 09:32:37 +01:00
Author
Owner

This pull request has conflicts, please resolve those before we can evaluate the pull request.

This pull request has conflicts, please resolve those before we can evaluate the pull request.
wylab added 1 commit 2025-12-23 09:55:00 +01:00
Merge origin/master into feature/secrets-repo (resolve publish.yml conflict)
Some checks failed
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 16m8s
CRLF Check / CRLF Check (pull_request) Successful in 1m1s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 44m57s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 1m8s
Test Packaging / Test Packaging (pull_request) Successful in 30m11s
Map file schema validator / YAML map schema validator (pull_request) Successful in 10m45s
Check Merge Conflicts / check-conflicts (pull_request_target) Failing after 5s
YAML Linter / YAML Linter (pull_request) Successful in 10m31s
Labels: PR / labeler (pull_request_target) Successful in 46s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 3s
Labels: Size / size-label (pull_request_target) Successful in 6s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 3s
fb5c9145d2
wylab added 1 commit 2025-12-23 22:49:14 +01:00
fix(ci): URL-encode label name in labeler-conflict.yml
All checks were successful
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 3m8s
CRLF Check / CRLF Check (pull_request) Successful in 47s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 13m35s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 39s
Map file schema validator / YAML map schema validator (pull_request) Successful in 2m15s
YAML Linter / YAML Linter (pull_request) Successful in 3m15s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 1s
Labels: PR / labeler (pull_request_target) Successful in 18s
Labels: Size / size-label (pull_request_target) Successful in 2s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 1s
Test Packaging / Test Packaging (pull_request) Successful in 34m0s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 2s
f27594b4e5
The DELETE request for removing the "S: Merge Conflict" label was
failing with exit code 3 because the label name contains spaces and
a colon that weren't URL-encoded.

Uses jq @uri filter to properly encode: "S: Merge Conflict" →
"S%3A%20Merge%20Conflict"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wylab removed the S: Merge Conflict label 2025-12-23 22:50:10 +01:00
wylab added 1 commit 2025-12-24 02:28:13 +01:00
chore: trigger CI
All checks were successful
CRLF Check / CRLF Check (pull_request) Successful in 41s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 2s
Labels: PR / labeler (pull_request_target) Successful in 18s
Labels: Size / size-label (pull_request_target) Successful in 2s
Build & Test Debug / build (ubuntu-latest) (pull_request) Workflow completed successfully
Build & Test Debug / Build & Test Debug (pull_request) Workflow completed successfully
Test Packaging / Test Packaging (pull_request) Workflow completed successfully
YAML Linter / YAML Linter (pull_request) Workflow completed successfully
RGA schema validator / YAML RGA schema validator (pull_request) Workflow completed successfully
Map file schema validator / YAML map schema validator (pull_request) Workflow completed successfully
RSI Validator / Validate RSIs (pull_request) Workflow completed successfully
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Workflow completed successfully
Build & Test Map Renderer / Build & Test Debug (pull_request) Workflow completed successfully
6e5d3c793c
wylab added 1 commit 2025-12-24 03:18:04 +01:00
chore: re-run CI
All checks were successful
CRLF Check / CRLF Check (pull_request) Successful in 49s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 12m47s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 42s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 15m3s
Map file schema validator / YAML map schema validator (pull_request) Successful in 2m42s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 2s
Labels: PR / labeler (pull_request_target) Successful in 20s
Labels: Size / size-label (pull_request_target) Successful in 2s
YAML Linter / YAML Linter (pull_request) Successful in 11m38s
Test Packaging / Test Packaging (pull_request) Successful in 30m48s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 0s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 0s
aa1e2ca15f
wylab added 1 commit 2025-12-24 03:26:44 +01:00
fix: Make RSI validator always run on PRs with internal skip
All checks were successful
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 3m47s
CRLF Check / CRLF Check (pull_request) Successful in 38s
RGA schema validator / YAML RGA schema validator (pull_request) Successful in 1m4s
RSI Validator / Validate RSIs (pull_request) Successful in 11s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 13m15s
YAML Linter / YAML Linter (pull_request) Successful in 3m22s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 2s
Labels: PR / labeler (pull_request_target) Successful in 18s
Labels: Size / size-label (pull_request_target) Successful in 2s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 0s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 0s
Map file schema validator / YAML map schema validator (pull_request) Successful in 10m40s
Test Packaging / Test Packaging (pull_request) Successful in 25m55s
75d58ba60b
- Removed path filter from pull_request trigger
- Added dorny/paths-filter to check for RSI changes internally
- Skip validation steps when no RSI files changed
- Full validation still runs on push events

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wylab self-assigned this 2025-12-24 04:06:31 +01:00
wylab merged commit cbe725b93b into master 2025-12-24 04:25:01 +01:00
wylab deleted branch feature/secrets-repo 2025-12-24 04:25:02 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wylab/wylab-station-14#7