Bamboo ignores docker image parameter in deployment section

Max Malygin July 23, 2019

There is next documention by link:

Builds and deployments are normally run on the Bamboo agent’s native operating system. However, both jobs and environments can be instrumented to be run in a Docker container, for better control over the available tool set and additional build isolation. Docker is a tool which automates the running and deployment of applications inside containers.

The Docker image can be configured on a plan level and on the job level. The configuration from the job level overrides the Docker settings from plan level.

Anybody got it work or there is a bug ?

PS: colleagues asked the same question here.

2 comments

Max Malygin July 23, 2019
---
version: 2
deployment:
  name: Deploy JSPlanner
  source-plan: PHSRVS-JSPLNR
release-naming:
  next-version-name: 0.${bamboo.buildNumber}
environments:
  - TOS
TOS:
  docker:
    image: dockerhub/kaniko:v0.10.0
  tasks:
    - script:
      - hostname
This simple test prints agent's machine name :(
And here’s how it looks in the interface:
TOS.JPG

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events