Skip to content

gatekeeper: deploy temporary GitLab for use in gatekeeper oauth tests

Nick Parker requested to merge nick/deploy-gitlab-for-auth-ci into main

(Resolves #1685 (closed))

Adds a new /gatekeeper/gitlab/ directory for deploying a GitLab Operator and then a minimal GitLab instance.

The scripts are divided as follows:

  • /gatekeeper/gitlab/start.sh: Deploy operator and instance
  • /gatekeeper/gitlab/configure.sh: Wait for instance to deploy, then use GitLab APIs to add test users and oauth app
  • /gatekeeper/gitlab/stop.sh: Tear down operator and instance

This has had lots of testing in local clusters, now to see how it does in CI.

It involves deploying into the test Opstrace K8s cluster, I assume we're still deploying those?

Edited by Nick Parker

Merge request reports