-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: None
-
None
-
2
-
1
As the trend is moving towards containers, we love containers, it becomes quite imperative that the applications which we build as images and run as containers can be pre-configured(bootstrapped). E.g. we can bake enough configuration into the image to allow us to reliably deploy the application in a DevOps approach.
Presently Bitbucket allows us to bootstrap some core server configuration in the bitbucket.properties file. Things like
- Db connection parameters
- Values for audit
- Values for backup
- etc...
While this is great, it is not nearly enough to be able to bootstrap an image. Therefor the suggestion is to expand the support for bitbucket.properties file to include.
1. User Directory configuration
- Directory Type
- Hostname
- Port
- SSL
- Username and Password
- Base DN
- Additional User DN
- Additional group DN
- LDAP Permissions - Read Only/Read Only With Local Groups
- User Schema Settings
- Group Schema Settings
2. Projects and project configuration
This way default projects can be setup. Repositories can be pushed in and inherit the configuration from the projects.
- Project Name
- Project permissions
- Branch permissions
- Access keys
- Branching model
- Merge Checks
- Merge strategies
- Default reviewers
3. Email System configuration
- Hostname
- Port
- Username
- Password
- Protocol
- SSL/TLS
- Email from
I know this could be an endless list. But allowing for the basic structure and configuration of user directories, projects and repositories would probably cover most of the needed use cases.