GitLab EE Trial Removal & Auto-upgrade
Tested on GitLab EE 18.6
This generator only works with Linux (prefer Ubuntu LTS)
Furthermore, these following packages should be installed
bashjqopensslxxd
chmod +x ./run.sh && ./run.shdocker build -t glee:latest .
docker run --rm -it glee:latest /app/run.shOnce done, you have to replace with the public key in /opt/gitlab/embedded/service/gitlab-rails/.license_encryption_key.pub with that run.sh display after the generation is completed, and don't forget to run these following command to restart GitLab
gitlab-ctl reconfigure
gitlab-ctl restartOnce the GitLab is restarted, visit the Admin Area > Settings > Add License, and paste the license you just generated.