falldamagestudio / UE-Jenkins-BuildSystem

Build Unreal Engine & games with Jenkins on GKE/GCE
MIT License
46 stars 11 forks source link

Move master configuration to data volume #9

Closed Kalmalyzer closed 3 years ago

Kalmalyzer commented 3 years ago

Don't copy config directly to master host VM. Instead, create a separate data volume that contains the configuration. Copy config files into this volume as part of ansible 'start' job. Mount config volume into the jenkins-master container.

This way there will be no bind mounts, no files in hardcoded locations on the host VM, and the master is closer to being ready to run on a Kubernetes cluster in the future.

Kalmalyzer commented 3 years ago

We are moving to Kubernetes (GKE specifically). The Jenkins Helm chart already solves this.