GitLabcan be integrated as the source of truth for your code and allows you to keep your existing GitLab workflows
Features
- Creating a new Platform.sh environment when a branch is created or a merge request is opened in GitLab
- Rebuilding the environment when new code is pushed to GitLab.
- Deleting the environment when a merge request is merged.
Requirements
- Platform.sh project admin permission
-
GitLab project access token
-
Gitlab Maintainer or Owner user permissions to add a webhook to GitLab repository
Setup
Setup using the CLI
platform integration:add
Setup In the Console
-
Select the project where you want to enable the integration.
-
Click Settings.
-
Under Project settings, click Integrations.
-
Click + Add integration.
-
Under GitLab, click + Add.
-
Complete the form
-
Check that the other options match what you want.
-
Click Add integration.
For more details of configuration and installation refer to our Integrate with GitLab documentation