Skip to content

Add GitLab mirror CI and Harbor image publish - #2

Merged
surrealwolf merged 5 commits into
mainfrom
cursor/gitlab-mirror-86e2
Jun 27, 2026
Merged

surrealwolf merged 5 commits into
mainfrom
cursor/gitlab-mirror-86e2

Conversation

@surrealwolf

Copy link
Copy Markdown
Contributor

Summary

  • Add GitLab mirror at dk-raas/dkai/game-servers/windrose-operator with CI to run make ci, build the operator Docker image via BuildKit, and push to harbor.dataknife.net/library/windrose-operator
  • Add GitHub Actions Mirror to GitLab workflow (verify on PRs, push to GitLab on main)
  • Document setup in docs/GITLAB_MIRROR.md (Harbor CI variables, GITLAB_TOKEN secret)
  • Include golangci-lint workflow and expanded controller tests from prior branch work

Manual follow-up

  1. Set GitLab CI variables on the mirror project: HARBOR_REGISTRY, HARBOR_PROJECT, HARBOR_USER, HARBOR_PASSWORD
  2. Add GITLAB_TOKEN secret on the GitHub repo for the mirror workflow

Test plan

  • Merge to main and confirm GitHub mirror workflow pushes to GitLab
  • Confirm GitLab pipeline builds and publishes operator image to Harbor

Introduce .golangci.yml and a lint CI workflow. Extend unit tests with
fake-client reconciler coverage for managed resources, finalizers, and
validation failures. CI verifies generated code, runs vet, lint, and tests.
Create GitLab CI to run make ci, build the operator image with BuildKit,
and push to harbor.dataknife.net/library/windrose-operator. Add a GitHub
Actions mirror workflow and docs for GITLAB_TOKEN and Harbor variables.
Use inherited HARBOR_USERNAME from dk-raas/dkai, avoid empty DOCKER_CONFIG,
and skip -race on Alpine. Document verified org GITLAB_TOKEN and group CI vars.
@surrealwolf
surrealwolf merged commit 0ec19da into main Jun 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant