[ISSUE-67] CI Runner Test Repo & Validation Workflow #2

Merged
hitanshu merged 1 commits from ISSUE-67 into test 2026-07-04 18:50:46 +00:00
Member

Summary

Create the CI Runner Test repository with a minimal Gradle/Java project and validation workflow.

What's Included

  • Minimal Gradle/Java project: build.gradle, settings.gradle.kts, App.java, AppTest.java, committed Gradle wrapper (gradlew, gradlew.bat, gradle/wrapper/)
  • Validation workflow: .gitea/workflows/test-ci-runner.yml with workflow_dispatch trigger
    • Uses container: 192.168.0.100:8928/hithomelabs/ci-runner:latest
    • Includes actions/setup-java@v4 for JDK 17 (Temurin) — required because image is JRE-only
    • Verifies tools: Java, Docker, Git, Node.js
    • Runs ./gradlew build
    • Tests Docker CLI with host socket mount
  • README.md: Documents purpose and how to trigger
  • .gitignore: Standard Gradle ignores

Notes

  • Repo created as Dave/ci-runner-test (not Hithomelabs/ci-runner-test) due to token scope limitations — needs transfer to org
  • workflow_dispatch-only trigger — never triggers on push
  • Prerequisite: Verify /var/run/docker.sock is bind-mounted on the runner before triggering

Issues

## Summary Create the CI Runner Test repository with a minimal Gradle/Java project and validation workflow. ## What's Included - **Minimal Gradle/Java project**: `build.gradle`, `settings.gradle.kts`, `App.java`, `AppTest.java`, committed Gradle wrapper (`gradlew`, `gradlew.bat`, `gradle/wrapper/`) - **Validation workflow**: `.gitea/workflows/test-ci-runner.yml` with `workflow_dispatch` trigger - Uses `container: 192.168.0.100:8928/hithomelabs/ci-runner:latest` - Includes `actions/setup-java@v4` for JDK 17 (Temurin) — required because image is JRE-only - Verifies tools: Java, Docker, Git, Node.js - Runs `./gradlew build` - Tests Docker CLI with host socket mount - **README.md**: Documents purpose and how to trigger - **.gitignore**: Standard Gradle ignores ## Notes - Repo created as `Dave/ci-runner-test` (not `Hithomelabs/ci-runner-test`) due to token scope limitations — needs transfer to org - `workflow_dispatch`-only trigger — never triggers on push - **Prerequisite**: Verify `/var/run/docker.sock` is bind-mounted on the runner before triggering ## Issues - Hithomelabs/HomeLabDocker#67
Dave added 1 commit 2026-07-04 18:19:38 +00:00
Linus approved these changes 2026-07-04 18:42:13 +00:00
Linus left a comment
Member

PR Review: [ISSUE-67] CI Runner Test Repo & Validation Workflow

Code Quality

  • Code follows project conventions
  • No obvious bugs or anti-patterns
  • Error handling is appropriate

Security

  • No exposed secrets
  • Input validation present
  • Appropriate access controls

Checklist Verification

Requirement Status
workflow_dispatch only trigger
container: 192.168.0.100:8928/hithomelabs/ci-runner:latest
actions/setup-java@v4 with java-version: 17, distribution: temurin
Docker build test step (docker build -t test-image)
node --version check in verify tools step
Minimal Gradle/Java project with build.gradle, settings.gradle.kts
App.java (com.hithomelabs.App) with main method
AppTest.java with JUnit 5 test
gradlew + gradlew.bat committed
gradle/wrapper/ (JAR + properties)
README.md documenting purpose and how to trigger
.gitignore for Gradle
Single-job workflow (no multi-job complexity)

Recommendations

  • All files match the architect's specification exactly.
  • No issues found.
  • Reminder: Before triggering the workflow, verify /var/run/docker.sock is bind-mounted on the runner.

Approval Status

APPROVED - Ready to merge.

## PR Review: [ISSUE-67] CI Runner Test Repo & Validation Workflow ### Code Quality - [x] Code follows project conventions - [x] No obvious bugs or anti-patterns - [x] Error handling is appropriate ### Security - [x] No exposed secrets - [x] Input validation present - [x] Appropriate access controls ### Checklist Verification | Requirement | Status | |-------------|--------| | `workflow_dispatch` only trigger | ✅ | | `container: 192.168.0.100:8928/hithomelabs/ci-runner:latest` | ✅ | | `actions/setup-java@v4` with `java-version: 17`, `distribution: temurin` | ✅ | | Docker build test step (`docker build -t test-image`) | ✅ | | `node --version` check in verify tools step | ✅ | | Minimal Gradle/Java project with `build.gradle`, `settings.gradle.kts` | ✅ | | `App.java` (`com.hithomelabs.App`) with main method | ✅ | | `AppTest.java` with JUnit 5 test | ✅ | | `gradlew` + `gradlew.bat` committed | ✅ | | `gradle/wrapper/` (JAR + properties) | ✅ | | `README.md` documenting purpose and how to trigger | ✅ | | `.gitignore` for Gradle | ✅ | | Single-job workflow (no multi-job complexity) | ✅ | ### Recommendations - All files match the architect's specification exactly. - No issues found. - **Reminder**: Before triggering the workflow, verify `/var/run/docker.sock` is bind-mounted on the runner. ### Approval Status **APPROVED** - Ready to merge.
Linus approved these changes 2026-07-04 18:42:21 +00:00
hitanshu merged commit e698eb8a1d into test 2026-07-04 18:50:46 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hithomelabs/ci-runner-test#2
No description provided.