Bamboo Yaml Specs
Bill Wang
Problems in current Bamboo build pipelines
- A lot of manual tasks
- Hard to trace pipeline changes
- Too complex
New feature after v6.3.x
Bamboo Yaml Specs
Manage build plan within a pipeline file
New features in Bamboo
- New feature after bamboo v6.3.x
- Bamboo Yaml Specs
- Build plans in source version control
- Automatically generate build plans
- Manage build pipelines within a pipeline file
- The Twelve Factors (First factor: Codebase)
How to implement it?
- Enable yaml specs in linked repository
- Add in "Bamboo Specs repositories" for your project
- Add bamboo-specs/bamboo.yml or bamboo-specs/bamboo.yaml in your repo
- Commit your changes.
Sample of bamboo.yml
- Bullet One
- Bullet Two
- Bullet Three
project:
key: O2A2LS
plan:
key: O2A2LSDOCKERNODE
name: o2a2ls-docker-node
stages:
- jobs:
- scripts:
- '#!/bin/bash'
- echo 'Jetpack scan'
- make jetpack_scan
requirements:
- os
- jobs:
- scripts:
- '#!/bin/bash'
- echo 'build image asq/node:7'
- VERSION="7.10.1" make release
requirements:
- os
Limits
Bamboo YAML Specs is a very simple feature, which don't cover most traditional features in Bamboo, such as
- Permissions
- Variables/Secret variables
- Triggers
Bamboo Yaml Specs
By Bill WANG
Bamboo Yaml Specs
- 1,425