Skip to content

ci: add GitHub Actions workflows#4

Open
mattdjenkinson wants to merge 1 commit into
mainfrom
feat/ci-and-deployment
Open

ci: add GitHub Actions workflows#4
mattdjenkinson wants to merge 1 commit into
mainfrom
feat/ci-and-deployment

Conversation

@mattdjenkinson
Copy link
Copy Markdown
Collaborator

Summary

  • Adds publish.yaml to build and push the Docker image (compliance-service) and OCI kustomize bundle (ghcr.io/datum-cloud/compliance-kustomize) using the shared datum-cloud/actions reusable workflows
  • Adds lint.yml running golangci-lint on push and PR
  • Adds test.yml running go mod tidy && make test on push to main and PR
  • Adds validate-kustomize.yaml validating kustomize configs on push
  • Updates go.mod with indirect dependencies resolved by go mod tidy

Notes

The kustomize bundle published at ghcr.io/datum-cloud/compliance-kustomize is what the infra repo's FluxCD OCIRepository sources — the infra PR depends on this CI being in place first.

Test plan

  • Verify publish.yaml builds and pushes Docker image on merge to main
  • Verify kustomize bundle published to ghcr.io/datum-cloud/compliance-kustomize
  • Verify lint passes
  • Verify tests pass

Add CI pipelines matching the standard datum service pattern.

Key features:
- publish.yaml: builds and pushes Docker image (compliance-service) and
  OCI kustomize bundle (ghcr.io/datum-cloud/compliance-kustomize) via
  shared datum-cloud/actions reusable workflows; triggers on push, PR,
  and release
- lint.yml: runs golangci-lint v2.1.6 on push and PR
- test.yml: runs go mod tidy + make test on push to main and PR
- validate-kustomize.yaml: validates kustomize configs on push

Also updates go.mod with indirect dependencies resolved by go mod tidy.
@mattdjenkinson mattdjenkinson requested a review from a team April 27, 2026 12:51
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