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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

653 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you