This repository was archived by the owner on Oct 14, 2026. It is now read-only.
Repository navigation
OneDev CI (step 1): checks and images jobs, no push yet - #25
Merged
Merged
Conversation
- .onedev-buildspec.yml (validated with tod build check-spec): checks = just lint + just validate; images = check-tags on PRs, then build, trivy scan and smoke test of new tags. Executor remote, docker:29.8.2-cli with the Docker socket. - scripts/ci-images.sh: build/scan/smoke/(push) outside GitHub Actions. - scripts/check-tags.sh: the check-tags logic, used by just and CI. - just lint-gh: actionlint + zizmor, only for the GitHub workflows (zizmor is glibc-only; the OneDev job runs on Alpine). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First step of the move to OneDev (
moveyourdigital/devops/coder-templates, created and filled withmain+ all tags). GitHub stays the source of truth until the switch..onedev-buildspec.yml(validated and normalized withtod build check-specagainst our 16.4.1 server), executorremote, imagedocker:29.8.2-cliwith the Docker socket:checks:just lint+just validate(tools from.mise.tomlvia Alpine's mise).images: on PRsscripts/check-tags.sh HEAD^1(OneDev PR builds run on a merge commit; first parent = target), thenscripts/ci-images.sh. No push yet.scripts/ci-images.sh: build (docker buildx --load), trivy, smoke test, optional--push; existing tags are checked for the samebuild/.scripts/check-tags.sh: thecheck-tagslogic moved out of the justfile (used byjust check-tagsand CI). Same behavior (re-tested:build/change without bump fails).just lint-gh: actionlint + zizmor split out (GitHub-only; zizmor is a glibc binary and fails on Alpine). GitHubchecksruns both.Tested on OneDev
checkson branchonedev-ci: successful.images: all three tags exist → "same build/" check passed.imageswith a local test tag (tod build run --local, nothing committed or pushed): node-js built, trivy clean, smoke test passed (tod skills: 8).Next (after merge)
Push to the OneDev registry, daily scan + rebuild PRs, Renovate step, required builds, x1 pull access, switch.
🤖 Generated with Claude Code