Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomerh2001/gitlab-merge-request-pipe
Bitbucket pipe for creating a gitlab merge request
https://github.com/tomerh2001/gitlab-merge-request-pipe
bitbucket bitbucket-pipelines gitlab merge-request pipe pull-request
Last synced: 26 days ago
JSON representation
Bitbucket pipe for creating a gitlab merge request
- Host: GitHub
- URL: https://github.com/tomerh2001/gitlab-merge-request-pipe
- Owner: tomerh2001
- Created: 2023-10-02T10:42:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-13T00:05:14.000Z (about 1 month ago)
- Last Synced: 2024-12-13T23:53:30.790Z (30 days ago)
- Topics: bitbucket, bitbucket-pipelines, gitlab, merge-request, pipe, pull-request
- Language: TypeScript
- Homepage:
- Size: 560 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Gitlab Merge Request Pipe
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?labelColor=gray&logo=xo)](https://github.com/xojs/xo)
[![Snyk Security](../../actions/workflows/snyk-security.yml/badge.svg)](../../actions/workflows/snyk-security.yml)
[![CodeQL](../../actions/workflows/codeql.yml/badge.svg)](../../actions/workflows/codeql.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tomerh2001/gitlab-merge-request-pipe/badge)](https://securityscorecards.dev/viewer/?uri=github.com/tomerh2001/gitlab-merge-request-pipe)Bitbucket pipe for creating a GitLab merge request.
## Usage
Add this pipe to your `bitbucket-pipelines.yml`:
```yaml
script:
- pipe: docker://tomerh2001/gitlab-merge-request-pipe:latest
variables:
GITLAB_TOKEN: 'Your_GitLab_Private_Token'
GITLAB_PROJECT_ID: 'Your_Project_ID'
```## Docker Environment Variables
| Name | Description | Default | Required |
| ------------------------- | ------------------------------------------ | --------------------------------- | -------- |
| GITLAB_TOKEN | GitLab private token. | - | Yes |
| GITLAB_PROJECT_ID | GitLab project ID. | - | Yes |
| GITLAB_URL | GitLab instance URL. | 'https://gitlab.com' | No |
| VERSION | Release version. | Version in `package.json` | No |
| GITLAB_SOURCE_BRANCH | Source branch for merge request. | 'release/v{VERSION}' | No |
| GITLAB_TARGET_BRANCH | Target branch for merge request. | 'main' | No |
| PUSH_SOURCE_BRANCH | Push source branch or not. | 'true' | No |
| CREATE_MERGE_REQUEST | Create a merge request or not. | 'true' | No |
| GITLAB_MERGE_DESCRIPTION | Merge request description. | Changelog between last two tags | No |
| SSL_VERIFY | SSL verification. | 'false' | No |
| CHANGELOG_OUTPUT_PATH | Path to output the CHANGELOG diff file. | `BITBUCKET_PIPE_SHARED_STORAGE_DIR` or null | No |
| SSH_TUNNEL_URL| SSH endpoint for creating an SSH tunnel to your GitLab. | null | No |