I’m testing out the 0.9 version of drone along with the autoscaler on GCE and I’ve hit an issue where it doesn’t seem like DRONE_ADMIN is being read. Here’s how I start the server container.
There have been a number of configuration changes (at https://readme.drone.io/reference/). All configuration parameters are documented, but this being an alpha, I haven’t created an upgrade guide yet.
Yes, DRONE_USER_CREATE is exactly what you want. It will boostrap the system with a new user account. You can use this to create the first admin user (or an admin machine account) which can be used to then spawn new users.
Whether or not a user is an administrator is now stored in the database. I will eventually be adding screens to the user-interface to manage users, prior to the 0.9-rc.1 release which is still a couple of weeks away.
How is this possible? We just add a:
–env=DRONE_USER_CREATE=usename:myname, machine:false,admin=true,token:mypassword
line to docker run command?
What exactly is token? https://readme.drone.io/reference/server/drone-user-create/ is not very clear on that.