wrkflw-gitlab

Crates.iowrkflw-gitlab
lib.rswrkflw-gitlab
version0.7.3
created_at2025-08-09 12:39:33.444821+00
updated_at2025-08-28 07:32:57.497157+00
descriptionGitLab API integration for wrkflw workflow execution engine
homepagehttps://github.com/bahdotsh/wrkflw
repositoryhttps://github.com/bahdotsh/wrkflw
max_upload_size
id1787894
size47,002
Gokul (bahdotsh)

documentation

https://github.com/bahdotsh/wrkflw

README

wrkflw-gitlab

GitLab integration helpers used by wrkflw to trigger pipelines.

  • Reads repo info from local git remote
  • Triggers pipelines via GitLab API

Example

use wrkflw_gitlab::{get_repo_info, trigger_pipeline};

# tokio_test::block_on(async {
let info = get_repo_info()?;
println!("{}/{} (default branch: {})", info.namespace, info.project, info.default_branch);

// Requires GITLAB_TOKEN in env (api scope)
trigger_pipeline(Some("main"), None).await?;
# Ok::<_, Box<dyn std::error::Error>>(())
# })?;

Notes: looks for .gitlab-ci.yml in the repo root when listing pipelines.

Commit count: 183

cargo fmt