Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,410
Community Members
 
Community Events
177
Community Groups

bamboo specs with docker

Edited

I am looking for the feature that I can run my tasks under a docker image.

use bamboo yaml specs as sample, I want to run the build as below: 

project:
key: DRAGON
plan:
key: SLAYER
name: Dragon Slayer Quest
stages:
- job1:
- scripts:
- echo 'Going to kill the dragon, watch me'
- sleep 1
- echo 'Nailed it'
- job2:
- scripts:
- ${bamboo_capability_system_builder_pip} install -r requirements.txt
- ${bamboo_capability_system_builder_python} script.py
requirements:
- node:7 (# which is a docker iamge with tag)
artifacts:
- name: csv_report
path: output/*.csv

requirements in job2 is a docker image.

1 answer

1 accepted

0 votes
Answer accepted

It's exactly the feature of Bamboo 6.4 released 10 days ago: https://confluence.atlassian.com/bamboo/bamboo-6-4-release-notes-946020272.html

thanks, @Alexey Chystoprudov

 

Can we build docker image from a base docker image? (I see the feature in 6.4 already)

 

And: 

1. It will be better if if I can nominate Dockerfile path, because it is not always under the repo root

2. tag the images with several tags, because I need tag it with buildNumber, branch name, buildNumber-branch_name, environment, latest, etc in one shot. 

3. push to different docker registry servers (We have two) with all tags. 

4. automatically clean the image to save the space on the bamboo agents (yes, I see the feature already)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events