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.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.