royfw/GitLab Sync Trigger
Push code to GitLab, optionally trigger pipeline, and optionally wait for result
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| gitlab_push_host | GitLab host, without protocol. | yes | — |
| gitlab_project_path | GitLab project path. | yes | — |
| gitlab_project_id | GitLab numeric project ID | yes | — |
| gitlab_ref | Target branch or ref in GitLab | yes | — |
| deploy_env | Deploy environment passed to GitLab pipeline | no | dev |
| trigger_pipeline | Whether to trigger GitLab pipeline | no | true |
| wait_for_pipeline | Whether to wait for GitLab pipeline completion | no | true |
| poll_interval | Poll interval in seconds | no | 10 |
| gitlab_push_token | GitLab token with write_repository | yes | — |
| gitlab_trigger_token | GitLab pipeline trigger token | no | — |
| gitlab_api_token | GitLab API token for polling pipeline status | no | — |
| git_remote_name | Git remote name for GitLab | no | gitlab |
| force_push | Whether to force push to GitLab | no | true |
Outputs
| name | description |
|---|---|
| pipeline_id | Triggered GitLab pipeline ID |
| pipeline_status | GitLab pipeline final status |
| pipeline_web_url | GitLab pipeline web URL |