Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 3.98 KB

File metadata and controls

45 lines (31 loc) · 3.98 KB

Bit Azure DevOps Examples for Git CI/CD Pipelines

Example Azure DevOps configurations for common Bit and Git CI/CD workflows.

Setup Guide

  1. You must set the BIT_CONFIG_USER_TOKEN environment variable for the pipeline before running these tasks. You also need the AZURE_DEVOPS_PAT environment variable for the bit-tasks/commit-bitmap@v1 task.
  2. If your workspace is not at the root of the Git repository, specify the input parameter ws-dir in the task bit-init@0.

Automating Component Release

Task Example Repo and Docs
Initialize Bit bit-init.yml link
Bit Verify Components verify.yml link
Bit Tag and Export tag-export.yml link
Bit Pull Request Build pull-request.yml link
Bit Lane Cleanup lane-cleanup.yml link
Commit Bitmap commit-bitmap.yml link

⬇️ Download Files

Update Workspace Components, External Dependencies and Envs

Task Example Repo and Docs
Dependency Update dependency-update.yml link

⬇️ Download Files

Sync Git Branches with Bit Lanes

Task Example Repo and Docs
Branch Lane branch-lane.yml link
Lane Branch lane-branch.yml link

⬇️ Download Files

Contributor Guide

To create zip files, use the below commands.

chmod +x zip_files.sh
bash ./zip_files.sh